Update Decision Flow
update_decision_flowReplace an existing SAS Intelligent Decisioning flow with the full set of steps and signature. File the decision into a folder if it has none.
Instructions
Update an existing SAS Intelligent Decisioning flow.
Pass ALL steps (existing + new), as steps or rule_set_steps —
the full flow is replaced on update, it is not a partial patch.
The decision stays in its folder. One that is in no folder (created
before folders were required) is filed into folder, or the default
folder. The result's folder says where the decision is.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Decision name (max 60 chars). | |
| steps | No | The whole flow, every step kind — assignments, models, branches, conditions, rule sets, trees, code files, sub-decisions; ``create_decision_flow`` describes each, with an example. | |
| folder | No | Only used when the decision is in no folder yet: a folder path, ``My Folder``, a folder ID or a folder URI to file it in. | |
| signature | Yes | Flow-level input/output variables. | |
| decision_id | Yes | The existing decision flow UUID (not its name — list_decision_flows returns both). | |
| description | No | Optional description. | |
| rule_set_steps | No | Ordered list of rule set steps (see ``create_decision_flow`` for the shape). | |
| add_missing_variables | No | With ``steps``, add a decision variable for every step term none matches (default true; see ``create_decision_flow``). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||