How to handle a Catch triggered switch outside the Try-Catch block?

Hi, i want to do a write to excel file when a Catch has been triggered.
Inside the Catch, i tried assigning a variable with a global scope ( in order to use this to know if a catch has been triggered). but the variable is invisible from outside the Try-Catch which in turn is inside a Parallel activity …

any guide is appreciated on how to solve this issue…'thanks.

@byewiper

If the variable is declared with global ideally you should be able to see it.

Alternately what you can try is to assign a asset with yes or no …and read the asset to know if catch is triggered

Cheers

1 Like