Pass the argument to Catch section


I’d like to pass the argument to Catch section from invoked workflow which is invoked at Try section.
How can I realize this?

I created 2 workflow, “Main” and “Main_b”.
“Main” has TryCatch activity, and invoke “Main_b” at Try section.


  1. Start “Main”, Try section.
  2. Invoke “Main_b”.
  3. Arguement “value_2” is assigned value at “Main_b”.
  4. Make error and go to Catch section.
  5. Show message of “value_2”. (273.0 KB)

Hello @khfm, I don’t know if this is a best practice or not, but you can achieve this by:

  1. Wrapping the Main_b in a Try Catch.
  2. When error is thrown by Main_b, Main_b itself will Catch, add some values to it then Rethrow it to Main.

See sample: (273.2 KB)

Hi, @whyyouandi, thank you for replying and sample workflow.

I tried your solution, and can achieve what I want to do!


1 Like

@khfm, glad to hear that :slight_smile:

1 Like