Does StudoX have the Try...Catch block activity

I have a question.
Can we add the Try Catch activity around activities in StudioX? If no, how can I create customized Exception Messages in StudioX?

Thank you.

Hi there,

This might be helpful:

Error Handling in UiPath Studio X (youtube.com)

@RobinsonFrancis,

By default it’s not available. You will have to enable from Activities Panel by checking Developer checkbox.

Thanks,
Ashok :slight_smile:

Hi @RobinsonFrancis

Regards

HI,

We can use TryCatch in StudioX if turn on Developer option at Filter in Activities panel.
However, it’s recommended to remove GlobalHandler because GH mostly catches exception before try catch does. Unfortunately, there is no option to remove GH in StudioX. So we need to remove it in Studio or edit project.json directly using text editor etc.

Regards,