
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2018 06:35 AM
Hello Experts,
I was exploring flow designer. I want to utilize this for one of our catalog item automation. I know I can do it with workflow. But It has some integration. so I want to create new actions and utilize same in other requests also.
I have a below queries. Any help on solution would be appreciated.
1. How we can end a flow manually with some condition. For example I have 10 actions in a flow. I have a rest message action at no.5. If any error in that rest message then I want to have some log and end the flow Skipping 6-10.
2. How we can Exit a particular for-each based on some condition. For example I have a user list collector field on trigger record. I want to process only active records and if any in-active record came, I just want to end the for-each loop skipping other records in the list and continue with the next actions after for-each.
Thank you.
Ali
Thank you,
Ali
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2019 10:36 PM
Hello All,
There is new feature in Madrid release, which allows to end the execution in flow designer.
https://docs.servicenow.com/bundle/madrid-servicenow-platform/page/administer/flow-designer/concept/flow-logic-end-action.html
Thanks,
Ali
Thank you,
Ali
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-01-2019 10:28 PM
Hi,
For this, you can use the break condition.
Regards
Veer

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2019 07:18 AM
Hello,
Thank you for reply.
How and where to use break condition?
Thanks,
Ali
Thank you,
Ali
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2019 11:49 PM
Hi
please find the solution in the link below:
https://docs.servicenow.com/bundle/london-servicenow-platform/page/administer/flow-designer/reference/wait-for-condition-flow-designer.html
Regards
Veer

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2019 10:36 PM
Hello All,
There is new feature in Madrid release, which allows to end the execution in flow designer.
https://docs.servicenow.com/bundle/madrid-servicenow-platform/page/administer/flow-designer/concept/flow-logic-end-action.html
Thanks,
Ali
Thank you,
Ali