How to use the variables/arguments of Main workflow in Global Handler?

Hi Amin,
please see this post for the solution:

It works fine by using errorinfo.variables(“your_Variable_from_main”).ToString in the global handler.
But only for variables (arguments need to be assigned to a string variable in main first to be able to use them). And only for strings…

1 Like