Collection Management

Sort List

This activity allows to sort elements in list: choose ascending (default) or descending order.
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-sort1
v2_coll_list-sort
Parameter NameParameter TypeIn/OutDescription
Alternative Scenario If FailedBooleanInputcheckbox; default is "on"
DescendingBooleanInputsorting direction
Display NameLiteralInputyou can change the name of activity for greater clarity of the scenario
Element TypeDropdownInputchoose the list's type from a dropdown list
Exclude from Transaction CheckBooleanInputcheckbox; default is "off"
ListLiteralInputlist's name
ResultBooleanOutputreturns the Boolean value: it will return True if no error is in activity, otherwise it will return False
Result CodeInt32OutputResult Code will return 0 if there is no error in activity, otherwise in most cases it will return 1, the extended result code will show only in several chosen activities

Last edited: 2023, 31 May.