Skip to main content
Solved

and/or options for automator


Forum|alt.badge.img+1

I am trying to figure out how to do an and/or statement for workflow Automator in order to consolidate about 60 workflows.  I have only been working with Freshservice for about 3/4 months and have little to no experience in writing expressions.

Has anyone done this and how did you do it?

Apologies if I posted this in the wrong sub forum.

 

Best answer by zachary.king

Hello @jafozzie, when using the expression builder node you can use the if() function to write boolean (True of False) expressions. You can also nest those functions in a way that could almost replicate an And/Or but ultimately it is still a “True” or “False” statement.

For situations where you need a conditional that checks this “AND” that you will still need to use the standard conditional block and set it to match “All” conditions.

Consolidating 60 workflows into one will be a daunting task but might be doable for you usecase. Please do share your successes here as I am sure it will benefit the entire community.

Hope that helps,

Take care.

View original
Did this topic help you find an answer to your question?

2 replies

zachary.king
Skilled Expert
Forum|alt.badge.img+16
  • Skilled Expert
  • 951 replies
  • Answer
  • August 31, 2022

Hello @jafozzie, when using the expression builder node you can use the if() function to write boolean (True of False) expressions. You can also nest those functions in a way that could almost replicate an And/Or but ultimately it is still a “True” or “False” statement.

For situations where you need a conditional that checks this “AND” that you will still need to use the standard conditional block and set it to match “All” conditions.

Consolidating 60 workflows into one will be a daunting task but might be doable for you usecase. Please do share your successes here as I am sure it will benefit the entire community.

Hope that helps,

Take care.


Forum|alt.badge.img+1
  • Author
  • Top Contributor
  • 7 replies
  • August 31, 2022

Thanks for the guidance.  This project will be an as time permits and I will let you know how it goes. 


Reply