Adding an action to count the number of rows in a collection

Let's use the internal business object for Collections to count the number of items in our List of Items to Purchase collection. We will need the item count later when we are checking to see whether the list is empty (we won't need to purchase anything if there are no orders). Let's continue editing the Weekly purchase of groceries process that we started in the previous chapters:

  1. Open the Weekly purchase of groceries process and edit the Search and Add Item to Cart page.
  2. Delete the link between the Start stage and the Loop Start stage, shown as follows:
  1. Drag and drop an Action ...

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.