У нас вы можете посмотреть бесплатно BluePrism - Exception Handling,Types & Bubbling || Reality & Useful или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
Hi Friends, Now we are going to discuss about Error Handling/Exception Handling -------------------------------------------------------------------- Basically we have three types of exceptions in BluePrism 1. Internal 2. System 3. Business 1. Internal Exceptions: These Exceptions will come based on our missing mandatory data in stages. suppose, I want to save data for newly created excel. But i missed to provide path we will get internal exception. Another example I given the invalid expression in calculation stage. At that time I will get internal exception. let's check I am creating a data item with text type I am trying to use arithmetic operations Here I have a is text type b is number type i am doing sum a+b See, we got the internal exception. In this scenario mean a is text type how can we do sum we need to convert it as number. Got it. other than the internal exception, we have System Exception and Business Exception. These two we need to configure in system manager. Let's check if we configured or not See the BluePrism scanned the exception types from process and business object. Because we no need to configure these Exceptions Directly we can declare the exception types in Bot. Let's do it with Business Exceptions 2. Business Exception: These Exceptions are not actually exceptions. Based on the business rules we are creating the exceptions. we need to fire manually mean through bot example, i am working on excel data having employee name and his account balance. reading these data into collection and checking the each employee balance. if any one of employee balance is zero I need to fire exception and log the message. Because the as per business if balance is zero, we should not allow him to do payments. let's do it with simple data. Here is my data. First i will read and store into collection Next we need to loop the collection and check the column has zero or not if yes, throw the exception We need to configure the Exception Stage as we have so many exception types But we need to configure as Business Exception. See, we got the business exception. 3. System Exception: System Exceptions I cannot show you now. This exceptions will occur based on internet is down if our Bot need internet or any system failures In this case System Exceptions will occur. Till now we saw these exception are thrown or occurring. We heed to handle these exceptions. using Recovery and Resume stages We don't need to link to Recovery stage When ever and where ever Exception fires, immediately the Recovery stage catch those exceptions See when exception fires, we should not get the exception details popup. Recovery stage caught the exception. Between the Recovery and Resume stage area is called recovery part. after resume stage if you want to continue the flow you can use it. Per Page only one Recovery and Resume stage enough. But we can use more than one Exception Stages. Let's get the exceptions details in recovery stage See we got these data Business Exception--BE001---Zero Record Found having Exception type, and stage of exception and detailed summary If you want to use more than one recovery stages we need to use Block Stage Let's see, I wana to calculation divide by zero outside the loop let's implement this See the exception details: Internal--Calc1---Failed to evaluate expression '5/0' - Division by zero But it is also caught by same recovery stage. We will use another recovery stage in this case See this, we got exception data by another recovery stage Internal--Calc1---Failed to evaluate expression '5/0' - Division by zero ------------------------------------------------ Exception Bubbling: It means when the exception is fired it moves upwards towards the flow until caught by recovery is called exception bubbling. for example, I am using another business object in this business object. let's create another business object with exception case If i want to use this bot into another bot, i need to publish it I implemented the exception handing inside this bot also I am going to call this business object using Action stage I didn't find my business object. Let's close and reopen the bot actually we got error how to see see, let's cut the recovery part and past it in main flow See here Internal--Bubbling Bot---Failed to evaluate expression '59/0' - Division by zero The exception is caught by main flow but fired in child flow. But it upwards towards moved to flow till caught by recovery Thank you for Watching video