Skip to main content

Using an OR in the automation triggers


Hello, I have an automation that is running as expected. I would like to add a few more trigger words to my Conditions, is this possible? Currently the trigger is when the target field contains the word TEST. I would like it to trigger for TEST, TEST1, TEST5, TEST8, etc. Is this possible? I do not see any OR conditions, only AND. The field that contains the trigger work is a plain text field in the AT.

Thanks!

3 replies

kuovonne
Forum|alt.badge.img+17
  • Brainy
  • 5995 replies
  • March 8, 2022

You should be able to change the AND to OR, just like you can for a view.


  • Author
  • Known Participant
  • 26 replies
  • March 8, 2022
kuovonne wrote:

You should be able to change the AND to OR, just like you can for a view.


Hahaha yeah, I should be able to, but I cannot, so that’s why I’m asking! The first condition allows to switch to an OR but the following ones do not. In the regular AT you can create condition groups, but I do not see a way to do this in the Automations so wondering if there is another solution.


kuovonne
Forum|alt.badge.img+17
  • Brainy
  • 5995 replies
  • March 8, 2022
Dennis_Petrou wrote:

Hahaha yeah, I should be able to, but I cannot, so that’s why I’m asking! The first condition allows to switch to an OR but the following ones do not. In the regular AT you can create condition groups, but I do not see a way to do this in the Automations so wondering if there is another solution.


When you change the first “and” to “or” all of the conditions should switch to “or”. This is the old conditional functionality that existed before condition groups.

If you need to mix and match and/or conditions, here are some options:

  • use a formula field that checks the conditions, and then trigger the automation off of the formula field

  • build a filtered view with condition groups, and then trigger the automation off of the record entering the view


Reply