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

Flow designer, how to avoid stopping the flow whe failing one itaration?

lucap_
Mega Sage

Hello,
I have a flow that every week on Monday use a lookup records action to iterate between a bunch of records and
then using a for each loop and other logics it may update them; the problem is that there is a business rule that
forbid (correctly) some ticket's update with an abort action making the flow to failing and stopping.
I would like to know if there's a way to let the flow fail but continue till the last record. May the error handler
help? If it can, how should I use it?

Best regards
Luca

1 ACCEPTED SOLUTION

Maik Skoddow
Tera Patron
Tera Patron

Hi

yes, this is possible.

I recommend updating the records in a subflow and activate there the error handler (see https://docs.servicenow.com/bundle/rome-servicenow-platform/page/administer/flow-designer/concept/fl...) That way updating can fail in the subflow without impacts to the main flow.

Kind regards
Maik

View solution in original post

1 REPLY 1

Maik Skoddow
Tera Patron
Tera Patron

Hi

yes, this is possible.

I recommend updating the records in a subflow and activate there the error handler (see https://docs.servicenow.com/bundle/rome-servicenow-platform/page/administer/flow-designer/concept/fl...) That way updating can fail in the subflow without impacts to the main flow.

Kind regards
Maik