RPA Quick Tips: Advanced Error Handling in Automation Anywhere Enterprise A2019

  Рет қаралды 7,396

Automation Anywhere

Automation Anywhere

Күн бұрын

Пікірлер: 5
@chandumohammad
@chandumohammad 4 жыл бұрын
Very advanced Error Handing Command we have in A2019 and explained in a clean and crisp way.. Great Work.. GoBeGreat
@sukhisonuhbk
@sukhisonuhbk 3 жыл бұрын
Hi Micah, Your videos are really helpful. I am working as a program manager and I also develop bots. In the tool that we are using during the execution, sometimes the error messages that pops up is a windows critical error message and the entire screen freezes. I have applied try and catch to handle exceptions. However, it does not work in this case. Right now based on the learnings i am customizing the error handling part by using if window exists. Please share your knowledge on how can we handle this. As the current solution does not work if the bot is running headless and the execution halts.
@Automationanywhere
@Automationanywhere 3 жыл бұрын
Hey Sukhi - thanks for your kind words. Checking for window exists is probably the best way to handle the presence of the error pop up. Alternatively, you could try to use Recorder to clone an object on the error message pop-up itself and verify that the object does not exist before continuing. Hope that helps!
@harshmehta2998
@harshmehta2998 4 жыл бұрын
@AutomationAnywhere @MicahSmith I checked the Java docs for Try Catch Finally Block for Error Handling and Found that if there is no error in Try Block CASE : No Exception in TRY Block. Then the finally part will execute. So as per the video the bot will retry 3 times even if no exception is occurred. The solution would be to use the retry if else concept in the Catch Block Instead of Finally Block and Using Loop Break inside at the end of try block when everything ran as expected. Please let me know if I am wrong. I faced this issue when I integrated the above in production code.
@MicahDanielSmith
@MicahDanielSmith 4 жыл бұрын
Hey @Harsh - the code shown in the video is actually missing one part - which is to have a boolean "finished successfully" flag set at the end of the try block. With this in place, the finally block should check to see if the "finished successfully" (whatever you chose to call that variable) was set and can appropriately exit from the loop without running all 3 times. Hope that helps clarify.
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 700 М.
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН
RPA Quick Tips #2: Error Handling Basics | Automation Anywhere
3:48
Automation Anywhere
Рет қаралды 7 М.
How to Build Effective AI Agents (without the hype)
24:27
Dave Ebbelaar
Рет қаралды 91 М.
Simon Sinek's Advice Will Leave You SPEECHLESS 2.0 (MUST WATCH)
20:43
Alpha Leaders
Рет қаралды 2,8 МЛН
OAuth 2.0 and OpenID Connect (in plain English)
1:02:17
OktaDev
Рет қаралды 1,8 МЛН
RPA Quick Tips: How to Connect to an Excel Spreadsheet As a Database
5:39
Automation Anywhere
Рет қаралды 9 М.
Think Fast, Talk Smart: Communication Techniques
58:20
Stanford Graduate School of Business
Рет қаралды 44 МЛН
RPA Quick Tips #4: Headless Web Scraping | Automation Anywhere
6:58
Automation Anywhere
Рет қаралды 10 М.
Control Room & Client Installation of Automation Anywhere Enterprise 11  in 2022
17:09
Ajay Varma (AJ - Automation Jockey)
Рет қаралды 3,4 М.