The CreatorCon Call for Content is officially open! Get started here.

How to end a flow manually in flow designer ?

Ahmmed Ali
Mega Sage
Mega Sage

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  

If I could help you with your Query then, please hit the Thumb Icon and mark my answer as Correct!!

Thank you,
Ali
1 ACCEPTED SOLUTION

Ahmmed Ali
Mega Sage
Mega Sage

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

If I could help you with your Query then, please hit the Thumb Icon and mark my answer as Correct!!

Thank you,
Ali

View solution in original post

5 REPLIES 5

Veer MS
Kilo Guru

Hi,

 

For this, you can use the break condition.

 

Regards

Veer

Hello,

Thank you for reply.

How and where to use break condition?

 

Thanks,

Ali

If I could help you with your Query then, please hit the Thumb Icon and mark my answer as Correct!!

Thank you,
Ali

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

Ahmmed Ali
Mega Sage
Mega Sage

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

If I could help you with your Query then, please hit the Thumb Icon and mark my answer as Correct!!

Thank you,
Ali