<?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: Persisting Service Tasks in ACT_RU_EXECUTION in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/persisting-service-tasks-in-act-ru-execution/m-p/98706#M68089</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Now if I put "async=true" in "each" service task, would activiti engine guarantee the order?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, because that is the order in which you modeled them. (You did not model them in parallel)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Jun 2012 18:32:07 GMT</pubDate>
    <dc:creator>ronald_van_kuij</dc:creator>
    <dc:date>2012-06-20T18:32:07Z</dc:date>
    <item>
      <title>Persisting Service Tasks in ACT_RU_EXECUTION</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/persisting-service-tasks-in-act-ru-execution/m-p/98703#M68086</link>
      <description>Hi,I have processes comprised of long-running service tasks (Java Delegates). In order to support fail-over, I would like to persist state before each service task.Based on my understanding, only receive/user and other wait tasks are flushed to the table.Is there a workaround (by using ParserListene</description>
      <pubDate>Wed, 20 Jun 2012 06:29:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/persisting-service-tasks-in-act-ru-execution/m-p/98703#M68086</guid>
      <dc:creator>workflowuser2</dc:creator>
      <dc:date>2012-06-20T06:29:26Z</dc:date>
    </item>
    <item>
      <title>Re: Persisting Service Tasks in ACT_RU_EXECUTION</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/persisting-service-tasks-in-act-ru-execution/m-p/98704#M68087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Read the chapter in our user guide about Asycn continuations: &lt;/SPAN&gt;&lt;A href="http://activiti.org/userguide/index.html#asyncContinuations" rel="nofollow noopener noreferrer"&gt;http://activiti.org/userguide/index.html#asyncContinuations&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Basically, by marking your service-task as async, the process state will be persisted and the service-task will be executed in a job-executor thread, the calling thread's control will be returned.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;serviceTask id="service1" name="Generate Invoice" activiti:class="my.custom.Delegate" activiti:async="true" /&amp;gt; &lt;BR /&gt;&lt;/CODE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2012 06:40:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/persisting-service-tasks-in-act-ru-execution/m-p/98704#M68087</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2012-06-20T06:40:48Z</dc:date>
    </item>
    <item>
      <title>Re: Persisting Service Tasks in ACT_RU_EXECUTION</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/persisting-service-tasks-in-act-ru-execution/m-p/98705#M68088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you, workflowuser2, for the quick reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My sample process is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;start -&amp;gt; service task1 -&amp;gt; service task2 -&amp;gt; service task3 -&amp;gt; end&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;here i would like the service tasks to be processed "in order".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now if I put "async=true" in "each" service task, would activiti engine guarantee the order?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was trying to see if I can somehow decorate service tasks (or create my own service task) with wait semantics so that process state is flushed before each service task.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks again for the help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Read the chapter in our user guide about Asycn continuations: &lt;A href="http://activiti.org/userguide/index.html#asyncContinuations" rel="nofollow noopener noreferrer"&gt;http://activiti.org/userguide/index.html#asyncContinuations&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Basically, by marking your service-task as async, the process state will be persisted and the service-task will be executed in a job-executor thread, the calling thread's control will be returned.&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;serviceTask id="service1" name="Generate Invoice" activiti:class="my.custom.Delegate" activiti:async="true" /&amp;gt; &lt;BR /&gt;&lt;/CODE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2012 15:51:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/persisting-service-tasks-in-act-ru-execution/m-p/98705#M68088</guid>
      <dc:creator>workflowuser2</dc:creator>
      <dc:date>2012-06-20T15:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: Persisting Service Tasks in ACT_RU_EXECUTION</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/persisting-service-tasks-in-act-ru-execution/m-p/98706#M68089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Now if I put "async=true" in "each" service task, would activiti engine guarantee the order?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, because that is the order in which you modeled them. (You did not model them in parallel)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2012 18:32:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/persisting-service-tasks-in-act-ru-execution/m-p/98706#M68089</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2012-06-20T18:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: Persisting Service Tasks in ACT_RU_EXECUTION</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/persisting-service-tasks-in-act-ru-execution/m-p/98707#M68090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2012 18:23:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/persisting-service-tasks-in-act-ru-execution/m-p/98707#M68090</guid>
      <dc:creator>workflowuser2</dc:creator>
      <dc:date>2012-06-21T18:23:33Z</dc:date>
    </item>
  </channel>
</rss>

