Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Flow Designer Execute script in If Clause

maryc
Tera Contributor

Hi,

I am trying to convert the existing workflow into Flow designer. In the current workflow, there is a IF script that has some logic. How do I replicate that logic within the IF script of the flow designer?

In short, I need to write the custom logic which returns true or false in Flow designer IF condition

 

Thanks

 

 

8 REPLIES 8

sachin_namjoshi
Mega Patron

Folks, this is what is known as a lazy subpar response and it's unfortunate. Shame on sachin.namjoshim, your answer is inferior and unhelpful but it's not a surprise a lot of your answers in your profile are also substandard.

In case there is no answer, what you can do is create a flow action where you can write your script, then call it from the main flow. This requires more steps than the classic workflow's scripting but ServiceNow is pushing for low-code/no-code.

maryc
Tera Contributor

I know there is IF logic, but that logic should continue to next step based on logic...may be something like a boolean returned from script include

maryc
Tera Contributor

Any suggestion guys?