I want to check if there is certain string like "rad" or "radiological" or " images" in a field ( task name ). If yes, it should go to script A. Then I also want to check if this same field contains strings "path" or "pathological" or "slides", then it go to script B. etc.
I use a silly way to achieve it. If (patterncount(task name); "rad") perform script A Else if(patterncount(task name); "images) perform script A . etc. I am thinking it must have an easier way to achieve it. Thanks in advance.