lock_business_ruleset_revision
Create an immutable revision of a business ruleset so decision steps can reference it in a decision flow.
Instructions
Lock the current state of a rule set as an immutable revision.
Decision steps reference a specific rule set revision (versionId), not the live working copy, so a revision must exist before wiring a rule set into a decision flow — call again after editing rules if a decision needs to pick up the changes.
The revision-creation request replaces the rule set's full content
from the body sent, so this fetches the rule set with its rules
included (application/vnd.sas.business.rule.set.integral+json)
and resends them — omitting them would wipe the live rule set's rules,
not just the new revision.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ruleset_id | Yes | The rule set UUID (not its name — list_business_rulesets returns both). | |
| revision_type | No | "minor" for iterative changes, "major" for a significant/approved milestone (default "minor"). | minor |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||