Custom Parameter values in Catch Exception

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

Sign In or Register to comment.