Flow Designer Execute script in If Clause
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-03-2020 01:33 PM
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
- Labels:
-
Now Platform App Engine

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-03-2020 02:34 PM
you can use if flow logic in flow designer
Regards,
Sachi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-24-2021 01:52 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-03-2020 03:53 PM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-04-2020 11:13 AM
Any suggestion guys?