<?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: How to add and retain listener in runtime? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-add-and-retain-listener-in-runtime/m-p/191933#M145063</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you. I mean adding Spring beans as listeners in model design process (use Modeler or Designer)&amp;nbsp; is no problem. How could I add them to process definition after the model was deployed?. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there anyway to save TaskDefinition?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Jul 2014 09:59:00 GMT</pubDate>
    <dc:creator>holysoul</dc:creator>
    <dc:date>2014-07-22T09:59:00Z</dc:date>
    <item>
      <title>How to add and retain listener in runtime?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-add-and-retain-listener-in-runtime/m-p/191927#M145057</link>
      <description>Dear all.I plan to create a new form to edit properties for process definitions after deploying model.Greatly, the task could be listed and changed (as setAssignee, Duedate,priority),… right to database.However, I also would like to add or remove some listeners to task definition. In your user guide</description>
      <pubDate>Mon, 14 Jul 2014 10:16:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-add-and-retain-listener-in-runtime/m-p/191927#M145057</guid>
      <dc:creator>holysoul</dc:creator>
      <dc:date>2014-07-14T10:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to add and retain listener in runtime?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-add-and-retain-listener-in-runtime/m-p/191928#M145058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if you add listener in ParseHandler and process engine configuration (with parse handlers) is the same you should get the same listeners for tasks after reboot.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you add&amp;nbsp; listeners in the runtime by your own implementation you should persist listeners configuration somewhere (depends on your implementation)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2014 05:34:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-add-and-retain-listener-in-runtime/m-p/191928#M145058</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2014-07-15T05:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to add and retain listener in runtime?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-add-and-retain-listener-in-runtime/m-p/191929#M145059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank martin.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I will give it a try. One more question, Am I able to add expression-type listener (using spring bean) in runtime.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2014 07:03:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-add-and-retain-listener-in-runtime/m-p/191929#M145059</guid>
      <dc:creator>holysoul</dc:creator>
      <dc:date>2014-07-15T07:03:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to add and retain listener in runtime?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-add-and-retain-listener-in-runtime/m-p/191930#M145060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Spring bean listener -&amp;gt; yes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2014 07:58:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-add-and-retain-listener-in-runtime/m-p/191930#M145060</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2014-07-17T07:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to add and retain listener in runtime?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-add-and-retain-listener-in-runtime/m-p/191931#M145061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Great to hear that &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;. But in more detail, I mean I want to add listener for deployed model (process definition)? Do you have any suggests? Thank you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;More information: In my though, user would prefer editing process definition than model , luckily activiti supports saving basic task information, although I prepare some method beans&amp;nbsp; ( I like Spring bean to make configurable and flexible app), but do not know to add them into definition in runtime. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Jul 2014 02:35:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-add-and-retain-listener-in-runtime/m-p/191931#M145061</guid>
      <dc:creator>holysoul</dc:creator>
      <dc:date>2014-07-19T02:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to add and retain listener in runtime?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-add-and-retain-listener-in-runtime/m-p/191932#M145062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm not really sure what your asking. You can define a Spring bean definition in your Spring context and then use a delegateExpression listener to invoke that Spring bean:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://activiti.org/userguide/index.html#executionListeners" rel="nofollow noopener noreferrer"&gt;http://activiti.org/userguide/index.html#executionListeners&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this what you are looking for?&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>Mon, 21 Jul 2014 08:37:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-add-and-retain-listener-in-runtime/m-p/191932#M145062</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2014-07-21T08:37:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to add and retain listener in runtime?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-add-and-retain-listener-in-runtime/m-p/191933#M145063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you. I mean adding Spring beans as listeners in model design process (use Modeler or Designer)&amp;nbsp; is no problem. How could I add them to process definition after the model was deployed?. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there anyway to save TaskDefinition?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2014 09:59:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-add-and-retain-listener-in-runtime/m-p/191933#M145063</guid>
      <dc:creator>holysoul</dc:creator>
      <dc:date>2014-07-22T09:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to add and retain listener in runtime?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-add-and-retain-listener-in-runtime/m-p/191934#M145064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I totally don't follow your question…..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The process definition defines what listener will be called…. in XML.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then, you must put it on the classpath.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What else are you trying to do?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jul 2014 07:37:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-add-and-retain-listener-in-runtime/m-p/191934#M145064</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-07-25T07:37:14Z</dc:date>
    </item>
  </channel>
</rss>

