<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to Add Python Code Files to a Decision Flow in SAS Decision Builder in SAS Decision Builder Discussion</title>
    <link>https://communities.sas.com/t5/SAS-Decision-Builder-Discussion/How-to-Add-Python-Code-Files-to-a-Decision-Flow-in-SAS-Decision/m-p/950902#M11</link>
    <description>&lt;P&gt;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!&lt;/P&gt;
&lt;HR /&gt;
&lt;H4 id="toc-hId-1456583777"&gt;&lt;STRONG&gt;Step 1: Create Python Code File for Approval Messages&lt;/STRONG&gt;&lt;/H4&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;STRONG&gt;Create a New Python Code File&lt;/STRONG&gt;: Start by creating a Python code file to generate an approval message.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Write the Code&lt;/STRONG&gt;: Enter the Python code that will send a custom approval message based on the decision outcome.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Save the Code&lt;/STRONG&gt;: Click&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Save&lt;/STRONG&gt;. Upon saving, the system will automatically add any variables referenced in the code to the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Variables&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;tab of the Python code file.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="KumarT_SAS_0-1731632865083.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/102253iDBFBC228B4EB4E51/image-size/large?v=v2&amp;amp;px=999" role="button" title="KumarT_SAS_0-1731632865083.png" alt="KumarT_SAS_0-1731632865083.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Continue &lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-Add-Python-Code-Files-to-a-Decision-Flow-in-SAS-Decision/ta-p/950898" target="_self"&gt;here&lt;/A&gt; to read the full article&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 10 Dec 2024 14:20:28 GMT</pubDate>
    <dc:creator>KumarT_SAS</dc:creator>
    <dc:date>2024-12-10T14:20:28Z</dc:date>
    <item>
      <title>How to Add Python Code Files to a Decision Flow in SAS Decision Builder</title>
      <link>https://communities.sas.com/t5/SAS-Decision-Builder-Discussion/How-to-Add-Python-Code-Files-to-a-Decision-Flow-in-SAS-Decision/m-p/950902#M11</link>
      <description>&lt;P&gt;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!&lt;/P&gt;
&lt;HR /&gt;
&lt;H4 id="toc-hId-1456583777"&gt;&lt;STRONG&gt;Step 1: Create Python Code File for Approval Messages&lt;/STRONG&gt;&lt;/H4&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;STRONG&gt;Create a New Python Code File&lt;/STRONG&gt;: Start by creating a Python code file to generate an approval message.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Write the Code&lt;/STRONG&gt;: Enter the Python code that will send a custom approval message based on the decision outcome.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Save the Code&lt;/STRONG&gt;: Click&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Save&lt;/STRONG&gt;. Upon saving, the system will automatically add any variables referenced in the code to the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Variables&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;tab of the Python code file.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="KumarT_SAS_0-1731632865083.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/102253iDBFBC228B4EB4E51/image-size/large?v=v2&amp;amp;px=999" role="button" title="KumarT_SAS_0-1731632865083.png" alt="KumarT_SAS_0-1731632865083.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Continue &lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-Add-Python-Code-Files-to-a-Decision-Flow-in-SAS-Decision/ta-p/950898" target="_self"&gt;here&lt;/A&gt; to read the full article&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2024 14:20:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Decision-Builder-Discussion/How-to-Add-Python-Code-Files-to-a-Decision-Flow-in-SAS-Decision/m-p/950902#M11</guid>
      <dc:creator>KumarT_SAS</dc:creator>
      <dc:date>2024-12-10T14:20:28Z</dc:date>
    </item>
  </channel>
</rss>

