Recover the name of the .xaml during a crash


When we run a .xaml in uipath studio, if it falls into error, in the output log we find the name of the .xaml with the element that did not work. When we launch a .xaml by the orchestrator, how can we recover the same thing?

I’m talking about an .xaml launched by an InvokeWorkflowFile

This can be done by exception handling and logging. You can put each workflow inside of a try/catch block and log any exceptions thrown in the catch. Then when the bot stops the log will show your message saying “workflow1.xaml threw exceptiion: ActivityTimeoutException” or whatever you want it to say.

1 Like