<?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 Historic tracking of multiple end events reached in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/historic-tracking-of-multiple-end-events-reached/m-p/89025#M60478</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;as far as I'm concerned there is a problem in the historic data model that keeps us from tracking historic process state correctly. Assumed that following process definition is completely legal in BPMN 2.0 (and we do have similar patterns in our process definitions):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[img]&lt;/SPAN&gt;&lt;A href="https://img.skitch.com/20120502-eu6kdkuhqmitueumcaadmpkr4.jpg" rel="nofollow noopener noreferrer"&gt;https://img.skitch.com/20120502-eu6kdkuhqmitueumcaadmpkr4.jpg&lt;/A&gt;&lt;SPAN&gt;[/img]&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;BR /&gt;&amp;lt;definitions xmlns="&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;" xmlns:xsi="&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;" xmlns:activiti="&lt;A href="http://activiti.org/bpmn" rel="nofollow noopener noreferrer"&gt;http://activiti.org/bpmn&lt;/A&gt;" xmlns:bpmndi="&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;" xmlns:omgdc="&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;" xmlns:omgdi="&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;" typeLanguage="&lt;A href="http://www.w3.org/2001/XMLSchema" rel="nofollow noopener noreferrer"&gt;http://www.w3.org/2001/XMLSchema&lt;/A&gt;" expressionLanguage="&lt;A href="http://www.w3.org/1999/XPath" rel="nofollow noopener noreferrer"&gt;http://www.w3.org/1999/XPath&lt;/A&gt;" targetNamespace="&lt;A href="http://www.activiti.org/test" rel="nofollow noopener noreferrer"&gt;http://www.activiti.org/test&lt;/A&gt;"&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;process id="process1" name="process1"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;startEvent id="startevent1" name="Start"&amp;gt;&amp;lt;/startEvent&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;userTask id="usertask1" name="Handle Something"&amp;gt;&amp;lt;/userTask&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;boundaryEvent id="boundarytimer3" name="" cancelActivity="false" attachedToRef="usertask1"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;timerEventDefinition&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;timeDuration&amp;gt;P5D&amp;lt;/timeDuration&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/timerEventDefinition&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/boundaryEvent&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sequenceFlow id="flow1" name="" sourceRef="startevent1" targetRef="usertask1"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;serviceTask id="mailtask1" name="Notify Handling overdue" activiti:type="mail"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&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;nbsp;&amp;nbsp; &amp;lt;activiti:field name="to" expression="supervisor@company.com"&amp;gt;&amp;lt;/activiti:field&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:field name="from" expression="engine@company.com"&amp;gt;&amp;lt;/activiti:field&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:field name="subject" expression="Handling overdue"&amp;gt;&amp;lt;/activiti:field&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/extensionElements&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/serviceTask&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sequenceFlow id="flow2" name="" sourceRef="boundarytimer3" targetRef="mailtask1"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;serviceTask id="servicetask1" name="Process Something" activiti:expression="${doBean.handleSomething}"&amp;gt;&amp;lt;/serviceTask&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sequenceFlow id="flow3" name="" sourceRef="usertask1" targetRef="servicetask1"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;endEvent id="endevent1" name="Something handled"&amp;gt;&amp;lt;/endEvent&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sequenceFlow id="flow4" name="" sourceRef="servicetask1" targetRef="endevent1"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;endEvent id="endevent2" name="Notfication sent"&amp;gt;&amp;lt;/endEvent&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sequenceFlow id="flow5" name="" sourceRef="mailtask1" targetRef="endevent2"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/process&amp;gt;&lt;BR /&gt;&amp;lt;/definitions&amp;gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Basically this is a monitoring workflow, without the monitoring event being triggered having influence on the main process flow at all. Similar issues we have with forking executions through a parallel gateway without the need to join again later.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The process runs correctly, both end events will be reached (validated by a listener). Nevertheless, only one end event will be tracked in ACT_HI_PROCINST. Basically it seems like we are missing an entity like ACT_HI_EXECUTIONS, thus at least being able to track n end events for 1 process instance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For our use case it is crucial to investigate and visualize state of running and completed processes correctly. In current state of the data model, it seems to be undeterministic which end event gets tracked.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My questions:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- is there something I'm missing here?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- if not, do you agree that this is a valid request?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- if yes, should I file a feature request (or even a bug) in JIRA?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;René&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 May 2012 09:22:43 GMT</pubDate>
    <dc:creator>rgielen</dc:creator>
    <dc:date>2012-05-02T09:22:43Z</dc:date>
    <item>
      <title>Historic tracking of multiple end events reached</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/historic-tracking-of-multiple-end-events-reached/m-p/89025#M60478</link>
      <description>Hi,as far as I'm concerned there is a problem in the historic data model that keeps us from tracking historic process state correctly. Assumed that following process definition is completely legal in BPMN 2.0 (and we do have similar patterns in our process definitions):[img]https://img.skitch.com/20</description>
      <pubDate>Wed, 02 May 2012 09:22:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/historic-tracking-of-multiple-end-events-reached/m-p/89025#M60478</guid>
      <dc:creator>rgielen</dc:creator>
      <dc:date>2012-05-02T09:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: Historic tracking of multiple end events reached</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/historic-tracking-of-multiple-end-events-reached/m-p/89026#M60479</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;I think your request is valid and it's missing from the current history implementation right now.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you create a JIRA?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2012 09:43:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/historic-tracking-of-multiple-end-events-reached/m-p/89026#M60479</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2012-05-02T09:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: Historic tracking of multiple end events reached</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/historic-tracking-of-multiple-end-events-reached/m-p/89027#M60480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Done:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://jira.codehaus.org/browse/ACT-1202" rel="nofollow noopener noreferrer"&gt;http://jira.codehaus.org/browse/ACT-1202&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Because of determinism concern filed as bug rather than improvement or feature request.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;René&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2012 10:24:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/historic-tracking-of-multiple-end-events-reached/m-p/89027#M60480</guid>
      <dc:creator>rgielen</dc:creator>
      <dc:date>2012-05-02T10:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: Historic tracking of multiple end events reached</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/historic-tracking-of-multiple-end-events-reached/m-p/89028#M60481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;From a BPMN 2.0 point of view René's request is valid since the BPMN 2.0 clearly states that a process can have several end events. I would also like to mention that tracking several different end events was possible in jBPM 3.2.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2012 11:09:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/historic-tracking-of-multiple-end-events-reached/m-p/89028#M60481</guid>
      <dc:creator>sebastian_s</dc:creator>
      <dc:date>2012-05-02T11:09:14Z</dc:date>
    </item>
    <item>
      <title>Re: Historic tracking of multiple end events reached</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/historic-tracking-of-multiple-end-events-reached/m-p/89029#M60482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have you tried fiddling with the HistoryParseListener, history tracking is mostly constructed there i believe&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://fisheye.codehaus.org/browse/~br=root%3A/activiti/activiti/trunk/modules/activiti-engine/src/main/java/org/activiti/engine/impl/history/handler/HistoryParseListener.java?r=3372" rel="nofollow noopener noreferrer"&gt;https://fisheye.codehaus.org/browse/~br=root%3A/activiti/activiti/trunk/modules/activiti-engine/src/main/java/org/activiti/engine/impl/history/handler/HistoryParseListener.java?r=3372&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2012 05:42:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/historic-tracking-of-multiple-end-events-reached/m-p/89029#M60482</guid>
      <dc:creator>heymjo</dc:creator>
      <dc:date>2012-05-04T05:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: Historic tracking of multiple end events reached</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/historic-tracking-of-multiple-end-events-reached/m-p/89030#M60483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We might now tackle a couple of missing history features / flaws for &lt;/SPAN&gt;&lt;A href="http://www.camunda.com/fox/" rel="nofollow noopener noreferrer"&gt;http://www.camunda.com/fox/&lt;/A&gt;&lt;SPAN&gt; 6.1, this could make it into the list &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I agree that it is a bug.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My proposal is to add the events correctly to the ACT_HI_ACTINST, which would allow to capture all events and all end events.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But to be correct we would have to remove the PROCINST.END_ACT_ID_ which might cause a lot of users trouble, since they do not use parallelism and maybe are not even aware of the problem. So that would break backwards compatibility. But we could add a warning in the API method for the field and declare it deprecated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;WDYT?&lt;/SPAN&gt;&lt;BR /&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>Fri, 20 Jul 2012 08:46:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/historic-tracking-of-multiple-end-events-reached/m-p/89030#M60483</guid>
      <dc:creator>bernd_ruecker</dc:creator>
      <dc:date>2012-07-20T08:46:58Z</dc:date>
    </item>
  </channel>
</rss>

