Search code examples
apache-nifi

Apache Nifi custom attribute fails to evaluate in RouteOnAttribute


I am trying to create an attribute using data content from InvokeHttp, then EvaluateJson, and UpdateAttribute. Based on a condition, the navigation should switch using RouteOnAttribute, but it doesn't seem to be working. I have attached a sample flow reference. Please let me know if you need any additional information.

Attaching screenshots of the flow: enter image description here enter image description here enter image description here enter image description here


Solution

  • As suggested by @tonykoval, it seems to be working with new attribute var is_empty here is the attached screenshots of the flow. enter image description here enter image description here enter image description here