I have noticed that if I put an if statement in a node, the output of the first node is changed to whatever the if statement is evaluating against. For example, if I have a set node and just put the value of 50 in (Set Test in the shared flow). Then I do another node after that (If Statement in the flow) and have it evaluate if Test = 1 then it will always evaluate to true but should be false because 50 doesn’t equal 1. I can change the values to anything and it will evaluate incorrectly.
Yeah, I’m not sure that’s supposed to happen.
If you open the IF node, then go back and open the Edit Field node, the Edit Field node field “Test” is now set to 1 instead of 50.
It does look like I had the formula wrong. Instead of {{ $if($json.Test = 1,“Is 1”,“Is Not 1”) }} it should have had {{ $if($json.Test == 1,“Is 1”,“Is Not 1”) }} (a double equal sign). But it is still weird when you go back to the original node it displays 1 instead of 50.