Version

    TokenGather

    Jobflow Component

    SimpleGather 64x64

    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.

    Component Same input metadata Sorted inputs Inputs Outputs Java CTL Auto-propagated metadata

    TokenGather

    1-n

    1-n

    -

    -

    Ports

    Port type Number Required Description Metadata

    Input

    0-n

    at least one

    For incoming tokens.

    Any

    Output

    0-n

    at least one

    For 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.