Merge Tasks
LAST UPDATED: JUNE 20, 2025
Merge is useful when consolidating data from upstream task nodes that arrive either as:
Distinct parallel playbook nodes
Multiple instances of the same task
Merge Condition
The merge condition is a JSON object that tells the system how to group data based on a shared lineage—such as by Playbook Instance, Task, Task Instance, or Path—(lineage grouping), which data to filter, and the required match count for producing the merge result.
-20250609-190302.png?inst-v=e416ef0a-975f-4240-8b76-b2350608028d)
Merge Condition Schema
{
"groupBy": "<Playbook Instance | Task | Task Instance | Path>",
"taskName": "<Display name of the task>",
"paths": [
"<JSON path 1>",
"<JSON path 2>",
"<JSON path 3>",
...
"<JSON path N>"
],
"dataJsonPath": "<JSON path>",
"count": <Number>
}
The following tables list the (case-sensitive) keys for the merge condition.
Grouping Fields
These key-value pairs define the criteria for grouping data that share a common lineage. This defines the lineage grouping behavior.
Key | Data Type | Description |
---|---|---|
groupBy | |
|
taskName | |
|
paths |
|
|
Post-Grouping Fields
These key-value pairs control how grouped data is handled after lineage grouping has been applied.
Key | Data Type | Description |
---|---|---|
dataJsonPath |
|
|
count |
|
|