Create Business Ruleset
create_business_rulesetCreates a SAS Business Rules rule set in a specified or default folder, defining input and output variables so you can add rules for use in decision flows.
Instructions
Create a new SAS Business Rules rule set in a SAS Content folder.
A rule set with no rules cannot be used in a decision flow — follow up
with create_business_rule to populate it.
The rule set is always stored in a folder. Without folder it goes to
the deployment's default folder; when there is none, the call is refused
and you should ask the user which folder to use. The result's folder
says where it was stored.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Rule set name (max 30 chars). | |
| folder | No | Where to store the rule set: a folder path such as ``/Public/Content/Decisions``, ``My Folder`` (or a folder below it, ``My Folder/Risk``), a folder ID, or a folder URI (``/folders/folders/<id>``). Omit to use the default folder. | |
| signature | Yes | Input/output/inOut variables the rules operate on, each ``{"name", "dataType", "direction"}`` — dataType one of string, decimal, integer, date, datetime, dataGrid, boolean, any; direction one of input, output, inOut. | |
| description | No | Optional description. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||