Type identifier:
object:linkCategory: Object Operations
Links a source Record (from) to a target Record (to) using a configured relationship version. Depending on relationship cardinality, the operation creates a relationship, repoints an existing relationship, or leaves an exact active relationship unchanged.
Handle | Data Type | Connection required | Description |
|---|---|---|---|
|
| No | Activates the link operation |
|
| No | Source Record ID or object with |
|
| No | Target Record ID or object with |
fromstring (CUID2) or object with id propertyNotes:
id property)errortostring (CUID2) or object with id propertyNotes:
fromHandle | Data Type | Description |
|---|---|---|
|
| Triggered when the relationship is created, updated, or unchanged |
|
| Triggered for invalid endpoints and expected domain errors |
Property | Type | Required | Default | Description |
|---|---|---|---|---|
|
| Yes |
| Display label for the node |
|
| Yes |
| Retained node configuration; not used by this node |
|
| Yes |
| CUID2 of the relationship version |
relationshipVersionIdstring (CUID2)Notes:
from and to inputs.id property.error.relationshipVersionId and the run identity.success for created, updated, and unchanged actions.Action | Behaviour |
|---|---|
| Creates a new relationship. |
| Repoints the existing cardinality-conflicting relationship's endpoint. |
| Leaves an exact active relationship unchanged. |
When cardinality controls are unavailable or disabled, link requests create new relationships rather than repointing existing ones. The node has no data output.
Scenario | Behaviour |
|---|---|
| Triggers |
Expected relationship/domain rejection | Triggers |
{
"type": "object:link",
"data": {
"label": "Link Order to Customer",
"schemaId": "order-schema-uuid",
"relationshipVersionId": "order-customer-rel-uuid"
}
}Connects from input (order ID) to to input (customer ID).
{
"type": "object:link",
"data": {
"label": "Assign Task to User",
"schemaId": "task-schema-uuid",
"relationshipVersionId": "task-assignee-rel-uuid"
}
}Can receive full Record objects from Object - Query nodes; automatically extracts IDs.