<?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: CallActivity without waiting for subprocess to finish in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/callactivity-without-waiting-for-subprocess-to-finish/m-p/62820#M39275</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;one more question.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;when this kind of behavior/feature is not supported by activiti engine out of the box, can not I face any other problems or side effects? I mean, when this 'asynchronous' execution of subprocesses is not supported by CallActivity task directly and I will implement it as a custom ServiceTask, can not it be something against some activiti general ideas and concepts?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;just to be sure I will not face any other related, conceptual problem in near future &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanx a lot anyway&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Dec 2011 10:24:42 GMT</pubDate>
    <dc:creator>djanca</dc:creator>
    <dc:date>2011-12-06T10:24:42Z</dc:date>
    <item>
      <title>CallActivity without waiting for subprocess to finish</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/callactivity-without-waiting-for-subprocess-to-finish/m-p/62815#M39270</link>
      <description>Hi all,we would need to design following process. A main process containing exclusive gateway to decide what branch (flow) to follow, each decision branch will contain only CallActivity element starting external process. So far so good and everything works fine, but we would like to reach behaviour</description>
      <pubDate>Wed, 23 Nov 2011 15:24:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/callactivity-without-waiting-for-subprocess-to-finish/m-p/62815#M39270</guid>
      <dc:creator>djanca</dc:creator>
      <dc:date>2011-11-23T15:24:37Z</dc:date>
    </item>
    <item>
      <title>Re: CallActivity without waiting for subprocess to finish</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/callactivity-without-waiting-for-subprocess-to-finish/m-p/62816#M39271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sure, you can use an async continuation on the call activity. You can do this by adding a async="true" attribute.&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>Thu, 24 Nov 2011 14:11:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/callactivity-without-waiting-for-subprocess-to-finish/m-p/62816#M39271</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2011-11-24T14:11:19Z</dc:date>
    </item>
    <item>
      <title>Re: CallActivity without waiting for subprocess to finish</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/callactivity-without-waiting-for-subprocess-to-finish/m-p/62817#M39272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;thanx for your reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've tried it and doesn't seem to work in expected way.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My test case:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) I designed simple process containing only ReceiverTask (and start, end events of course &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) I created main process containing start, end events and CallActivity task configured to call external process from point 1 and activiti:async parameter set to true.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3) I started main process from point 2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4) The complete process flow stopped in following situation: main process (point 2) shows CallActivity task as an active one and 'subprocess' (from point 1) shows ReceiverTask as an active one.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This state fits to the Activiti documentation I think. The asynchronous execution means that once process flow reaches any element with async=true, the client thread returns with 'response', but process flow (in activiti engine context) continues in synchronous execution. As far as I understood it, this 'async' parameter modifies way when client thread returns back to client of a WF engine, not the way how CallActivity task executes its subprocess. But maybe I misunderstood something.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would need to reach following state in the situation described above. When subprocess from point 1 is called by 'async' CallActivity task from main process (point 2), the subprocess is started and waits for message in its ReceiverTask, but the main process continues immediately and correctly finishes. It means only 1 process instance has to be active.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanx for any help or advice&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2011 10:48:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/callactivity-without-waiting-for-subprocess-to-finish/m-p/62817#M39272</guid>
      <dc:creator>djanca</dc:creator>
      <dc:date>2011-12-02T10:48:03Z</dc:date>
    </item>
    <item>
      <title>Re: CallActivity without waiting for subprocess to finish</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/callactivity-without-waiting-for-subprocess-to-finish/m-p/62818#M39273</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;Okay right. The main process instance can't finish while the sub process is still running.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;An alternative approach would be to start a new process instance from a service task in the main process.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then the service task will continue when the receive task is created and the main process will finish.&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, 05 Dec 2011 13:58:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/callactivity-without-waiting-for-subprocess-to-finish/m-p/62818#M39273</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2011-12-05T13:58:01Z</dc:date>
    </item>
    <item>
      <title>Re: CallActivity without waiting for subprocess to finish</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/callactivity-without-waiting-for-subprocess-to-finish/m-p/62819#M39274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Aah, yes. Good idea.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanx a lot for your advice.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2011 08:31:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/callactivity-without-waiting-for-subprocess-to-finish/m-p/62819#M39274</guid>
      <dc:creator>djanca</dc:creator>
      <dc:date>2011-12-06T08:31:19Z</dc:date>
    </item>
    <item>
      <title>Re: CallActivity without waiting for subprocess to finish</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/callactivity-without-waiting-for-subprocess-to-finish/m-p/62820#M39275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;one more question.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;when this kind of behavior/feature is not supported by activiti engine out of the box, can not I face any other problems or side effects? I mean, when this 'asynchronous' execution of subprocesses is not supported by CallActivity task directly and I will implement it as a custom ServiceTask, can not it be something against some activiti general ideas and concepts?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;just to be sure I will not face any other related, conceptual problem in near future &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanx a lot anyway&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2011 10:24:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/callactivity-without-waiting-for-subprocess-to-finish/m-p/62820#M39275</guid>
      <dc:creator>djanca</dc:creator>
      <dc:date>2011-12-06T10:24:42Z</dc:date>
    </item>
    <item>
      <title>Re: CallActivity without waiting for subprocess to finish</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/callactivity-without-waiting-for-subprocess-to-finish/m-p/62821#M39276</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;No I don't think you will encounter side effects.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The reason that the call activity doesn't work this way is that the sub process should be completed before the call activity can be considered completed.&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>Tue, 06 Dec 2011 18:52:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/callactivity-without-waiting-for-subprocess-to-finish/m-p/62821#M39276</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2011-12-06T18:52:28Z</dc:date>
    </item>
  </channel>
</rss>

