You are here

Exception Handling in Blue Prism

Submitted by raghu87 on Wed, 02/16/2022 - 00:31

The term "exception handling" refers to the handling of exceptions within unassisted automation. It makes sure that issues can be resolved automatically if they are they can be identified and repaired by system administrators, or transmitted to a human for completion if needed. The effectiveness of exception handling depends on how it is implemented in the course of development.

Get in-depth knowledge in exception handling in blue prism through Blue Prism Training in Chennai which offers a distinct training program.

Achieving Exception handling in Blue Prism
The handling of exceptions is a crucial element in any blue prism software. The issue of an exception is encountered during the operation of a program or an object.
When there are errors within the blue prism it causes exceptions.
Exception Handling Stages
Handling exceptions can be done by using a restart or recovery stage.

Recovery - Starts with a block to handle the handling of exceptions.
Resume - Closes a block that handles exceptions.
Exception - An explicit exception is raised during the execution of a program or an object.

Know more about exception handling by joining Blue Prism Online Course and acquiring broad knowledge in blue prism technology.

There are 3 kinds of exceptions to Blue Prism
Internal Exceptions
Internal Exceptions are from our lack of essential data, which is contained in the stages.

Imagine that we wish for us to keep the info to an Excel that is newly developed. But, we didn't provide an option to save the data, and we will get internal exceptions.

Another instance is that if we use invalid expressions in the calculation phase, we will get internal exceptions, as illustrated below -
create 3 information elements i.e three data items namely X, Y, and Z using text written in type.
Utilize the calculation stage to perform the easy calculation
Then, you can begin the procedure.
Business Exclusions
These exceptions aren't exceptions, but in accordance with the rules of business, we have created the exceptions. It is necessary to manually send messages using the bot.

Let's say we are working on Excel data with the name of the employee and the balance of his account. The data is being read into collections and then checked for balances of every employee. If the balance for any employees is negative, we have to set off the exception and record the message. In accordance with business rules when your balance falls to zero payment is not possible.

First step 1. The first step is to take the data and then store the information.
Step 2: We need to loop the collections and see whether the column is zero. If it does, you should throw an exception.
Step 3 - We have to set up the Exception stage. Because we have many exception types, we need to set this up as a Business exception.
System Exceptions
System Exceptions can occur due to the internet not working, our bot requiring internet access or system malfunctions.

We have to deal with these exceptions by using the Resume and Recovery stages. It is not necessary to connect with the Recovery stage. when and whenever exceptions occur and the recovery stage is immediately activated. detects the exceptions.
Exception Bubbling
When an HTML0 Exception is activated, it can move upwards toward the flow until it's stopped by recovery. This is known as Exception Blubbing.

Conclusion:
Here we cover the types of exceptions handled in a blue prism. we hope that this content is useful for individuals who want to start their career in the blue prism domain. If you are desire to get training in the blue prism, step into FITA Academy which offers the top-notch Blue Prism Course in Chennai with career support.