Flow Designer Tru Catch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2025 05:22 AM
Hi all,
I am creating custom flows and am using the Try flow logic - just as a developer would do with a try catch. Now, I would like to capture the message the Try throws up (ex.message in normal scripting).
It seems that the Flow logic Try step does not have any pills available to use.
Is there any way the message can be captured/accessed? Viewing the flow execution there is an error status, with codes and message. But it seems you cannot capture that through a pill.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2025 05:47 AM
Hello @etienne3
It should be your try catch block to catch this thrown message.
Try{}
Catch(ex){
print(ex.message)}
Kindly mark my answer as helpful and accept solution if it helped you in anyway,
Regards,
Shivalika
My LinkedIn - https://www.linkedin.com/in/shivalika-gupta-540346194
My youtube - https://youtube.com/playlist?list=PLsHuNzTdkE5Cn4PyS7HdV0Vg8JsfdgQlA&si=0WynLcOwN
eEISQCY
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2025 08:17 AM
In the flow, not a script or a script step
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2025 09:30 AM
Hello @etienne3
Depending on the complexity of the flow, you add this at your convenient steps or if you want a generic thing, you can use error handlers.
Kindly mark my answer as helpful and accept solution if it helped you in anyway,
Regards,
Shivalika
My LinkedIn - https://www.linkedin.com/in/shivalika-gupta-540346194
My youtube - https://youtube.com/playlist?list=PLsHuNzTdkE5Cn4PyS7HdV0Vg8JsfdgQlA&si=0WynLcOwNeEISQCY
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2025 05:54 AM
Hi @etienne3 , yes, in Flow Designer, using a try-catch does not provide any messages. However, you can use the Error Handler at the end of the flow. I understand that you want to capture a specific error message occurring in that step, but the Error Handler cannot pinpoint the exact step where the error occurs.