<?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: Execution listener on end event? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/execution-listener-on-end-event/m-p/66830#M42560</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This turned out to be a problem with our process definition.&amp;nbsp; We had a requirement to unassign tasks that had been assigned for more than 24 hours, and this was implemented using a parallel gateway and a timer/script that fired every 24 hours (which is obviously a bad idea for a variety of reasons).&amp;nbsp; The parallel execution prevented the workflow from ever completing, and thus the listener was never being fired.&amp;nbsp; We'll have to set up a job elsewhere to meet the 'unassign expired tasks' requirement, but at least we have our listeners working now.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Jan 2014 21:02:02 GMT</pubDate>
    <dc:creator>aggiepilot04</dc:creator>
    <dc:date>2014-01-03T21:02:02Z</dc:date>
    <item>
      <title>Execution listener on end event?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/execution-listener-on-end-event/m-p/66826#M42556</link>
      <description>I need to have an execution listener defined on the end event of my process.&amp;nbsp; Something like this:&amp;lt;endEvent id="abandoned"&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;extensionElements&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;activiti:executionListener class="seah.bpm.qualification.UserStatusListener"&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;activiti:field name="s</description>
      <pubDate>Wed, 27 Jul 2011 01:24:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/execution-listener-on-end-event/m-p/66826#M42556</guid>
      <dc:creator>unsavory</dc:creator>
      <dc:date>2011-07-27T01:24:18Z</dc:date>
    </item>
    <item>
      <title>Re: Execution listener on end event?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/execution-listener-on-end-event/m-p/66827#M42557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can add the listener one level up, under the process. That should work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But your case should work to. Can you create a Jira + testcase?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2011 12:10:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/execution-listener-on-end-event/m-p/66827#M42557</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2011-08-05T12:10:40Z</dc:date>
    </item>
    <item>
      <title>Re: Execution listener on end event?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/execution-listener-on-end-event/m-p/66828#M42558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I know this is an old thread, but I'm having a similar issue in 5.14.&amp;nbsp; I used the Eclipse designer to add the listener, and verified the generated BPMN (below).&amp;nbsp; Any ideas why this listener would not be fired?&amp;nbsp; My task listeners are working perfectly…just not the execution listener.&amp;nbsp; Thanks in advance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;definitions xmlns="&lt;/SPAN&gt;&lt;A href="http://www.omg.org/spec/BPMN/20100524/MODEL" rel="nofollow noopener noreferrer"&gt;http://www.omg.org/spec/BPMN/20100524/MODEL&lt;/A&gt;&lt;SPAN&gt;" xmlns:xsi="&lt;/SPAN&gt;&lt;A href="http://www.w3.org/2001/XMLSchema-instance" rel="nofollow noopener noreferrer"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;&lt;SPAN&gt;" xmlns:activiti="&lt;/SPAN&gt;&lt;A href="http://activiti.org/bpmn" rel="nofollow noopener noreferrer"&gt;http://activiti.org/bpmn&lt;/A&gt;&lt;SPAN&gt;" xmlns:bpmndi="&lt;/SPAN&gt;&lt;A href="http://www.omg.org/spec/BPMN/20100524/DI" rel="nofollow noopener noreferrer"&gt;http://www.omg.org/spec/BPMN/20100524/DI&lt;/A&gt;&lt;SPAN&gt;" xmlns&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;mgdc="&lt;/SPAN&gt;&lt;A href="http://www.omg.org/spec/DD/20100524/DC" rel="nofollow noopener noreferrer"&gt;http://www.omg.org/spec/DD/20100524/DC&lt;/A&gt;&lt;SPAN&gt;" xmlns&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;mgdi="&lt;/SPAN&gt;&lt;A href="http://www.omg.org/spec/DD/20100524/DI" rel="nofollow noopener noreferrer"&gt;http://www.omg.org/spec/DD/20100524/DI&lt;/A&gt;&lt;SPAN&gt;" typeLanguage="&lt;/SPAN&gt;&lt;A href="http://www.w3.org/2001/XMLSchema" rel="nofollow noopener noreferrer"&gt;http://www.w3.org/2001/XMLSchema&lt;/A&gt;&lt;SPAN&gt;" expressionLanguage="&lt;/SPAN&gt;&lt;A href="http://www.w3.org/1999/XPath" rel="nofollow noopener noreferrer"&gt;http://www.w3.org/1999/XPath&lt;/A&gt;&lt;SPAN&gt;" targetNamespace="&lt;/SPAN&gt;&lt;A href="http://www.activiti.org/test" rel="nofollow noopener noreferrer"&gt;http://www.activiti.org/test&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;process id="theProcess" name="The Process" isExecutable="true"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;extensionElements&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:executionListener event="end" class="package.WorkflowCompletionListener"&amp;gt;&amp;lt;/activiti:executionListener&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/extensionElements&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;….&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Dec 2013 23:21:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/execution-listener-on-end-event/m-p/66828#M42558</guid>
      <dc:creator>aggiepilot04</dc:creator>
      <dc:date>2013-12-19T23:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: Execution listener on end event?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/execution-listener-on-end-event/m-p/66829#M42559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried the &lt;/SPAN&gt;&lt;CODE&gt;org.activiti.examples.bpmn.executionlistener.ExecutionListenerTest.testExecutionListenersOnAllPossibleElements()&lt;/CODE&gt;&lt;SPAN&gt;with small change&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt; &amp;lt;process id="executionListenersProcess"&amp;gt;&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;extensionElements&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:executionListener class="org.activiti.examples.bpmn.executionlistener.ExampleExecutionListenerOne" event="start" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/extensionElements&amp;gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;to end event.&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt; &amp;lt;process id="executionListenersProcess"&amp;gt;&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;extensionElements&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:executionListener class="org.activiti.examples.bpmn.executionlistener.ExampleExecutionListenerOne" event="end" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/extensionElements&amp;gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;It works. Could you create test case for it?&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>Fri, 20 Dec 2013 08:11:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/execution-listener-on-end-event/m-p/66829#M42559</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2013-12-20T08:11:30Z</dc:date>
    </item>
    <item>
      <title>Re: Execution listener on end event?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/execution-listener-on-end-event/m-p/66830#M42560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This turned out to be a problem with our process definition.&amp;nbsp; We had a requirement to unassign tasks that had been assigned for more than 24 hours, and this was implemented using a parallel gateway and a timer/script that fired every 24 hours (which is obviously a bad idea for a variety of reasons).&amp;nbsp; The parallel execution prevented the workflow from ever completing, and thus the listener was never being fired.&amp;nbsp; We'll have to set up a job elsewhere to meet the 'unassign expired tasks' requirement, but at least we have our listeners working now.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jan 2014 21:02:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/execution-listener-on-end-event/m-p/66830#M42560</guid>
      <dc:creator>aggiepilot04</dc:creator>
      <dc:date>2014-01-03T21:02:02Z</dc:date>
    </item>
  </channel>
</rss>

