Lock Decision Flow Revision
lock_decision_flow_revisionFreezes a decision flow's current state as an immutable revision after a successful create or update, enabling publishing of that snapshot while opening the next working revision.
Instructions
Lock the current state of a decision flow as an immutable revision.
Call after a successful create/update to freeze the approved state as
a point-in-time snapshot referenceable by publish_decision_flow.
Viya locks the revision that was current and opens the next one: the
result describes that new working revision, as before, and
locked_revision the frozen one.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"decision_id": "<decision_id>"
},
"name": "lock_decision_flow_revision"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| decision_id | Yes | The decision flow UUID (not its name — list_decision_flows returns both). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||