<?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: Add function to Nashorn Script API in Activiti in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/add-function-to-nashorn-script-api-in-activiti/m-p/16129#M7142</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That did the job ! and in an easy way , THANK YOU !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Sep 2017 11:13:46 GMT</pubDate>
    <dc:creator>bhchemss</dc:creator>
    <dc:date>2017-09-06T11:13:46Z</dc:date>
    <item>
      <title>Add function to Nashorn Script API in Activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/add-function-to-nashorn-script-api-in-activiti/m-p/16127#M7140</link>
      <description>Hi guys ,I want to define a function that I can create from it an instance in every script task and use its methods,I dont want to define it in every script task (javascript format)Example :&amp;nbsp;function myFunction(a,b)={return a+b;}Is it possible to add a class to Nashorn Script API&amp;nbsp;of Activiti &amp;nbsp;to add</description>
      <pubDate>Sun, 03 Sep 2017 13:14:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/add-function-to-nashorn-script-api-in-activiti/m-p/16127#M7140</guid>
      <dc:creator>bhchemss</dc:creator>
      <dc:date>2017-09-03T13:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: Add function to Nashorn Script API in Activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/add-function-to-nashorn-script-api-in-activiti/m-p/16128#M7141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am sorry that I have not tried it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cannot you use load function?&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;(ex) load("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://example.com/script.js" rel="nofollow noopener noreferrer" target="_blank"&gt;http://example.com/script.js&lt;/A&gt;&lt;SPAN&gt;")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://docs.oracle.com/javase/8/docs/technotes/guides/scripting/nashorn/shell.html" title="https://docs.oracle.com/javase/8/docs/technotes/guides/scripting/nashorn/shell.html" rel="nofollow noopener noreferrer"&gt;Nashorn and Shell Scripting&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Sep 2017 14:22:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/add-function-to-nashorn-script-api-in-activiti/m-p/16128#M7141</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-05T14:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: Add function to Nashorn Script API in Activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/add-function-to-nashorn-script-api-in-activiti/m-p/16129#M7142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That did the job ! and in an easy way , THANK YOU !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Sep 2017 11:13:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/add-function-to-nashorn-script-api-in-activiti/m-p/16129#M7142</guid>
      <dc:creator>bhchemss</dc:creator>
      <dc:date>2017-09-06T11:13:46Z</dc:date>
    </item>
  </channel>
</rss>

