Can we pass extra arguments to Global Exception Handler, or access our main program’s variables? For example, if I want to close open applications that could be stored in variables inside ‘main’, whenever the GE handler is called.
Is this possible?
Can we pass extra arguments to Global Exception Handler, or access our main program’s variables? For example, if I want to close open applications that could be stored in variables inside ‘main’, whenever the GE handler is called.
Is this possible?
yah ofcourse make sure that those variables are defined GLOBALLY like global variables
that is the scope of those variables must be with whole sequence or whole project
Cheers @pduffy
Thanks Palaniyappan. I tried that - they are global variables whose scope starts at ‘main’, but they are not accessible from within the Global Exception Handler block - i.e. the GlobalHandler.xaml file that is stored in the project directory.
Apologies if I’m missing something obvious here…
No. I’m talking about the “Global Exception Handler” workflow that is built into UiPath.
Yes how to pass config dictionary to Global exception handler?
how about using exception.data diction
Read config again in global handler
impossible to do 3). Global Exception Handler will no contains MyException.
Or you means errorInfo.Variables(“MyException”)?