Collection Management

Add to List

Adding an element to the list. Lists allow duplicated elements. Lists items are indexed. The new element added to the list will be placed at the end of the list.
Lists are used to store multiple data in a single variable. You need to specify the type of data to store in a list. After dragging the activity to the flowchart opens an input window to select the type from the dropdown first and immediately after opens the activity.

v2_coll_list-ogolny
v2_coll_list-add

You can use Assign variable to replace an existing element of the list.

v2_coll_list-add2
Acquired TextStringOutputtext input by user
Alternative Scenario If FailedBooleanInputcheckbox; default is "on"
Display NameLiteralInputchanges display name of the activity
ElementvariousInputvalue of the list's element; its type depends on chosen Element Type
Element TypeDropdownInputselect element type from the dropdown list
Exclude from Transaction CheckBooleanInputcheckbox; default is "off"
ListLiteralInputlist name
ResultBooleanOutputreturns a Boolean value. True if no error in activity, otherwise will return False
Result CodeInt32OutputResult Code will return 0 if there is no error in activity, otherwise in most cases will return 1. See the table of Extended Result Codes for more info

Last edited: 2023, 31 May