Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Add Key/Value Pair

...

The Sort Keys/Values Pairs activity parameters can be provided by manual inserted values or via IN arguments or variables:

Image RemovedImage Added

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:

Image Added

 

  • 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:

    Image Added

    • For Each: takes as input the OutputCollection from the Sort Key Value Pair activity:

      Image Added

    • Log Track Data activities can output values for Key and Value items:

      Image Added

      Image Added

  • The results will be displayed in the Track Data area:

    Image Added