You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Daniel Stieglitz (Jira)" <ji...@apache.org> on 2025/06/24 19:39:00 UTC

[jira] [Updated] (NIFI-14687) New processor to modify flow file content in JSON format

     [ https://issues.apache.org/jira/browse/NIFI-14687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Stieglitz updated NIFI-14687:
------------------------------------
    Summary: New processor to modify flow file content in JSON format  (was: New processor to modify frow file content in JSON format)

> New processor to modify flow file content in JSON format
> --------------------------------------------------------
>
>                 Key: NIFI-14687
>                 URL: https://issues.apache.org/jira/browse/NIFI-14687
>             Project: Apache NiFi
>          Issue Type: Wish
>          Components: Extensions
>    Affects Versions: 2.4.0
>            Reporter: Oleksandr Shpak
>            Priority: Trivial
>             Fix For: 2.4.0
>
>
> h2. Use case
> In case when user need to modify JSON flow file content and set the new values of some keys using attribute values, currently it's possible with external scripts or complex schemas only.
> Example. NiFi calls external API, get the result in JSON format. Then calls another API endpoint to get the recent object status. After that the recent status should be set to the specific key (by path) in the original response.
> h2. Processor requirements
>  * Processor should modify JSON content only
>  * User can define one or more attribute names which values will be used to update the flow file content
>  * For every attribute name user should set the path in JSONPath format
>  * Processor should accept the next additional parameter:
>  ** Processing behavior:
>  *** Ignore empty or unset attribute values.
>  *** Assign null value if attribute value is empty or not set



--
This message was sent by Atlassian Jira
(v8.20.10#820010)