cancel
Showing results for 
Search instead for 
Did you mean: 

#BPTechTips #TipOfTheDay - Collect Exception Data and Usage

Hello everyone,


We can use the following native functions offered by Blue Prism to gather the type of Exception, the Exception message, and on which stage the Exception took place at any time during your automation when you need to gather information for the Exception that happened.


1) Exception Type: Indicates the category of exception that occurred. Internal, System Exception, Business Exception, etc. are a few examples.

 2) Exception Detail: Displays the error message for you. The developer may have defined an exception stage, or Blue Prism may internally create these details.

 3) Exception Stage: Gives you information about the name of the stage at which this exception occurred.

29063.png


Keep in mind that this will only function if the process is in recovery mode where your Exception is alive and this data will be nullified post Resume stage.

29064.png


Why gathering this information might be crucial?
 

Users can save this data for a variety of uses based on their needs, however, the points listed below are some of the ways you can make use of these captured exception data.

  1. The user can direct the downstream process in accordance with the exception by using the choice/decision stage.
  2. Gather data about Exceptions and provide it to the business.
  3. Mark the item in the control room and update the tag and status using the exception data.
  4. Logic to choose between a soft stop exception and a hard stop exception.
  5. If a certain exception occurs, end your workflow and don't continue.
  6. We can also create an Exception Collection to store this Exception Data and keep appending new rows. Save this entire Exception data in excel according to requirements. (Consideration should be given because, if logs are enabled in your process, the BP log will record all these exceptions by default)

 

"Without Exception, what is Automation?"

 

What are your thoughts! Feel free to add more insights to this #BPTechTips.

#BPTechTips #TipOfTheDay

------------------------------
If I was of assistance, please vote for it to be the "Best Answer".

Thanks & Regards,
Tejaskumar Darji
Sr. Consultant-Technical Lead
------------------------------
1 REPLY 1

AlexOliveira
Staff
Staff
Great post Tejaskumar!

Additional information can be found here at Blue Prism Docs - Processes/objects – exception types

------------------------------
Alexsander De Oliveira
------------------------------