Where “Set2” does the real job, because it ends using the value that obtains from the TRUE statement. In Set2 node I ended using this expression to achieve that:
Thank you for your suggestion @Shirobachi ! This seemed a pretty straightworward solution because it doesn’t require any IF node, but… unfortunately it didn’t worked at the end.
The condition doesn’t worked when I applied the expression to the whole raw query (including all the values, not just a specific key).
For example; the output of “$json[“query”]” is something like this:
parameter1=QWE¶meter2=RTY¶meter3=OOF
So if in this full query it contains “OOF”, I need to set “variable1” to “FOO”; but for some reason this doesn’t work when the full query is read.
Note: I need to check the FULL raw query (including keys and values) because the keys are in different orders/id’s/names each time.
I am very interested to make this work and to know further about your suggested solution, because it seems pretty straightforward. Any additional information will be appreciated. Thanks!