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.
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 | |||