<?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 moment when runtime process instance is visible in history in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/moment-when-runtime-process-instance-is-visible-in-history/m-p/177859#M130989</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When exactly is an runtime process also visible in the list of historic process instances?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is what I'm trying to implement:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- from a runtime process instance send a message to ActiveMQ, to let a script know that a new process is started&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- this script fetches the process instance &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- These runtime processes are volatile, so I cannot trust this list. I need to use the historic list.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Problem: On the moment the process instance sends it message, and the script catches the message, it cannot&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;find the process instance yet in the historic process instances list. When does this actually happen? Is there&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;some "stage" in the life of a process instance where you can be sure of this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks in advance&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Jul 2014 10:29:41 GMT</pubDate>
    <dc:creator>nicolasfranck</dc:creator>
    <dc:date>2014-07-04T10:29:41Z</dc:date>
    <item>
      <title>moment when runtime process instance is visible in history</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/moment-when-runtime-process-instance-is-visible-in-history/m-p/177859#M130989</link>
      <description>When exactly is an runtime process also visible in the list of historic process instances?Here is what I'm trying to implement:- from a runtime process instance send a message to ActiveMQ, to let a script know that a new process is started- this script fetches the process instance - These runtime pr</description>
      <pubDate>Fri, 04 Jul 2014 10:29:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/moment-when-runtime-process-instance-is-visible-in-history/m-p/177859#M130989</guid>
      <dc:creator>nicolasfranck</dc:creator>
      <dc:date>2014-07-04T10:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: moment when runtime process instance is visible in history</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/moment-when-runtime-process-instance-is-visible-in-history/m-p/177860#M130990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Nicolas,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Process instance is in the history tables after transaction commit. (&lt;/SPAN&gt;&lt;A href="http://www.activiti.org/userguide/#bpmnConcurrencyAndTransactions" rel="nofollow noopener noreferrer"&gt;http://www.activiti.org/userguide/#bpmnConcurrencyAndTransactions&lt;/A&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I would say that you should make message sending asynchronous to finish the first transaction and start the new one.&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>Mon, 07 Jul 2014 07:28:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/moment-when-runtime-process-instance-is-visible-in-history/m-p/177860#M130990</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2014-07-07T07:28:00Z</dc:date>
    </item>
  </channel>
</rss>

