Evaluate json for attribute
Hello,
I would like to implement this logic on nifi:
I have a json array:
[
{
"att1": "1",
"att2": "aaa"
},
{
"att1": "2",
"att2": "bbb"
},
{
"att1": "3",
"att2": "aaa"
},
]
I would like that, according to the attribute, the json was processed to the processA or to the processB.
For example, if att2 is equal "aaa", it was processed to the processA, else it was processed to the processB.
I tried to follow the suggestion of the following solution
but it didn't work. Can you give me an alternative?
Thank you.


