Support Questions

Find answers, ask questions, and share your expertise

Who agreed with this solution

Super Mentor



NiFi Expression Language (NEL) [1] does not read content of the FlowFile.  The RouteOnAttribute processor never looks at the content of a FlowFile. So verify your source FlowFile has attributes set with valid numeric only values.

So your inbound FlowFile would need to have two attributes on it already:
1. cont


Note: NiFi is case sensitive as well.

And both these attributes need to have assigned values to them.
The NEL statement you have will return the value assigned to the FlowFile attribute "cont" and check to see if it is less than the value assigned to the FlowFile attribute "CONTADOR".    If that resolves to "True", the FlowFile will be routed to the connection containing the new dynamically created "CONTINUE" relationship. Otherwise, it will route to the "unmatched" relationship which you appear to have auto-terminated.



If you found this addressed your query, please take a moment to login and click accept on this solution.
Thank you,


View solution in original post

Who agreed with this solution