Dear friends,
i have something strange. I am trying to make a switch decision with an Global JSON Object and JSONata condition. Problem is that in test zone resolves well but at execution time are not working as expected.
Global "presencia" variable is:
{"abraham":"Casa","hellem":"Casa"}
Test Flow is:
[{"id":"c82ac7b3.f78e58","type":"tab","label":"TEST_ZONE","disabled":false,"info":""},{"id":"d92b3715.f42e58","type":"comment","z":"c82ac7b3.f78e58","name":"Control Deslumbrar Salón","info":"","x":330,"y":340,"wires":[]},{"id":"3dc69f34.17b28","type":"switch","z":"c82ac7b3.f78e58","name":"Presencia En Casa","property":"presencia","propertyType":"global","rules":[{"t":"jsonata_exp","v":"abraham = \"Casa\" or hellem = \"Casa\"","vt":"jsonata"}],"checkall":"true","repair":false,"outputs":1,"x":490,"y":480,"wires":[["61908026.c932a"]]},{"id":"ebd16dfc.39067","type":"inject","z":"c82ac7b3.f78e58","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":240,"y":480,"wires":[["3dc69f34.17b28"]]},{"id":"61908026.c932a","type":"debug","z":"c82ac7b3.f78e58","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":740,"y":500,"wires":[\*]}]
What's wrong?
Best Regards