Add Item to Collection

Add Item to Collection



Use context menu or action toolbox to add Add Item to Collection action to workflow scheme.

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


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.


Use configuration dialog to edit action properties:

Property Description
Title Defines action title.
By default the title is action type name.
Input Collection to add item.
Mode How to add item:

  • Append;
  • Insert.

In Insert mode new item will be added to position with specified index and existing items starting from this index will be moved to one position. If number of items in collection is less than Index, the new item will be added to the end of collection.

Value
Type Defines of type of the added item:

  • Text;
  • DateTime;
  • Boolean;
  • Integer;
  • Number;
  • Guid;
  • Collection;
  • Dictionary;
Value Value to add to collection.
Lookups are available for this property.
Output Variable to store the result collection.
You can specify the same collection as in Input. The Input collection will be overwritten in this case.




Adding collection to the collection is supporting.

Contents