Global handler?

Hello, I newbie for UiPath.
I have main sequence flow as below.

image

Now I set process screenshot to global handler (screenshot and send mail)

But I don’t know what is variable errorInfo and result (Where does the value come from?)

In sub process in main must set something for use global handler or not?

Thank you.

Hi,

ErrorInfo is automatically set by GlobalHander feature when exception occurs.
We can write logic using various information such as in the variable.

Regards,

@Yoichi How to set in catches before call globalHandler ?

image

Thank you.

GlobalHandler mostly catches exception before TryCatch. So basically we cannot call GH manually in catch.

@Yoichi If run in try error I want to catch to screenshot , send mail and end process

send mail forum as below.

Please guide me for solve it.

In general, it’s unnecessary to use GH if you use TryCatch.
Call other workflow which takes screenshot and sends email in catch section.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.