<?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 Listen to generic events in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/listen-to-generic-events/m-p/14721#M6369</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey guys.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The Event Bus didn't made it into Activiti, now I ask myself: How can I register generically for a certain event, not dependant to a specific instace. For example: "Call this Listener evey time any process instance ends". Or "every time I enter a state"… Use case is to plugin some monitoring and cleanup.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a clean and easy way for this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Bernd&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Dec 2010 07:58:23 GMT</pubDate>
    <dc:creator>bernd_ruecker</dc:creator>
    <dc:date>2010-12-21T07:58:23Z</dc:date>
    <item>
      <title>Listen to generic events</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/listen-to-generic-events/m-p/14721#M6369</link>
      <description>Hey guys.The Event Bus didn't made it into Activiti, now I ask myself: How can I register generically for a certain event, not dependant to a specific instace. For example: "Call this Listener evey time any process instance ends". Or "every time I enter a state"… Use case is to plugin some monitorin</description>
      <pubDate>Tue, 21 Dec 2010 07:58:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/listen-to-generic-events/m-p/14721#M6369</guid>
      <dc:creator>bernd_ruecker</dc:creator>
      <dc:date>2010-12-21T07:58:23Z</dc:date>
    </item>
    <item>
      <title>Re: Listen to generic events</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/listen-to-generic-events/m-p/14722#M6370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Bernd,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The way I solve this in Alfresco integration is the folowing:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Add a custom BPMNParseListener, eg:&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt; &amp;lt;!– BPMN Parse listener which adds tasklisteners to all userTasks –&amp;gt;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; &amp;lt;bean id="activitiParseListener" class="org.alfresco.repo.workflow.activiti.AddTaskListenerParseListener"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;property name="createTaskListener" ref="activitiCreateTaskListener" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;property name="completeTaskListener" ref="activitiCompleteTaskListener" /&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/bean&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; … &lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;bean id="engine" ….&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="customPreBPMNParseListeners" ref="activitiParseListener" /&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;- The parse-listener adds taskListener (create and complete) to all UserTasks parsed. In our case, you should use the parseProcess listener call to add event-listener(s) to all processes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This way, all activiti tasks in alfresco are wired to perform some magic &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://connect.hyland.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Dec 2010 07:03:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/listen-to-generic-events/m-p/14722#M6370</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2010-12-23T07:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: Listen to generic events</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/listen-to-generic-events/m-p/14723#M6371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ah, that was it. I remembered some workaround but forgot it. Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;To have a generic Event Listening Mechanism isn't planned, right?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope you had a good trip back to belgium and thanks again for the team beers &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Bernd&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Dec 2010 09:12:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/listen-to-generic-events/m-p/14723#M6371</guid>
      <dc:creator>bernd_ruecker</dc:creator>
      <dc:date>2010-12-23T09:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: Listen to generic events</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/listen-to-generic-events/m-p/14724#M6372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No other listener mechanism is planned then the ones that are there now: one for executions and one for tasks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Dec 2010 11:13:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/listen-to-generic-events/m-p/14724#M6372</guid>
      <dc:creator>tombaeyens</dc:creator>
      <dc:date>2010-12-23T11:13:28Z</dc:date>
    </item>
  </channel>
</rss>

