<?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: concurrent execution with exclusive job in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/concurrent-execution-with-exclusive-job/m-p/148262#M103516</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;What happens if you make them all async and exclusive?&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;all: async and exclusive=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then, of course all activities will run sequential (but i want to run T2_1 and T3_1 in parallel)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;all activities without T2_1 and T3_1: async=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;T2_1 and T3_1: async = true, exclusive = false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then, it will throw the ActivitiOptimisticLockingException.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;solution:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;T1,T4: async = false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;T2_1, T3_1: async = true, exclusive = false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;T2_2, T3_2: async = true, exclusive = true&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then, T2_1 and T3_1 execute in parallel and after that, it runs sequential again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thats the solution for my problem. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Lars&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 02 Mar 2013 09:01:15 GMT</pubDate>
    <dc:creator>larswillrich</dc:creator>
    <dc:date>2013-03-02T09:01:15Z</dc:date>
    <item>
      <title>concurrent execution with exclusive job</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/concurrent-execution-with-exclusive-job/m-p/148258#M103512</link>
      <description>hello,i've got this situation:[img]http://s1.directupload.net/images/130301/v3hm273e.jpg[/img]Service-Call: async=false, exclusive-job=trueT1_1, T5_1, T2_2, T3_2Service-Call: async=true, exclusive-job=falseT2_1, T3_1with org.activiti.spring.SpringProcessEngineConfiguration -&amp;gt; jobExecutorActivate=</description>
      <pubDate>Fri, 01 Mar 2013 11:00:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/concurrent-execution-with-exclusive-job/m-p/148258#M103512</guid>
      <dc:creator>larswillrich</dc:creator>
      <dc:date>2013-03-01T11:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: concurrent execution with exclusive job</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/concurrent-execution-with-exclusive-job/m-p/148259#M103513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Service-Call: async=false, exclusive-job=true&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;The "exclusive-job=true" makes no sense when the activity is not async. The T2_2 will run right after T2_1 in the same thread. As will T3_2 run right after T3_1. Set the async=true on the *_2 tasks and your issue will be fixed.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Mar 2013 11:05:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/concurrent-execution-with-exclusive-job/m-p/148259#M103513</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-03-01T11:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: concurrent execution with exclusive job</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/concurrent-execution-with-exclusive-job/m-p/148260#M103514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The "exclusive-job=true" makes no sense when the activity is not async.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;i thought, exclusive-job=true set as default, if its not explicit declared or the async-attribute is set false?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Mar 2013 11:39:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/concurrent-execution-with-exclusive-job/m-p/148260#M103514</guid>
      <dc:creator>larswillrich</dc:creator>
      <dc:date>2013-03-01T11:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: concurrent execution with exclusive job</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/concurrent-execution-with-exclusive-job/m-p/148261#M103515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Exclusive job = true has only meaning when executing things async. But I can see your point. Tijs has written down some things about it: &lt;/SPAN&gt;&lt;A href="http://bpmn20inaction.blogspot.be/2012/12/implement-parallel-execution-in-activiti.html" rel="nofollow noopener noreferrer"&gt;http://bpmn20inaction.blogspot.be/2012/12/implement-parallel-execution-in-activiti.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What happens if you make them all async and exclusive?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Mar 2013 18:27:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/concurrent-execution-with-exclusive-job/m-p/148261#M103515</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2013-03-01T18:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: concurrent execution with exclusive job</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/concurrent-execution-with-exclusive-job/m-p/148262#M103516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;What happens if you make them all async and exclusive?&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;all: async and exclusive=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then, of course all activities will run sequential (but i want to run T2_1 and T3_1 in parallel)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;all activities without T2_1 and T3_1: async=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;T2_1 and T3_1: async = true, exclusive = false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then, it will throw the ActivitiOptimisticLockingException.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;solution:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;T1,T4: async = false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;T2_1, T3_1: async = true, exclusive = false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;T2_2, T3_2: async = true, exclusive = true&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then, T2_1 and T3_1 execute in parallel and after that, it runs sequential again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thats the solution for my problem. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Lars&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Mar 2013 09:01:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/concurrent-execution-with-exclusive-job/m-p/148262#M103516</guid>
      <dc:creator>larswillrich</dc:creator>
      <dc:date>2013-03-02T09:01:15Z</dc:date>
    </item>
    <item>
      <title>Re: concurrent execution with exclusive job</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/concurrent-execution-with-exclusive-job/m-p/148263#M103517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Just a small question - if there is a sub-process (using CallActivity) embedded in a Process definition and on that sub-process, keeping async=false, will there be any difference setting exclusive as false or true ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Apr 2013 17:21:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/concurrent-execution-with-exclusive-job/m-p/148263#M103517</guid>
      <dc:creator>badrisudheer</dc:creator>
      <dc:date>2013-04-26T17:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: concurrent execution with exclusive job</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/concurrent-execution-with-exclusive-job/m-p/148264#M103518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No, exclusive only has meaning when async=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Apr 2013 12:08:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/concurrent-execution-with-exclusive-job/m-p/148264#M103518</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2013-04-29T12:08:47Z</dc:date>
    </item>
    <item>
      <title>Re: concurrent execution with exclusive job</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/concurrent-execution-with-exclusive-job/m-p/148265#M103519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the quick reply. The behavior I am trying to understand is - Created a Process Definition with 2 simple Service Tasks &amp;amp; 2 Sub Process (Using CallActivity) and each Sub Process has a Receive Task with a Timer Boundary on it. In this scenario, when the signal is issued on the first Timer Task - the process resumes and continues and when it is about to invoke the Timer in 2nd Sub Process in sequence, it is throwing ActivitiOptimisticLocking Exception on Timer Entity of first SubProcess and the process instance is getting rolled back to the first Time Entity. Trying to understand why this is happening.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Apr 2013 13:14:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/concurrent-execution-with-exclusive-job/m-p/148265#M103519</guid>
      <dc:creator>badrisudheer</dc:creator>
      <dc:date>2013-04-29T13:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: concurrent execution with exclusive job</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/concurrent-execution-with-exclusive-job/m-p/148266#M103520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Do you have a simple process that demonstrates the problem?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Apr 2013 09:11:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/concurrent-execution-with-exclusive-job/m-p/148266#M103520</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2013-04-30T09:11:45Z</dc:date>
    </item>
  </channel>
</rss>

