Version

    TokenGather

    Jobflow Component

    Short Description
    Ports
    Metadata
    Details
    See also

    Short Description

    TokenGather copies each incoming token from any input port to all connected output ports. If input metadata differs from output metadata, copying based on field names is used. This component is typically used to collect all tokens from several parallel execution branches and send them to one unified output.

    ComponentSame input metadataSorted inputsInputsOutputsJavaCTLAuto-propagated metadata
    TokenGather
    no
    no
    1-n1-n-- 

    Ports

    Port typeNumberRequiredDescriptionMetadata
    Input0-nat least oneFor incoming tokens.Any
    Output0-nat least oneFor gathered tokens.Any[1]

    [1]  Only fields with identical names with input fields are populated.

    Metadata

    This component has metadata templates available.

    Details

    The TokenGather component receives incoming tokens from any input port and copies them to all connected output ports - each incoming token is copied to all output ports. Input ports and output ports can have any metadata. Copying from input metadata to output metadata is based on field names - a field value is moved to output token if and only if output token has a field with an identical name.