BookmarkSubscribeRSS Feed
KumarT_SAS
SAS Employee

This guide will walk you through adding Python code files to a decision flow in SAS Decision Builder, allowing you to customize approval and denial messages based on the decision outcome. We’ll also show you how to adjust a rule set on the fly to include necessary variables. Let’s get started!


Step 1: Create Python Code File for Approval Messages

 

  1. Create a New Python Code File: Start by creating a Python code file to generate an approval message.
  2. Write the Code: Enter the Python code that will send a custom approval message based on the decision outcome.
  3. Save the Code: Click Save. Upon saving, the system will automatically add any variables referenced in the code to the Variables tab of the Python code file.

 

KumarT_SAS_0-1731632865083.png

 

Continue here to read the full article

 

 

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

Discussion stats
  • 0 replies
  • 1365 views
  • 0 likes
  • 1 in conversation