<?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 Execution creation - why there is new execution created in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/execution-creation-why-there-is-new-execution-created/m-p/219409#M172539</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;we are evaluating Activiti as engine for next project developed in our company. I'm new, so my question may be a little bit silly. I don't understand what are the rules of execution creation?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;On attached image I show part of my BPMN process. Execution ids are given for each serviceTask. First question: why modifyParty block is executed in separate execution? For me it causes variables scopes problem - result of this serviceTask must be saved in execution local scope. Because new execution is created - result is lost.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Secondly: after modifyParty block I start subProcess for processing each item in contracts collection (in multi instance way). Same question as earlier - why transferService block is executed in new execution instance and not within same as "Set contract to PROCESSING" and "Set contract to WAITING". Following message-catch event also created new execution.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's the image: &lt;/SPAN&gt;&lt;A href="http://imgur.com/GE7TodX" rel="nofollow noopener noreferrer"&gt;http://imgur.com/GE7TodX&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Dec 2015 10:39:29 GMT</pubDate>
    <dc:creator>tomekzaremba</dc:creator>
    <dc:date>2015-12-09T10:39:29Z</dc:date>
    <item>
      <title>Execution creation - why there is new execution created</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/execution-creation-why-there-is-new-execution-created/m-p/219409#M172539</link>
      <description>Hi,we are evaluating Activiti as engine for next project developed in our company. I'm new, so my question may be a little bit silly. I don't understand what are the rules of execution creation?On attached image I show part of my BPMN process. Execution ids are given for each serviceTask. First ques</description>
      <pubDate>Wed, 09 Dec 2015 10:39:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/execution-creation-why-there-is-new-execution-created/m-p/219409#M172539</guid>
      <dc:creator>tomekzaremba</dc:creator>
      <dc:date>2015-12-09T10:39:29Z</dc:date>
    </item>
    <item>
      <title>Re: Execution creation - why there is new execution created</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/execution-creation-why-there-is-new-execution-created/m-p/219410#M172540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can't find edit option: I see that execution creation is related with boundary error event - when I removed it modifyParty serviceTask did not create new execution. Why those two are related so close?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Dec 2015 11:51:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/execution-creation-why-there-is-new-execution-created/m-p/219410#M172540</guid>
      <dc:creator>tomekzaremba</dc:creator>
      <dc:date>2015-12-09T11:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: Execution creation - why there is new execution created</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/execution-creation-why-there-is-new-execution-created/m-p/219411#M172541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That service task has a boundary event: the execution is created to denote the scope for the event.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It doesn't make sens you have to use setVariableLocal, regular setVariable should work. Do you have a unit test demonstrating this wioth this process?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Same answer for your second question: that is to denote the scope of where something is applicable.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Dec 2015 18:51:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/execution-creation-why-there-is-new-execution-created/m-p/219411#M172541</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-12-10T18:51:29Z</dc:date>
    </item>
  </channel>
</rss>

