SYSTEMZ Documentation > Workflow Actions > Operations > Count Items in Collection

Count Items in Collection

Add action

Use context menu or action toolbox to add Count Items in Collection action to workflow scheme.

  • Click on the area with (Edit) icon on the scheme and:
  • Select category Operations;
  • Choose Count Items in Collection.
  • In action toolbox:
  • Select category Operations;
  • Drag and drop Count Items in Collection action to the area with (Edit) icon on the workflow scheme.

Configure action

Open action configuration dialog to edit action properties:

  • Open action context menu on the scheme and choose Edit;
  • Or double click the action on the scheme.

Action properties

Use configuration dialog to edit action properties:

Property Description
Title Defines action title.
By default the title is action type name.
Target collection Collection to count items.
Total items Variable to store the number of items.
Only variables of type Integer are available for this property.

Examples

Count items in collection: