Connections Array
The Connections Array tells Hybrik how to "connect" the Elements in your workflow. Some items will execute in series, while others can execute in parallel. Some tasks will execute when the previous task completes successfully, and some you will only want to execute when the previous task fails. This sequencing and flow control are managed by the Connections Array. The Elements are referred to by their UID.
Name | Type | Description |
---|---|---|
from | array | An array that lists each Element that is being connected to this item. |
to | object | An object that defines where this Element is connected to. There are a "success" and "error" array components. Only one of these sets of connections will be triggered upon completion. |
Connections Array Example
{
"from": [
{
"element": "transcode_task"
}
],
"to": {
"success": [
{
"element": "copy_task"
}
],
"error": [
{
"element": "error_notify"
}
]
}
}