Add Key/Value Pair
...
The Sort Keys/Values Pairs activity parameters can be provided by manual inserted values or via IN arguments or variables:
Parameters:
- Input Collection (text box editor type) (type: List<KeyValuePair<string,string>>): the Input Collection . Specify the List of KeyValuePairs for the Add operationwhere the values will be sorted.
- Order by Direction (text combo box editor type) (type: collection<collection<string>>, string, any collection type): choose to order the resulted rows in ASC or DESC direction.
- Sort After (text box editor type) (type: string): specify whether to sort after Keys or Values.
...
- Output Collection (type: List<KeyValuePair<string,string>>): outputs the resulting List of KeyValuePairs.
Execution:
- the activity will output the new collection, which will contain the sorted values. The output collection can be iterated using a ForEach activity and the results displayed using Log Track Data activities:
- For Each: takes as input the OutputCollection from the Sort Key Value Pair activity:
- Log Track Data activities can output values for Key and Value items:
- For Each: takes as input the OutputCollection from the Sort Key Value Pair activity:
- The results will be displayed in the Track Data area: