Blue Prism Exceptions Handling

Exemption handling is defined with the management of exceptions in unassisted automation. It helps to ensure that problems can be immediately resolved if possible, or perhaps easily identifiable and repairable by system administrators or perhaps passed for human finalization where appropriate. The accomplishment of exception handling will depend after how well it truly is implemented during development.

Achieving Exception handling in Blue Prism

Exemption handling is a essential portion of any blue prism solution. An exception is usually a problem that comes up during the execution of any process/object.

Whenever errors are encountered within blue prism, it produces exceptions.

Exception Handling Stages

Exclusion handling can be accomplished by using resume, recuperate and exception stage.

Blue Prism Exceptions Handling

Recovery: Begins a block for handling exceptions.

Resume: Coatings a block for working with exceptions.

Exception: Obviously raises an exception inside the execution of process or object.

Types of Exceptions

We now have 3 types of exclusions in Blue Prism:

  • Internal Exceptions.
  • System Exceptions.
  • Business Exceptions.

Internal Exceptions

Interior Exceptions come based about our missing mandatory info in stages.

Imagine, we want to conserve the data for recently created excel. Nevertheless , all of us missed to provide route, then we get the particular internal exceptions.

An additional example is when all of us give invalid expression within calculation stage, we obtain internal exceptions as proven below:

  • Generate 3 data items i actually. e X, Y in addition to Z with text sort.
Blue Prism Exceptions Handling
  • Employ calculation stage to execute the straightforward calculation.
Blue Prism Exceptions Handling
  • Right now, run the process.
Blue Prism Exceptions Handling

Business Exceptions

These kinds of exceptions are not in fact exceptions, however, based about the business rules, we all are creating the conditions. We must fire manually by means of bot.

Allow us to suppose, we working upon excel data having the particular employee name and their account balance. Reading these types of data into collections plus checking the balance of each employee. If the balance of any employee is zero, we need to fire exception and log the message. As per business rules, if the balance is zero, the payments cannot be done.

Step 1: Very first, we will read typically the data and store typically the collection.

Step 2: We must loop collections and find out if the column has no. If yes, then chuck very.

Step 3: We must configure the Exception period. As we have thus many exceptions types, we all need to configure this specific as Business Exception.

Blue Prism Exceptions Handling

Exception Bubbling

Once the Exception is fired, this moves upwards towards the particular flow until it will get caught by recovery will be called Exception blubbing.

Blue Prism Exceptions Handling