Custom Parameter values in Catch Exception
Comments
- 
            
Hi,
I would like to capture some custom parameter values while an exception occurred in the flow. I can see the parameter values in the CatchException run time, but I couldnt map the value to another flow/form. Please find the attached screenshots below. I am trying to display all exception values in the form. could you please let me know how to capture the parameter values.
Ruby
 - 
            
Hello Ruby,
A way you could do this is by specifying an "Outcome on Exception" on the Send Email Step and adding a Throw Exception Step to that outcome path.
[img]att1[/img]
You can set this up by following these steps:
1) Check the "Add Outcome for Exception" box under "Outcomes" on the Send Email Steps Properties Tab:
[img]att2[/img]
2) Adding a Throw Exception Step to that outcome path.
3) Configuring the Throw Exceptions Input to "Text Merge" and building a complete exception message from the Send Emails exception details and your custom parameters:
[img]att3[/img]
At runtime youll notice that your Catch Exception Step catches your text merge and uses it as the exception message.
[img]att4[/img]
Hope this helps!
 - 
            
Hello Watson,
Thank you for the explanation with example. its really helped me.
Ruby
 
Howdy, Stranger!
Categories
- 4.5K All Categories
 - 88 General
 - 13 Training
 - 214 Installation / Setup
 - 1.2K Flows
 - 112 Rules
 - 277 Administration
 - 215 Portal
 - 503 General Q & A
 - 722 Forms
 - 356 Reports
 - 3 Designer Extensions
 - 47 Example Flows
 - 58 CSS Examples
 - 1 Diagram Tile
 - 8 Javascript Controls
 - 190 Pages
 - 5 Process Mining
 - New Features
 - 187 Datastructures
 - 73 Repository
 - 238 Integrations
 - 30 Multi-Tenant
 - 27 SDK
 - 81 Modules
 - 60 Settings
 - 27 Active Directory
 - 12 Version 7
 - 37 Version 8
 - 143 Lunch And Learn Questions