Versions Compared

Key

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

Add To Collection

This activity adds an element to a collection of elements of the same type.

Activity Parameters

The Add To Collection activity parameters can be provided by manual inserted values or via IN arguments or variables:

Image Added

Parameters:

  • Collection (text box editor type) (type: string): the existing collection parameter that the Item will be added to. This parameter is provided via arguments or variables, defined as Collection<T>, where T is the type under the TypeArgument field. 
  • Item (text box editor type) (type: depends on the TypeArgument): Contains the value or the IN argument/variable name of the element that is to be added to the collection. Its type will have to be same as the one in the TypeArgument field.
  • TypeArgument (ComboBox type): selection box for the type of the elements in the collection.

    The definition of the variable used to reference the Collection field:
    Image Added

    The definition of the IN argument used to reference the Item field:
    Image Added

    The Item field value can also be entered manually, without using an IN argument/variable:
     Image Added

 

Clear Collection

This activity eliminates all the elements in a workflow collection type argument/variable.

Activity Parameters

The Clear Collection activity parameters can only be provided via IN arguments or variables:

Image Added

Parameters:

  • Collection (text box editor type) (type: string): the existing collection parameter that will be emptied by means of this activity. This parameter is provided via arguments or variables, defined as Collection<T>, where T is the type under the TypeArgument field. 
  • TypeArgument (ComboBox type): selection box for the type of the elements in the collection.

    The definition of the variable used to reference the Collection field:
    Image Added

 

Exists in Collection

This activity checks whether an element is part of a collection type argument/variable.

Activity Parameters

The Exists in Collection activity parameters can be provided by manual inserted values or via IN arguments or variables:

Image Added

Parameters:

  • Collection (text box editor type) (type: string): the existing collection that will be searched for the existence of Item. This parameter is provided via arguments or variables, defined as Collection<T>, where T is the type under the TypeArgument field. 
  • Item (text box editor type) (type: depends on the TypeArgument): contains the value or the IN argument/variable name of the element that is to be added to the collection. Its type will have to be same as the one in the TypeArgument field.
  • Result (text box editor type) (type: boolean): a boolean variable/argument that will reflect the existance of Item value in Collection.
  • TypeArgument (ComboBox type): selection box for the type of the elements in the collection.

    The definition of the variable used to reference the Collection and Result fields:
    Image Added

    The definition of the IN argument used to reference the Item field:
    Image Added

    The Item field value can also be entered manually, without using an IN argument/variable:
    Image Added

 

 

Clear Collection

This activity eliminates all the elements in a workflow collection type argument/variable.

Activity Parameters

The Clear Collection activity parameters can only be provided via IN arguments or variables:

Image Added

Parameters:

  • Collection (text box editor type) (type: string): the existing collection parameter that will be emptied by means of this activity. This parameter is provided via arguments or variables, defined as Collection<T>, where T is the type under the TypeArgument field. 
  • TypeArgument (ComboBox type): selection box for the type of the elements in the collection.

    The definition of the variable used to reference the Collection field:
    Image Added

 

Remove From Collection

This activity removes an element from a collection type argument/variable.

Activity Parameters

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

Image Added

Parameters:

  • Collection (text box editor type) (type: string): the existing collection that Item will be removed from. This parameter is provided via arguments or variables, defined as Collection<T>, where T is the type under the TypeArgument field. 
  • Item (text box editor type) (type: depends on the TypeArgument): contains the value or the IN argument/variable name of the element that is to be removed from the collection. Its type will have to be same as the one in the TypeArgument field.
  • Result (text box editor type) (type: boolean): a boolean variable/argument that will reflect the success of the removal operation.
  • TypeArgument (ComboBox type): selection box for the type of the elements in the collection.

    The definition of the variable used to reference the Collection and Result fields:
    Image Added

    The definition of the IN argument used to reference the Item field:
    Image Added

    The Item field value can also be entered manually, without using an IN argument/variable:
    Image Added