<?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 vs. SubProcess in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/callactivity-vs-subprocess/m-p/116922#M82530</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;well, I am no expert but in my evaluation I found that compensating transaction works within subprocess scope only.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;transaction id="myTransaction" &amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;subProcess id="subProcess"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; …&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/subprocess&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/transaction&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you try creating a subprocess and embedding call-activiti within it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;pdt&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Aug 2012 18:43:15 GMT</pubDate>
    <dc:creator>workflowuser2</dc:creator>
    <dc:date>2012-08-01T18:43:15Z</dc:date>
    <item>
      <title>CallActivity vs. SubProcess</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/callactivity-vs-subprocess/m-p/116921#M82529</link>
      <description>hello,I have a process with an (embedded) SubProcess like this:[attachment=2]SubProcessTest.png[/attachment]If the parent process reaches the compensation-throw-event, the cancelSomething (compensation) service-task (of the sub-process) is executed as expected.However, when I try to achieve the same</description>
      <pubDate>Wed, 01 Aug 2012 15:46:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/callactivity-vs-subprocess/m-p/116921#M82529</guid>
      <dc:creator>dguggi</dc:creator>
      <dc:date>2012-08-01T15:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: CallActivity vs. SubProcess</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/callactivity-vs-subprocess/m-p/116922#M82530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;well, I am no expert but in my evaluation I found that compensating transaction works within subprocess scope only.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;transaction id="myTransaction" &amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;subProcess id="subProcess"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; …&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/subprocess&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/transaction&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you try creating a subprocess and embedding call-activiti within it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;pdt&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2012 18:43:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/callactivity-vs-subprocess/m-p/116922#M82530</guid>
      <dc:creator>workflowuser2</dc:creator>
      <dc:date>2012-08-01T18:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: CallActivity vs. SubProcess</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/callactivity-vs-subprocess/m-p/116923#M82531</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;yes I tried to put the callactivity inside a (transactional) subprocess but compensation does not work for the process called by callactiviy.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;however this seems to be the expected behaviour (according to the bpm-specs chapter: 10.7 Compensation) - can someone confirm this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2012 21:47:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/callactivity-vs-subprocess/m-p/116923#M82531</guid>
      <dc:creator>dguggi</dc:creator>
      <dc:date>2012-08-02T21:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: CallActivity vs. SubProcess</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/callactivity-vs-subprocess/m-p/116924#M82532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have the same problem here: a main process (compensateProcess.txt) has to be compensated after a callActivity (someProcess.txt) has returned. How can I trigger the compensation on the called activity ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I start the main process using the REST api:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{"processDefinitionKey":"compensateProcess", "variables":[{"name": "successful", "value": false}]}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I get the following output:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;First task&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;second task&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;hello&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;subprocess&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;compensate subprocess&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;compensate second task&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;compensate first task&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the called activity outputs the "hello" line and should be compensated at some point. Note that the compensation works just fine with an embedded subprocess.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2013 06:42:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/callactivity-vs-subprocess/m-p/116924#M82532</guid>
      <dc:creator>davidnguyen</dc:creator>
      <dc:date>2013-10-16T06:42:19Z</dc:date>
    </item>
  </channel>
</rss>

