From the course: Introducing Blue Prism

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Exception handling retries and counters

Exception handling retries and counters - Blue Prism Tutorial

From the course: Introducing Blue Prism

Start my 1-month free trial

Exception handling retries and counters

- The next thing we do, in order to make sure this part of the process doesn't go into an infinite loop, in restarting the application and navigating back to the "Download Orders," we're going to require a decision and calculation stage. The decision stage is going to be placed next to the recover, and then we're going to require a calculation stage. We're going to require one more action, when it comes to this part of the flow, and that's going to be a data item. The data item will be called, "Counter." From type, "Number," and initial value would be zero. What we want to achieve, here, is to make sure that we countered the number of times the process goes in this part of the process, from the decision point, we're going to rename that to "Retry?" And in the expression, we're going to drag across the counter. So here, we want to make sure that the counter is more than three. The next step would be to update the calculation stage, which is going to be "Increment Counter." We're going…

Contents