In the set node I can get this expression for getting the “state” parameter on the json like this:
{{$node[“Extract API Results”].json[“state”]}}
But I need to get only a specific ‘state’ of the 3 possibilities.
You guys think it’s possible to do this on the expression?
Are you saying you just want to get the state of 3 results and ignore the rest?
If so, I believe you will need to set some sort of filter using the IF node or the Switch node.
2 Likes
Inside the json I have something like “state: active” or “state: inactive” and another possibility inside the key state. So I need to get only the “active” result for count it.
It really work and helped me a lot!!
Thank you so much.
2 Likes
system
Closed
July 11, 2023, 2:19pm
8
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.