<?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: Script Task objects in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/script-task-objects/m-p/137056#M96113</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;serialize and deserialize your class to json then. it should work.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Jun 2013 12:46:54 GMT</pubDate>
    <dc:creator>esseti</dc:creator>
    <dc:date>2013-06-12T12:46:54Z</dc:date>
    <item>
      <title>Script Task objects</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/script-task-objects/m-p/137051#M96108</link>
      <description>I use Script Task with default Java Script engine. How can I add my own class object to every process instance?</description>
      <pubDate>Thu, 06 Jun 2013 10:21:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/script-task-objects/m-p/137051#M96108</guid>
      <dc:creator>george_d</dc:creator>
      <dc:date>2013-06-06T10:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: Script Task objects</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/script-task-objects/m-p/137052#M96109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What do you mean with 'own class object' ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A variables? Some code you like to call in the script? or … ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jun 2013 14:53:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/script-task-objects/m-p/137052#M96109</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2013-06-10T14:53:38Z</dc:date>
    </item>
    <item>
      <title>Re: Script Task objects</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/script-task-objects/m-p/137053#M96110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I can add class instance to activiti engine, like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Map&amp;lt;Object, Object&amp;gt; globalObjects = new HashMap&amp;lt;Object, Object&amp;gt;();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;globalObjects.put("myObject", new MyClass());&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;((ProcessEngineConfigurationImpl) processEngineConfiguration).setBeans(globalObjects);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But, I want to create new class instance for each process instance. Is this possible?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;p.s. the object will only be used from script task.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2013 07:53:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/script-task-objects/m-p/137053#M96110</guid>
      <dc:creator>george_d</dc:creator>
      <dc:date>2013-06-11T07:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: Script Task objects</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/script-task-objects/m-p/137054#M96111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When you start a process instance you can pass a Map of variables to it. So just add your bean there and you have a unique bean instance per process instance that you can use in a script task or any other place where you can use expressions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2013 18:52:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/script-task-objects/m-p/137054#M96111</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2013-06-11T18:52:21Z</dc:date>
    </item>
    <item>
      <title>Re: Script Task objects</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/script-task-objects/m-p/137055#M96112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I can add only 'serializable' object to process instance from map of variables. It doesn't suit me.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jun 2013 12:02:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/script-task-objects/m-p/137055#M96112</guid>
      <dc:creator>george_d</dc:creator>
      <dc:date>2013-06-12T12:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: Script Task objects</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/script-task-objects/m-p/137056#M96113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;serialize and deserialize your class to json then. it should work.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jun 2013 12:46:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/script-task-objects/m-p/137056#M96113</guid>
      <dc:creator>esseti</dc:creator>
      <dc:date>2013-06-12T12:46:54Z</dc:date>
    </item>
  </channel>
</rss>

