Hi all. I need to build a flow with 'OR' trigger condition in subject when a new email arrives.
Example, Trigger when a new email arrives if subject contains "cMRO" OR "WO_Summary"
Can it be done if yes how? I know how to add code as a condition but what will be the code?
Solved! Go to Solution.
Hi @navaidm ,
Please try the following conditions:
@or(contains(triggerBody()?['subject'], 'cMRO'),contains(triggerBody()?['subject'], 'WO_Summary'))
Best Regards,
Hi @navaidm ,
Please try the following conditions:
@or(contains(triggerBody()?['subject'], 'cMRO'),contains(triggerBody()?['subject'], 'WO_Summary'))
Best Regards,