[
https://issues.apache.org/jira/browse/NIFI-1927?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16442995#comment-16442995
]
Joseph Percivall commented on NIFI-1927:
----------------------------------------
Actually [~mattyb149] I don't think it covers all the use-cases. It is a great
start but not encompassing of this ticket.
This can be understood by looking at how property values get evaluated and all
the overloaded options. NIFI-4149 covers the basic case of FlowFile or not[1]
but does not cover the other all the other case[2]. Specifically, things like
the processor passing its own variables (like RouteOnAttribute[3]), exposing
stateful variables[4], or any decorators.
[1]
[https://github.com/apache/nifi/blob/master/nifi-commons/nifi-expression-language/src/main/java/org/apache/nifi/attribute/expression/language/StandardPropertyValue.java#L137]
[2]
[https://github.com/apache/nifi/blob/master/nifi-commons/nifi-expression-language/src/main/java/org/apache/nifi/attribute/expression/language/StandardPropertyValue.java#L153]
[3]
[https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/RouteText.java#L129]
[4]
[https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-update-attribute-bundle/nifi-update-attribute-processor/src/main/java/org/apache/nifi/processors/attributes/UpdateAttribute.java#L171]
> Improve documentation of property's ability to use Expression Languages
> -----------------------------------------------------------------------
>
> Key: NIFI-1927
> URL: https://issues.apache.org/jira/browse/NIFI-1927
> Project: Apache NiFi
> Issue Type: Improvement
> Reporter: Joseph Percivall
> Priority: Major
>
> Currently in the documentation for properties there is a simple true/false on
> whether or not Expression Language(EL) is supported for that property. This
> trivializes the extent of EL and for some hides some functionality. There are
> multiple different options when deciding to evaluate EL, the most relevant to
> the user are: whether or not a FlowFile is used and if there are any extra
> key/value pairs exposed.
> The documentation should be explicit so that the user knows what will get
> evaluated and what is exposed.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)