Configuration of the Functions activity

To configure the Function activity, first you must add it to a stream pipeline and then define one or multiple property-level transformation functions.

Adding a Functions activity to a pipeline model

  1. Select Pipelines > Stream Pipelines.
  2. Create a stream pipeline or click a tile of an existing stream pipeline to edit it.
  3. On the canvas of the stream pipeline, drag the Transformation category from the bottom toolbar and drop it in the required position in the stream pipeline. The catalog with activities from the Transformation category is displayed.
    Alternatively, in an existing stream pipeline, pause on an arrow between existing activities and click the Plus icon. The catalog with all available activities to select is displayed.
  4. Click the Plus icon on the Functions tile.
    The Functions activity is added to the stream pipeline.
    Note: You can place multiple Functions activities at various points in a pipeline. This enables complex transformation flows but keeps each transformation step simple and maintainable.

    To delete the Functions activity from a pipeline, click the three-dot icon on the Functions activity tile and select Delete.

Defining property-level transformation functions

After adding the Functions activity to the stream pipeline, define one or multiple property-level transformation functions.
  1. Click the Functions activity on the canvas of the stream pipeline.
  2. Optionally, in the configuration dialog box, click the Edit icon and specify a name of the function activity and the function activity description.
  3. Click Add function to define a new transformation or click an existing function to edit it.
    Note: You can edit functions only when the pipeline is inactive.
  4. Specify this information:
    Function
    Select one of these functions:
    • Concatenate
    • Convert to Date time (Standard)
    • Convert to Date (Standard)
    Parameters
    Specify parameters for the selected function type. After you start specifying parameters, parameter prompts to select are displayed.

    You can move the pointer over the Information icon next to the Parameters field for information on how to correctly specify parameters.

    Property
    Specify the name of the output property to store the function output.

    You can move the pointer over the Information icon next to the Property field for information on the target property type.

  5. In the Try out the function section, view the results of the specified function.
  6. To confirm the function configuration, click OK.
  7. Repeat steps 3-6 for each function to add.
    If applicable, to remove one or multiple functions from the Functions activity, select them and click Remove selected.
  8. If you modified the function activity name or description, or both, click the Tick icon to confirm the modifications.
  9. On the canvas of the stream pipeline, click Save to save the function activity configuration.