Versions Compared

Key

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

Collection of Objects From String

This activity splits the InputString parameter based on the Separator parameter and builds a collection of Object items as output.

Activity Parameters

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

Image Added

Parameters:

  • InputString (text box editor type) (type: string): the input string that you wish to separate with Separator parameter to obtain a collection.
  • Separator (text box editor type with "¥" 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 Added

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 Added

 

 

Get Element From Collection

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

Activity Parameters

The Get Element from Collection activity parameters can be provided by manual inserted values or via IN arguments or variables:

Image Added

Parameters:

  • Filter Index (text box editor type) (type: string): the index of the column from where you wish to extract the element (can be an integer or one of the name indexes specified in the 'Name indexes' parameter). If no value is specified, '0' is set by default.
  • Input Collection (text box editor type) (type: collection<collection<string>>, string, any collection type): the input collection. Bind this parameter with a collection type Output parameter from an activity.
  • Name Indexes (text box editor type) (type: string): the name of the column indexes of the current collection, separated by comma ','.

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 Added

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

  • Collection Count  (type: int32): outputs an integer equal to the collection count.
  • CSV String  (type: string): outputs a string containing the elements of the collection separated by ','.
  • Element  (type: string): outputs the string value of the element indicated by the 'Filter index' parameter.
  • Element Object  (type: object): outputs the element indicated by the 'Filter index' parameter.

 Image Added