<?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: SAS RTDM - SAS Process - Groovy in SAS Customer Intelligence</title>
    <link>https://communities.sas.com/t5/SAS-Customer-Intelligence/SAS-RTDM-SAS-Process-Groovy/m-p/477816#M970</link>
    <description>&lt;P&gt;Hi James,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the tip.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Do you have any idea if the Groovy code can be inserted into the SAS Code page or should it be inserted in some specific folder of the machine?&lt;BR /&gt;Can you tell me what is"com.sas.analytics.crm.rtdm.activities.GroovyClassActivity", should it be the name of the groovy code package?&lt;BR /&gt;&lt;BR /&gt;Thanks again for the helpfulness,&lt;BR /&gt;Paolo&lt;/P&gt;</description>
    <pubDate>Fri, 13 Jul 2018 09:17:59 GMT</pubDate>
    <dc:creator>psmerill</dc:creator>
    <dc:date>2018-07-13T09:17:59Z</dc:date>
    <item>
      <title>SAS RTDM - SAS Process - Groovy</title>
      <link>https://communities.sas.com/t5/SAS-Customer-Intelligence/SAS-RTDM-SAS-Process-Groovy/m-p/477027#M967</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm tring to create a SAS Process for reading data at Mongo DB in SAS Real Time Decision Manager using Groovy code.&lt;BR /&gt;When I've created a new SAS Process in SAS Customer Intelligence Studio, I've chosen "other" as "Code type" instead of SAS DS2, and I've chosen "Node" for "Process type".&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Therefore I did not understand what I have to put in tab "Class Code" on Properties page, and whether the Groovy code should be put on the SAS Code page or if should be saved on a path on the middle tier machine of SAS RTDM.&lt;/P&gt;&lt;P&gt;I've created a sample code in Groovy and tested it via Groovy Console; the code ends as correctly.&lt;BR /&gt;After I've created a SAS process with the same Groovy code entered on SAS Code page, while in tab Class Code I've inserted the name of package created into Groovy code. However the test of a campaign (into CIS) that uses this node, ends with errors.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are the errors due to the creation mode of SAS process described above?&lt;/P&gt;&lt;P&gt;Is there any documentations or example that describe how to create a SAS Process using groovy or python code?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Paolo&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jul 2018 10:28:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Customer-Intelligence/SAS-RTDM-SAS-Process-Groovy/m-p/477027#M967</guid>
      <dc:creator>psmerill</dc:creator>
      <dc:date>2018-07-11T10:28:25Z</dc:date>
    </item>
    <item>
      <title>Re: SAS RTDM - SAS Process - Groovy</title>
      <link>https://communities.sas.com/t5/SAS-Customer-Intelligence/SAS-RTDM-SAS-Process-Groovy/m-p/477460#M968</link>
      <description>HI Paolo,&lt;BR /&gt;In the Code Class field enter "com.sas.analytics.crm.rtdm.activities.GroovyClassActivity".&lt;BR /&gt;Cheers&lt;BR /&gt;James&lt;BR /&gt;</description>
      <pubDate>Thu, 12 Jul 2018 13:35:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Customer-Intelligence/SAS-RTDM-SAS-Process-Groovy/m-p/477460#M968</guid>
      <dc:creator>JamesAnderson</dc:creator>
      <dc:date>2018-07-12T13:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: SAS RTDM - SAS Process - Groovy</title>
      <link>https://communities.sas.com/t5/SAS-Customer-Intelligence/SAS-RTDM-SAS-Process-Groovy/m-p/477622#M969</link>
      <description>&lt;P&gt;Regarding this question:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;Is there any documentations or example that describe how to create a SAS Process using groovy or python code?
&lt;P class="1531415856462"&gt;&amp;nbsp;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The use of Groovy and Jython in&amp;nbsp;the SAS Process Node in RTDM is considered "experimental", and is not enabled out of the box. In order to even have the ability to use Groovy or Jython&amp;nbsp;in that node requires documentation, which includes the instructions on how to properly&amp;nbsp;use this capability. I suggest you check with whoever enabled this feature for you to get access to that documentation.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jul 2018 17:19:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Customer-Intelligence/SAS-RTDM-SAS-Process-Groovy/m-p/477622#M969</guid>
      <dc:creator>shill</dc:creator>
      <dc:date>2018-07-12T17:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: SAS RTDM - SAS Process - Groovy</title>
      <link>https://communities.sas.com/t5/SAS-Customer-Intelligence/SAS-RTDM-SAS-Process-Groovy/m-p/477816#M970</link>
      <description>&lt;P&gt;Hi James,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the tip.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Do you have any idea if the Groovy code can be inserted into the SAS Code page or should it be inserted in some specific folder of the machine?&lt;BR /&gt;Can you tell me what is"com.sas.analytics.crm.rtdm.activities.GroovyClassActivity", should it be the name of the groovy code package?&lt;BR /&gt;&lt;BR /&gt;Thanks again for the helpfulness,&lt;BR /&gt;Paolo&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jul 2018 09:17:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Customer-Intelligence/SAS-RTDM-SAS-Process-Groovy/m-p/477816#M970</guid>
      <dc:creator>psmerill</dc:creator>
      <dc:date>2018-07-13T09:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: SAS RTDM - SAS Process - Groovy</title>
      <link>https://communities.sas.com/t5/SAS-Customer-Intelligence/SAS-RTDM-SAS-Process-Groovy/m-p/478510#M972</link>
      <description>Hi Paolo,&lt;BR /&gt;Yes you can use the code page to enter the code you have written - you do not need to compile the code elsewhere.&lt;BR /&gt;The package name inside the groovy code can be anything you like, but in the Code Class box inside CI Studio you must use "com.sas.analytics.crm.rtdm.activities.GroovyClassActivity". This tells RTDM which built in function to use to compile and execute the code you have written.&lt;BR /&gt;The package name that you use in the code (for example MyCustomGroovyClass) can then be referenced in the SASDecisionServicesEngineServer.6.x-log4j.xml file to enable different levels of logging (assuming you have written code for log messages in your package).&lt;BR /&gt;Regards&lt;BR /&gt;James&lt;BR /&gt;</description>
      <pubDate>Mon, 16 Jul 2018 22:44:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Customer-Intelligence/SAS-RTDM-SAS-Process-Groovy/m-p/478510#M972</guid>
      <dc:creator>JamesAnderson</dc:creator>
      <dc:date>2018-07-16T22:44:13Z</dc:date>
    </item>
  </channel>
</rss>

