Adding a decision to decide whether to proceed to purchase the items

Let's add decision logic to our purchasing process. After counting the number of items, if we find that the list is empty, we will decide not to proceed with the routine to add the items to the cart:

  1. Open the Search and Add Item to Cart page.

  1. Delete the link between the Count the number of items to purchase and the Loop Start stage, as shown in the following diagram:
  1. Drag a Decision stage and drop it just above the Loop Start stage (refer to the following diagram):
  1. Double-click on the newly added Decision stage. The Decision Properties dialog appears. Take a look ...

Get Robotic Process Automation with Blue Prism Quick Start Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.