Error Handling in flow designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2021 02:19 AM
Hi Guys
I'm new to flow designer, i want to understand how to capture the flow errors and send email?
Usually when ever an error is encountered in flow designer, flow will error out and it will not move to next action, in case if we want to use data pill from the previous action (where the error occurred) and then use send email action to send emails?
Any ideas/suggestions to achieve this will be very helpful.
Thanks in advance
Vyshnavi
- Labels:
-
flow designer

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2021 02:49 AM
HI,
One solution for error handling of a particular scenario is mentioned in this thread. Please check if its helpful for you.
You can also find logs from "System Log" > "Errors".
Also check below links once.
https://www.reddit.com/r/servicenow/comments/isvbtg/how_to_do_error_handling_try_catch_in_flow/
https://community.servicenow.com/community?id=community_question&sys_id=66faee561b3ca0106531ea89bd4bcb36
Please mark correct/helpful if applicable.
Regards,
Shubham
Shubham Tipnis
ServiceNow Enthusiast
⭐️ 3x Rising Star (2022–2024) – ServiceNow Community
Sharing insights, use cases & real-world learnings from the Now Platform
Always learning. Always building.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2021 09:27 AM
One approach to error handling in Flow Designer is to use subflows. However, there are limitations with passing data pills when an error occurs.
In Rome, we are introducing comprehensive error handling functionality for Flow Designer. Based on your description, the Rome release should solve your situation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2021 02:17 AM
Hey Brain
I'm trying to use dynamic flow and calling a subflow, i have a hope that i can pass the error message from a subflow. But i'm not getting how to call a dynamic flow.
I'm getting an error when i'm testing my flow "Unable to get display name data, DesignerError: Bad Request. Invalid table undefined"
Please see the attached screenshot for details.
Please help me in understanding the below fields Flow Template and Flow. Should both be the name of subflow ?
any hint about the error would solve my issue.
Thanks in advance

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2021 07:13 AM
Vyshnavi,
Dynamic Flows can be a little tricky. The documentation helps. Two Dynamic Flow inputs are:
- Flow Template: When you select a subflow here, the subflow's inputs appear as the inputs for the Dynamic Flow Action. If you want to display inputs in the Dynamic Flow Action, this field is mandatory.
- Flow: This is the actual subflow that you want to trigger. This flow must have the same inputs as the flow template.
In your scenario, I'd recommend adding the subflow "User Updates Sync with AD - Subflow" as the input for both the "Flow Template" and the "Flow".
It appears that you are on Paris (or earlier). Starting in Quebec, the 'Wait for completion" checkbox is also available on the standard Subflow Action. This allows for fewer steps to achieve the same outcome.