The “Count Collection” action in PowerTools for Nintex Workflow Cloud allows workflow designers to retrieve a count of the number of items in an existing collection or array object.
For example, an array of strings such as “keys”, “wallet”, “phone”, “hat”, “umbrella” would return a value of 5. The data type of the array elements has no bearing on the count of items. This action can be useful as part of a process that first verifies if an array contains a certain number of elements (i.e. more than zero) before proceeding with other array operations in order to avoid errors or unnecessary processing on empty arrays.