Versions Compared

Key

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

...

The Add Key/Value Pair 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<object,string>>): the input Collection. Specify the List of KeyValuePairs for the Add operation, where the new values will be added. It can be a new collection or one with existing values.
  • Key (text box editor type) (type: string): the value for the Key item.
  • Value (text box editor type) (type: string): the value for the Value item.

...

  • Output Collection (type: List<KeyValuePair<object,string>>): outputs the resulting List of KeyValuePairs.

    Image Added


Execution and activity usage:

  • the activity requires an existing collection where the values will be added. This collection can be empty or one with already added values. For example, define a variable in the Variables area, with List<KeyValuePair<string,string>> type:

    Image Added

  • during the execution, the activity will insert the value seen in the Key field for the list's Key item, and the value seen in the Value field for the list's Value item
  • the activity will output the new collection, which will contain the newly added 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 Add 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

 

 

 

 

Sort Keys/Values Pairs

This activity sorts a list of KeyValue Pairs.

...