Hi! I’ve a JSON string and I want to search for specific words in a condition.
So instead of creating new condition for every word I stored all the words in a text helper.
And then as a condition use {{trigger.payload_json["msg_text"] in regex_search(input_text.acars_alert_strings) }}
Could it be my text helper? It contains just words like this: COP POLICE CHOP TURBULENCE TURB FAULT DIVERT MASK AGENT MEDICAL SECURITY MAYDAY EMERGENCY RED WOMIT VATTEN PAX CABIN LIGHT FLASH BANG CLOGGED STORM LOUD WAITING TRANSIT MOTOR LOOSE TANK ERROR STRANGE STATE ADVICE PLS BIRD ALIEN BROKE