Split block

The split_json block splits an input JSON payload into multiple individual flow files as a transformation block in a Connect+ dataflow. It uses a JSONPath expression to identify the array or elements to split on, enabling downstream blocks to process each record separately.

When to use this block

Use this block when the upstream block produces a JSON array and downstream blocks need to process each element individually.

Prerequisites

Before configuring this block, make sure you have:

  • A JSON Path expression that identifies the array or elements to split on

Configuration fields

Field nameRequiredDescription
Block nameYesA name for the block instance. The name must be alphanumeric. There is no character limit.
JsonPath ExpressionYesThe JSONPath expression used to identify the elements to split on.
Default value: $.[*].
Split ResponseYesDetermines whether the response is split into multiple flow files. Select true or false from the dropdown.
Default value: true.