Track data shape
Introduction
The track data
shape is used to track processed data, based on field paths that you define. When data passes through a track data
shape, the values associated with your defined field paths are tracked - which means they can be reviewed from the tracked data page.
For example, you might want to track all customer_id
values that pass through a flow, so at any time you can quickly check if/when/how a given customer record has been processed.
A single incoming payload for any process flow shape should not exceed 500MB.
We recommend processing multiple, smaller payloads rather than one single payload (1000 x 0.5MB payloads are more efficient than 1 x 500MB payload!).
For payloads up to 500MB, consider adding a flow control shape to batch data into multiple, smaller payloads. Payloads exceeding 500MB should be batched at source.
Need to know
By default, tracked data is available for viewing for 15 days after it was last tracked.
Depending on data volumes, allow 10 minutes for tracked data to be visible in data pools.
The track data shape works with incoming payloads from a connection shape, a manual payload, an API request, or a webhook.
JSON payloads are supported.
Adding & configuring a track data shape
You can add as many track data
shapes to a process flow as required. For example, you might place one immediately after a receiving connector to track everything received before anything else happens to the data, and another after the final sending connector to track everything sent into your destination system.
To add and configure a new track data
shape, follow the steps below.
Step 1
In your process flow, add the track data
shape in the usual way:
Step 2 Configure settings as required - the table below summarises available fields:
Source instance Source endpoint
Entity
Direction
If the tracked data is being pulled from a source, set this option to
receive
If the tracked data is being pushed to a destination, set this option to
send
Field paths
Define one or more data fields to be tracked - i.e. fields that you may want to look up in the event of a query.
Step 3 Save your settings., then access them again:
...you'll now see success criteria
options at the bottom of the shape settings drawer:
Step 4
The success criteria
options are optional. If you don't need to apply these then your setup is complete - close the settings drawer and continue with your process flow as required. If you do want to use these options, see below for guidance.
Success criteria options
When data passes through a track data
shape, specified data fields are tracked and by default, tracked data is marked as a success.
However, there may be times where you want to control the conditions under which the status of tracked data is deemed a success
or a failure
, and to record this outcome for future reference. The success criteria
section allows you to:
Define filter conditions that must be met for an entity's progress to be reported as a
success
orfailure
in summary information for this tracked item.Add a message to be displayed in summary information for this tracked item.
When tracked data is marked as failed
, it is still tracked and the shape still processes successfully - for example:
In this run log, notice that tracked data is marked as a failure
(1) but tracked data is stored (2) and the track data step succeeds (3).
In this context, tracked data marked as a failure
simply means that one or more filters defined for success were not matched and therefore this item is reported as a failure
in associated tracked data summaries.
Success criteria filters
Any conditions that you want to apply can be added via filters. To define a new filter, click the add filter
button:
These filters work in the same way as other filters in the dashboard - select/define a field, then set conditions and values.
You can add as many filters as you need - multiple filters work together with an 'AND' operator. Remember that you're defining conditions that must be met for a success
outcome - if multiple filters are present they must ALL be matched. If one or more filters are not matched, the associated tracked data is marked as a failure
.
Filters can be based on any field(s) found in your data, irrespective of whether you chosen to track them.
The success or failure outcome from these filters is reported in the logs, and also in tracked data summaries - for example:
Success criteria message
You can define a message to be displayed in the tracked data summary for associated tracked data:
This message can be text-only, or any combination of text, payload variables, flow variables, and metadata variables. For example:
In tracked data summaries, this example is shown as:
Messages are added to tracked data summaries when:
No success criteria filters are defined
Success criteria filters are defined and the outcome is
success
Success criteria filters are defined and the outcome is
failure
Related pages
Last updated