Node Reference
ref
: Refers to a specified rule chain or the current rule chain node for reuse by nodes.v0.24.0+
# Configuration
Field | Type | Required | Description | Default |
---|---|---|---|---|
targetId | string | Yes | Format: [{chainId}]:{nodeId}. If referring to the current rule chain, the format is: {nodeId} | None |
# Relation Type
- If executed successfully, use the output relation of this node to send to the next node.
- If the node is not found, send the message through the
Failure
relation to the next node.
# Example
{
"id": "node_5",
"type": "ref",
"name": "Reference the current chain node",
"configuration": {
"targetId": "node_4"
}
}
1
2
3
4
5
6
7
8
2
3
4
5
6
7
8
{
"id": "node_2",
"type": "ref",
"name": "Reference the other chain node",
"configuration": {
"targetId": "ynlLYSAgCy2J:node_2"
}
}
1
2
3
4
5
6
7
8
2
3
4
5
6
7
8
Edit this page on GitHub (opens new window)
Last Updated: 2024/10/23, 10:13:01