Type identifier:
object:queryLinkCategory: Object Operations
Queries relationships between Records to find linked Records. Given either a source Record or target Record, finds the corresponding linked Record via a specific relationship type. Returns Record IDs for further processing.
Handle | Data Type | Required | Description |
|---|---|---|---|
|
| No | Source Record ID for forward lookup |
|
| No | Target Record ID for reverse lookup |
fromstring (CUID2)Notes:
toIdnull for toIdtostring (CUID2)Notes:
fromIdnull for fromIdHandle | Data Type | Description |
|---|---|---|
|
| Source Record ID from reverse lookup |
|
| Target Record ID from forward lookup |
fromIdstring or nullNotes:
to input is providednull if no relationship foundtoIdstring or nullNotes:
from input is providednull if no relationship foundProperty | Type | Required | Default | Description |
|---|---|---|---|---|
|
| Yes |
| Display label for the node |
|
| Yes |
| Schema ID (for filtering) |
|
| Yes |
| CUID2 of the relationship version |
relationshipVersionIdstring (CUID2)Notes:
For fromId output (reverse lookup):
to input handlenullFor toId output (forward lookup):
from input handlenullA relationship matches only when:
Scenario | Behaviour |
|---|---|
Input is null | Returns |
Input is not a string | Returns |
No relationship found | Returns |
Multiple relationships | Returns first match |
{
"type": "object:queryLink",
"data": {
"label": "Get Customer for Order",
"schemaId": "order-schema-uuid",
"relationshipVersionId": "order-customer-rel-uuid"
}
}Given an order ID in from input, returns the customer ID in toId output.
{
"type": "object:queryLink",
"data": {
"label": "Get Orders for Customer",
"schemaId": "order-schema-uuid",
"relationshipVersionId": "order-customer-rel-uuid"
}
}Given a customer ID in to input, returns an order ID in fromId output.
{
"type": "object:queryLink",
"data": {
"label": "Find Parent Category",
"schemaId": "category-schema-uuid",
"relationshipVersionId": "category-parent-rel-uuid"
}
}Chaining multiple Object - Query Link nodes navigates hierarchical relationships.