Hello
i got a string and insyde i will have some keyword, if they come the packet have to be dropped. And important both keyword have to be in this string to drop
"UNKNOWN" and "Not confirmed"
i would like to use the Switch Node so a rule would be if fit both drop (empty output) else the packet will go to the next node to prozess.
[{"id":"6e1dd3f1.f0e5cc","type":"switch","z":"788a1dca.e79704","name":"\"CRC ERROR\"","property":"payload","propertyType":"msg","rules":[{"t":"cont","v":"\"UNKNOWN\" and \"Not confirmed\"","vt":"msg"},{"t":"else"}],"checkall":"true","repair":false,"outputs":2,"x":180,"y":3120,"wires":[["971290e7.87919"],["94716062.98783","b5c6905.95db87"]]}]
what i have no is not working like this. ;-(
have a nice day
vinc