Flow Designer Tru Catch

etienne3
Tera Contributor

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.

10 REPLIES 10

Shubham_Jain
Mega Sage
Mega Sage

@etienne3 

 

Use an “Error Logging” Action in the Catch Block

In the Catch section of the Try step:

1. Add an Action like Log Message or Create Record (for Error Log table).

2. Manually enter a message like “An error occurred in Flow: [Flow Name]”.

3. Include contextual details from available flow variables.

✔️ If this solves your issue, please mark it as Correct.


✔️ If you found it helpful, please mark it as Helpful.



Shubham Jain