Lock Decisioning Asset Revision
lock_decisioning_asset_revisionLocks a SAS Viya rule set, decision, segmentation tree, or code file as a frozen revision, preserving its current state while later edits go to an open working revision.
Instructions
Freeze the current state of a rule set, decision, segmentation tree or code file as a locked revision.
Viya locks the revision that was current and opens the next one for
editing (1.0 is locked, 1.1 is open). locked_revision is the frozen
state: reference it from a decision step or publish it. Later edits go
to working_revision and do not change what was locked.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset_id | Yes | The ID. | |
| asset_type | Yes | rule_set, decision, segmentation_tree or code_file. | |
| revision_type | No | "minor" for iterative changes, "major" for an approved milestone. | minor |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||