Count items in collection
The Count items in collection action returns the quantity of items in the specified collection.
For example, you might compare the quantity before and after removing duplicates.
Before you begin:
-
Understand Variables
-
Understand the Start a loop and Loop for each actions
Jump to:
Add and configure the Count items in collection action
In the Designer page:
-
Click the Collection operations action group in the action toolbox.
or
Find actions by browsing action groups, or by typing an action name or function in the Search field at the top of the action toolbox.
- Drag the Count items in collection action to the point in the workflow when you want to count the items.
- Click the Count items in collection action.
-
Complete the fields. For more information on the fields, see Count items in collection fields.
Field
Example configuration
Example returned contents
Target collection collProduce apple; carrot; romaine
Total items
intCount
3