Flow Designer - Error Handler

pramodkumar
Tera Expert

Hi All,

I have a flow  with few AD actions (add user to groups) and I also enabled error handler at bottom of flow to create task if there is any error in flow. The add user to groups AD spoke used mid server to add a user to group, if mid server fails to add to group the action evaluates to completed (error skipped). This will halt the flow and will never resume, how can we fix this?

 

 

Thank you!

1 REPLY 1

Bhuvan
Kilo Patron

@pramodkumar 

 

As part of your action, add retry policy to check for error code or response payload match conditions and if action resulted in error, setup retry mechanism. Please see below documentation for more details

 

https://www.servicenow.com/docs/bundle/zurich-build-workflows/page/administer/flow-designer/concept/...

 

If you are using out of box action that came with plugin and is read-only, copy the action and edit it and use the newly created action with retry policy in your main flow. Refer below knowledge article

 

https://noderegister.service-now.com/kb?id=kb_article_view&sysparm_article=KB0818869

 

I hope you appreciate the efforts to provide you with detailed information. If my response helped to guide you or answer your query, please mark it helpful & accept the solution.

 

Thanks,

Bhuvan