Versions Compared

Key

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

...

The Collection of Objects From String activity parameters can be provided by manual inserted values or via IN arguments or variables:

Image RemovedImage Added

Parameters:

  • InputStringInput String (text box editor type) (type: string): the input string that you wish to separate with Separator parameter to obtain a collection. It can be manually written or bound to a declared variable.
  • Separator (text box editor type with "¥" as the default value) (type: string): the separator used to separate the input string to obtain a collection.

As mentioned above, the values for all the required parameters can be provided by IN arguments or variables. Below is an example of predefined arguments, ready to be used by the Collection of Objects From String activity:

Image Removed

  • In the example above there can be seen the ; (semicolon) used as separator.

The Read Only Output variable are the possible output values that the activity will provide:

  • Output Collection (type: collection<object>): outputs a collection of type object containing the separated elements from the input string.
  • Output Count (type: int32): outputs an integer equal to the collection count.

 Image RemovedImage Added

Execution and activity usage:

  • the activity splits the input string based on the given separator:

    Image Added

  • the activity will output a collection, which will contain the elements retrieved after the split operation. 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 output Collection from the Collection Of Objects From String activity:

      Image Added

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

      Image Added



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

    Image Added

 

 

Get Element From Collection

This activity returns an element from a specified index from the given Input Collection.

...