<?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: ExecutionListener was excuted 2 times, why? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/executionlistener-was-excuted-2-times-why/m-p/142917#M100046</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How does your BPMN XML look like?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Jul 2013 12:33:49 GMT</pubDate>
    <dc:creator>frederikherema1</dc:creator>
    <dc:date>2013-07-10T12:33:49Z</dc:date>
    <item>
      <title>ExecutionListener was excuted 2 times, why?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/executionlistener-was-excuted-2-times-why/m-p/142916#M100045</link>
      <description>I encouter a question.I defined a class named ExecutionCommentListner implements ExecutionListener, and defined it's event="end"; like below&lt;IMG id="smileytongue" class="emoticon emoticon-smileytongue" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ublic class ExecutionCommentListner implements ExecutionListener {&amp;nbsp;&amp;nbsp;&amp;nbsp;private static final long serialVersionUID = -6014971966749562667L;&amp;nbsp;&amp;nbsp;&amp;nbsp;public void notify(</description>
      <pubDate>Wed, 10 Jul 2013 09:01:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/executionlistener-was-excuted-2-times-why/m-p/142916#M100045</guid>
      <dc:creator>wliang_bj</dc:creator>
      <dc:date>2013-07-10T09:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: ExecutionListener was excuted 2 times, why?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/executionlistener-was-excuted-2-times-why/m-p/142917#M100046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How does your BPMN XML look like?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jul 2013 12:33:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/executionlistener-was-excuted-2-times-why/m-p/142917#M100046</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-07-10T12:33:49Z</dc:date>
    </item>
    <item>
      <title>Re: ExecutionListener was excuted 2 times, why?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/executionlistener-was-excuted-2-times-why/m-p/142918#M100047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;userTask id="directorAudit" name="ManagerAudit" activiti:assignee="${assignee}" activiti:formKey="audit.form"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;documentation&amp;gt;${applyUserName} want to apply ${days} days and ${type}(${startTime}to${endTime}) holiday&amp;lt;/documentation&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&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;nbsp;&amp;nbsp; &amp;lt;activiti:executionListener event="end" class="cn.com.etib.iacframework.activiti.service.ExecutionCommentListner"&amp;gt;&amp;lt;/activiti:executionListener&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&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;multiInstanceLoopCharacteristics isSequential="false" activiti:collection="${security.getDirectorsByStarter(applier)}" activiti:elementVariable="assignee"&amp;gt;&amp;lt;/multiInstanceLoopCharacteristics&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/userTask&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jul 2013 06:33:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/executionlistener-was-excuted-2-times-why/m-p/142918#M100047</guid>
      <dc:creator>wliang_bj</dc:creator>
      <dc:date>2013-07-15T06:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: ExecutionListener was excuted 2 times, why?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/executionlistener-was-excuted-2-times-why/m-p/142919#M100048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Above is a period of my bpm description, did I do anything wrong?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jul 2013 06:35:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/executionlistener-was-excuted-2-times-why/m-p/142919#M100048</guid>
      <dc:creator>wliang_bj</dc:creator>
      <dc:date>2013-07-15T06:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: ExecutionListener was excuted 2 times, why?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/executionlistener-was-excuted-2-times-why/m-p/142920#M100049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It seems that you have more than one instance of the &amp;lt;code&amp;gt;directorAudit&amp;lt;/code&amp;gt; activity - depending on the content of the &amp;lt;code&amp;gt;security.getDirectorsByStarter(applier)&amp;lt;/code&amp;gt; you receive messages (log records) for each activity instance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jul 2013 13:26:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/executionlistener-was-excuted-2-times-why/m-p/142920#M100049</guid>
      <dc:creator>mmaker1234</dc:creator>
      <dc:date>2013-07-16T13:26:11Z</dc:date>
    </item>
    <item>
      <title>Re: ExecutionListener was excuted 2 times, why?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/executionlistener-was-excuted-2-times-why/m-p/142921#M100050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;${security.getDirectorsByStarter(applier)} has only one result.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My situation is when I use ExecutionListner to listen to the task finish My listener was executed twoice, but when I change it to TaskListener, My listener was executed only once.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have writer ExecutionCommentListner implements ExecutionListener and TaskCommentListner implements TaskListener to test the different situation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jul 2013 07:03:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/executionlistener-was-excuted-2-times-why/m-p/142921#M100050</guid>
      <dc:creator>wliang_bj</dc:creator>
      <dc:date>2013-07-19T07:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: ExecutionListener was excuted 2 times, why?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/executionlistener-was-excuted-2-times-why/m-p/142922#M100051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm guessing you're receiving one execution listener event for the task-instance being completed and another event when the whole multi-instance scope is completed… So in case you have a Munti-instance with 5 instances, you're execution-listener will be called 6 times. Can you validate this behavior?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jul 2013 08:49:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/executionlistener-was-excuted-2-times-why/m-p/142922#M100051</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-07-19T08:49:48Z</dc:date>
    </item>
  </channel>
</rss>

