Mark Payne created NIFI-2161:
--------------------------------
Summary: 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
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)