- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-03-2022 01:12 AM
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
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
-
Team Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-03-2022 04:00 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-03-2022 04:00 AM
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