<?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 Re: Intelligent Decisioning: ERROR Unknown Custom Fuction in SAS Viya</title>
    <link>https://communities.sas.com/t5/SAS-Viya/Intelligent-Decisioning-ERROR-Unknown-Custom-Fuction/m-p/942586#M2556</link>
    <description>Hi Andrew, a fix for this issue is available in the latest patch for 2024.08. Please update to the latest version of 2024.08 to include the fix for the issue you are describing.</description>
    <pubDate>Wed, 04 Sep 2024 19:27:05 GMT</pubDate>
    <dc:creator>DianaMaris-SAS</dc:creator>
    <dc:date>2024-09-04T19:27:05Z</dc:date>
    <item>
      <title>Intelligent Decisioning: ERROR Unknown Custom Fuction</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Intelligent-Decisioning-ERROR-Unknown-Custom-Fuction/m-p/942371#M2555</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Version: Stable 2024.08&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Release: 20240827.1724745249889&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Custom Functions in SAS Viya Intelligent Decisioning (ID) are no longer working.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Our recent update to&lt;SPAN&gt; 2024.08&lt;/SPAN&gt; coincides with the start of this issue, but this may be unrelated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We make use of many Custom Functions in our Code files, Decision flows and Rule sets. Until recently, this has worked without error.&lt;/P&gt;&lt;P&gt;However, we are now receiving the following error when we try to score an item in ID:&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#808080"&gt;&lt;SPAN&gt;(I've replaced the function names with XXX)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;ERROR: Compilation error.&lt;BR /&gt;ERROR: Line 225: Unknown function XXX.&lt;BR /&gt;ERROR: Line 459: Package "casuser(example_user)".brm_51_ruleset_0 is not defined.&lt;BR /&gt;ERROR: Line 552: Thread "casuser(example_user)".brm_rules_execution_thread is not defined.&lt;BR /&gt;ERROR: Line 552: The thread type brm_rules_execution_thread, used in declaring _t, is not defined.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AndrewM_1-1725387364645.png" style="width: 1099px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/99926iB9B163D4E9A0F0EB/image-dimensions/1099x649?v=v2" width="1099" height="649" role="button" title="AndrewM_1-1725387364645.png" alt="AndrewM_1-1725387364645.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Likewise, any newly published SCR containers also throw this error at startup:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;BLOCKQUOTE&gt;&lt;DIV&gt;&lt;SPAN&gt;2024-09-03&lt;/SPAN&gt; &lt;SPAN&gt;17&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;22&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;25.966&lt;/SPAN&gt;&lt;SPAN&gt; ERROR --- [&lt;/SPAN&gt;&lt;SPAN&gt;pool&lt;/SPAN&gt;&lt;SPAN&gt;-1&lt;/SPAN&gt;&lt;SPAN&gt;-thread&lt;/SPAN&gt;&lt;SPAN&gt;-1&lt;/SPAN&gt;&lt;SPAN&gt;] c.s.m.solo.impl.loader.DS&lt;/SPAN&gt;&lt;SPAN&gt;2&lt;/SPAN&gt;&lt;SPAN&gt;ModuleHandler &amp;nbsp; &amp;nbsp; &amp;nbsp;: Error compiling module XXX: [&lt;/SPAN&gt;&lt;SPAN&gt;Line&lt;/SPAN&gt; &lt;SPAN&gt;19&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN&gt;Package&lt;/SPAN&gt; &lt;SPAN&gt;tkmas.XXX_package_&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;_&lt;/SPAN&gt;&lt;SPAN&gt;11&lt;/SPAN&gt; &lt;SPAN&gt;is&lt;/SPAN&gt; &lt;SPAN&gt;not&lt;/SPAN&gt; &lt;SPAN&gt;defined.&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;Line&lt;/SPAN&gt; &lt;SPAN&gt;10&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN&gt;Package&lt;/SPAN&gt; &lt;SPAN&gt;tkmas.XXX_package_&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;_&lt;/SPAN&gt;&lt;SPAN&gt;6&lt;/SPAN&gt; &lt;SPAN&gt;is&lt;/SPAN&gt; &lt;SPAN&gt;not&lt;/SPAN&gt; &lt;SPAN&gt;defined.&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;Line&lt;/SPAN&gt; &lt;SPAN&gt;49&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN&gt;Unknown&lt;/SPAN&gt; &lt;SPAN&gt;function&lt;/SPAN&gt; &lt;SPAN&gt;YYY.&lt;/SPAN&gt;&lt;SPAN&gt;] &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;2024-09-03&lt;/SPAN&gt; &lt;SPAN&gt;17&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;22&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;25.969&lt;/SPAN&gt;&lt;SPAN&gt; ERROR --- [&lt;/SPAN&gt;&lt;SPAN&gt;pool&lt;/SPAN&gt;&lt;SPAN&gt;-1&lt;/SPAN&gt;&lt;SPAN&gt;-thread&lt;/SPAN&gt;&lt;SPAN&gt;-1&lt;/SPAN&gt;&lt;SPAN&gt;] c.sas.mas.solo.impl.loader.ModuleLoader &amp;nbsp; &amp;nbsp; &amp;nbsp;: Could not compile module XXX &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;com.sas.mas.solo.impl.MASSoloException: Error compiling module XXX: [&lt;/SPAN&gt;&lt;SPAN&gt;Line&lt;/SPAN&gt; &lt;SPAN&gt;19&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN&gt;Package&lt;/SPAN&gt; &lt;SPAN&gt;tkmas.XXX_package_&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;_&lt;/SPAN&gt;&lt;SPAN&gt;11&lt;/SPAN&gt; &lt;SPAN&gt;is&lt;/SPAN&gt; &lt;SPAN&gt;not&lt;/SPAN&gt; &lt;SPAN&gt;defined.&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;Line&lt;/SPAN&gt; &lt;SPAN&gt;10&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN&gt;Package&lt;/SPAN&gt; &lt;SPAN&gt;tkmas.XXX_package_&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;_&lt;/SPAN&gt;&lt;SPAN&gt;6&lt;/SPAN&gt; &lt;SPAN&gt;is&lt;/SPAN&gt; &lt;SPAN&gt;not&lt;/SPAN&gt; &lt;SPAN&gt;defined.&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;Line&lt;/SPAN&gt; &lt;SPAN&gt;49&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN&gt;Unknown&lt;/SPAN&gt; &lt;SPAN&gt;function&lt;/SPAN&gt; &lt;SPAN&gt;YYY.&lt;/SPAN&gt;&lt;SPAN&gt;] &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; at com.sas.mas.solo.impl.loader.DS&lt;/SPAN&gt;&lt;SPAN&gt;2&lt;/SPAN&gt;&lt;SPAN&gt;ModuleHandler.compile(DS&lt;/SPAN&gt;&lt;SPAN&gt;2&lt;/SPAN&gt;&lt;SPAN&gt;ModuleHandler.java:&lt;/SPAN&gt;&lt;SPAN&gt;110&lt;/SPAN&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; at com.sas.mas.solo.impl.loader.ModuleManager.compileInternal(ModuleManager.java:&lt;/SPAN&gt;&lt;SPAN&gt;142&lt;/SPAN&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; at com.sas.mas.solo.impl.loader.ModuleManager.compile(ModuleManager.java:&lt;/SPAN&gt;&lt;SPAN&gt;81&lt;/SPAN&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; at com.sas.mas.solo.impl.loader.ModuleLoader$&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;.call(ModuleLoader.java:&lt;/SPAN&gt;&lt;SPAN&gt;173&lt;/SPAN&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; at com.sas.mas.solo.impl.loader.ModuleLoader$&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;.call(ModuleLoader.java:&lt;/SPAN&gt;&lt;SPAN&gt;169&lt;/SPAN&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:&lt;/SPAN&gt;&lt;SPAN&gt;264&lt;/SPAN&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:&lt;/SPAN&gt;&lt;SPAN&gt;1136&lt;/SPAN&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:&lt;/SPAN&gt;&lt;SPAN&gt;635&lt;/SPAN&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; at java.base/java.lang.Thread.run(Thread.java:&lt;/SPAN&gt;&lt;SPAN&gt;840&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Inspecting the compiled SAS code, it looks like ID is simply not including the method definitions in the code anymore. When I look at the results from past scoring tests, I can see in the compiled code the method(s) of the Custom Functions. This is not the case anymore.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When editing new or existing Code files, I can still select from the Custom Functions toolbar, so they do still exist, but ID is just not including their method definitions at compile time.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AndrewM_0-1725386812979.png" style="width: 813px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/99925iEDF7F322ECCF78DC/image-dimensions/813x465?v=v2" width="813" height="465" role="button" title="AndrewM_0-1725386812979.png" alt="AndrewM_0-1725386812979.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This issue is going to cause a massive blocker for our production deployments until we can resolve it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any assistance will be greatly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards, Andrew&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2024 18:22:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Intelligent-Decisioning-ERROR-Unknown-Custom-Fuction/m-p/942371#M2555</guid>
      <dc:creator>Andrew-M</dc:creator>
      <dc:date>2024-09-03T18:22:49Z</dc:date>
    </item>
    <item>
      <title>Re: Intelligent Decisioning: ERROR Unknown Custom Fuction</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Intelligent-Decisioning-ERROR-Unknown-Custom-Fuction/m-p/942586#M2556</link>
      <description>Hi Andrew, a fix for this issue is available in the latest patch for 2024.08. Please update to the latest version of 2024.08 to include the fix for the issue you are describing.</description>
      <pubDate>Wed, 04 Sep 2024 19:27:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Intelligent-Decisioning-ERROR-Unknown-Custom-Fuction/m-p/942586#M2556</guid>
      <dc:creator>DianaMaris-SAS</dc:creator>
      <dc:date>2024-09-04T19:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: Intelligent Decisioning: ERROR Unknown Custom Fuction</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Intelligent-Decisioning-ERROR-Unknown-Custom-Fuction/m-p/942651#M2557</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/431608"&gt;@DianaMaris-SAS&lt;/a&gt;.&lt;/P&gt;&lt;P&gt;We have applied the patch. Functionality has returned to normal.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Version: Stable 2024.08&lt;BR /&gt;Release: 20240904.1725465734675&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Thu, 05 Sep 2024 07:48:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Intelligent-Decisioning-ERROR-Unknown-Custom-Fuction/m-p/942651#M2557</guid>
      <dc:creator>Andrew-M</dc:creator>
      <dc:date>2024-09-05T07:48:34Z</dc:date>
    </item>
  </channel>
</rss>

