Try Catch Activity example in UiPath | Exception Handling in Automation | UiPath tutorials

preview_player
Показать описание
Hi Techies, in this video we can learn about Try Catch activity in UiPath Studio

UiPath by Sujitha

Try Catch activity :

catches a specified exception type in a sequence or activity,
and
either displays an error notification or dismisses it and continues the execution

Blocks of Try Catch:

Try block:
Activities performed which have a chance of throwing an error

Catch Block:
The activity or set of activities to be performed when an exception occurs

- multiple exceptional blocks where we can add set of activities accordingly

Finally Block:
set of activities to be performed after executing try catch block
1. when no exceptions are thrown
2. when an error occurs and is caught in the Catches block(if it is not rethrown)

Mechanism of Try Catch:
TryCatch runs the activities in the Try block and,
if an error takes place, executes the activities in the Catches block

How to create Try Catch: Ctrl + t

1. From Activities panel
2. Right click on a activity --- surround by Try catch from the context menu

#uipathinterviewquestions
#uipathtutorial #rpauipath
#uipathstudio
#Uipathinterviewquestions
#activities
#demo
#example
#uiautomation
#RPAInterviewQuestions
#dynamicselectors

Рекомендации по теме