You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "Mark Payne (JIRA)" <ji...@apache.org> on 2016/07/01 14:09:11 UTC

[jira] [Updated] (NIFI-2161) Add option to EvaluateJsonPath to skip adding attributes if the path does not match.

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

Mark Payne updated NIFI-2161:
-----------------------------
    Fix Version/s: 1.0.0

> Add option to EvaluateJsonPath to skip adding attributes if the path does not match.
> ------------------------------------------------------------------------------------
>
>                 Key: NIFI-2161
>                 URL: https://issues.apache.org/jira/browse/NIFI-2161
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Extensions
>            Reporter: Mark Payne
>             Fix For: 1.0.0
>
>
> Currently, if one of the paths configured for EvaluateJsonPath does not match, the "Null Value Representation" property provides two options - "empty string" and "the string 'null'". Unfortunately, if the goal is to check whether or not the path is present, neither of these options provides a very concise and accurate way of determining whether or not the path actually matched the JSON.
> We should add a third option for this property: "Skip Attribute". This value would be valid only if the "Destination" property is set to "flowfile-attribute". In this case, if the path does not match, the attribute will not even be added.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)