Repository navigation
v1.19.0 — SAS Intelligent Decisioning end to end, and Microsoft Copilot
A minor release. Before, the SAS Intelligent Decisioning tools covered rule sets and decisions built only from rule sets. They now cover the whole product: every decision step kind, lookup tables, segmentation trees, value lists, code files and custom functions. Every asset is stored in a folder. Decisioning is split into two tiers, and the server reaches Microsoft 365 Copilot and Copilot Studio. (#69, #68)
Highlights
🧩 Decisions with every step kind
create_decision_flow / update_decision_flow take steps of every kind, nested freely: rule set, segmentation tree, code file, sub-decision, model, assignment, condition, and range, equals or like branches. The server wires each step: it picks the newest locked revision, maps terms by name and adds a decision variable for every unmapped term, so the decision validates and publishes. It refuses combinations the service would accept but could not run. The tool description has a worked example and spells out the rules that are easy to get wrong.
📖 Lookup tables
get_lookup_table, create_lookup_table, update_lookup_table and activate_lookup_table manage the keys and values that rules consult.
- Versions: entries are edited in versions, and an active version is never changed.
- Activation: it reports
active,runningorfailed, with Viya's reason, and also handles rollback and republish. - Already-published decisions: they use newly activated entries without being published again (verified live).
- Rules: rule tools resolve a lookup table named in a
lookupcondition or alookupValueaction to its ID. They report conditions and actions Viya would store as broken inproblems. - Delete guard: deleting a lookup table that rule sets still use is refused, and the refusal names those rule sets. Viya itself would delete it and leave them unable to generate code.
🌳 Trees, value lists, code files and custom functions
These are segmentation trees (including create_segmentation_tree_from_table, which turns a FICO-style strategy table into one tree), value lists, DS2/Python/SQL code files and custom functions. Custom functions are compiled before they are saved. One shared life cycle covers every kind: list, get, copy and delete_decisioning_asset, plus get_decisioning_asset_code, list_decisioning_asset_revisions and lock_decisioning_asset_revision. validate_decision_expression checks a DS2 condition or action before it goes into a rule set or decision.
🗂️ Two decisioning tiers
- Tier 7, Decisioning Foundation (34 tools): everything it had, plus lookup tables, the life-cycle tools and expression validation.
- Tier 10, Decisioning Advanced (10 tools, new): trees, value lists, code files and custom functions.
- Tier 10 needs Tier 7, which puts that content into decisions and reads, locks and deletes it. The server logs a warning at startup when Tier 10 is enabled without it.
📁 Every decisioning asset is stored in a folder
Rule sets and decision flows used to be created outside any folder, so no folder view showed them. Every decisioning create now takes folder, which can be:
- a path such as
/Public/Content/Decisions My Folder, or a path below it- a folder ID
- a folder URI
Without folder, the create uses the new MCP_DEFAULT_FOLDER. With neither, the call is refused before anything is created and the model is told to ask the user. Updates never move an asset, and an asset created earlier is filed by its next update. The new find_folder tool (Tier 2, read-only) resolves the same references.
🚀 Publishing for MAS
publish_decision_flow now generates the decision's code for MAS, as the Intelligent Decisioning UI does. Before, decisions that use a lookup table could not be published, and now they can. Modules keep the decision's own input names, without the UI's trailing underscores.
In a 50-case comparison against the modules published before, every output matched except PathID, which MAS code leaves empty. score_data now also accepts plain input names for modules published from the UI, and reports the mapping in inputs_renamed.
🪟 Microsoft 365 Copilot and Copilot Studio
examples/m365-copilot/: a Microsoft 365 Copilot declarative agent.examples/copilot-studio/: a Copilot Studio how-to.examples/copilot-studio/certified-connector/: a draft package for Microsoft's MCP certification.examples/microsoft-copilot.md: a guide to choosing between the two routes.
Two new settings make the integrations work:
MCP_OAUTH_CLIENT_SECRETS=truelets Microsoft 365 Copilot register itself again.MCP_TOOL_RENAME=catalog_=infocat_works around Copilot Studio's runtime, which fails on tool names that start withcatalog_.
🔢 Tool count
115 tools in 11 tiers (was 92 in 10 tiers): 57 read-only and 28 destructive. Tier 7 goes from 22 to 34 tools, the new Tier 10 has 10, and Tier 2 gains find_folder.
🐳 Container image
ghcr.io/sassoftware/sas-mcp-server:1.19.0
Also published as 1.19, 1 and latest. Helm chart 0.6.0 (appVersion 1.19.0) is a minor chart bump for three new values: server.defaultFolder, server.toolRename and server.oauthClientSecrets.
⚠️ Upgrading
- Decisioning creates need a folder. Set
MCP_DEFAULT_FOLDER(chart:server.defaultFolder) or passfolderon each call. Without either,create_business_rulesetandcreate_decision_floware refused. - Trees, value lists, code files and custom functions are in the new Tier 10. A deployment that limits
MCP_TIERSadds10, alongside7, to get them. publish_decision_flownow publishes MAS code. Outputs are unchanged exceptPathID, which is now empty.