<?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: How a Callactiviti can access the parent process variables? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-a-callactiviti-can-access-the-parent-process-variables/m-p/107379#M75210</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, It is setting the superProcess details when creating the sub process instance.&amp;nbsp; But as part of executing the getVariable method, it is looking for parentId which is null.&amp;nbsp; So the it is returning parentScope as null in getVariable method.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ideally superExecutionId is getting set properly but not parentId.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Jul 2012 15:37:11 GMT</pubDate>
    <dc:creator>purna_cherukuri</dc:creator>
    <dc:date>2012-07-02T15:37:11Z</dc:date>
    <item>
      <title>How a Callactiviti can access the parent process variables?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-a-callactiviti-can-access-the-parent-process-variables/m-p/107371#M75202</link>
      <description>Hi,I am trying to use CallActiviti in my BPMN2.0 process.&amp;nbsp; But I found it mandatory to pass the input variables to call Activiti as it runs in a child execution.&amp;nbsp; Is there a way to pass whole set of parent execution's variables to Callactiviti without mentioning each and every one in bpmn2.0 xml?&amp;nbsp; O</description>
      <pubDate>Fri, 29 Jun 2012 06:07:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-a-callactiviti-can-access-the-parent-process-variables/m-p/107371#M75202</guid>
      <dc:creator>purna_cherukuri</dc:creator>
      <dc:date>2012-06-29T06:07:57Z</dc:date>
    </item>
    <item>
      <title>Re: How a Callactiviti can access the parent process variables?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-a-callactiviti-can-access-the-parent-process-variables/m-p/107372#M75203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Where do you want to use the process-variables? If you look on how activiti handles this, indeed a child-execution is created in the process-instance. In an expression or in a JavaDelegate you have the "execution" object available. If the variable is NOT defined on the execution itself (in this case, the callActivity execution), the parent is consulted. This goes up the execution-tree until a variable is found… &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So just calling execution.getVariable("myVar") from within the callActivity execution will get you the values in the process…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The reason why the IN and OUT's are there, is because of the BPMN 2.0 spec. So this will only work in the activiti-engine, and is not explicit ally part of the spec &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://connect.hyland.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jun 2012 07:03:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-a-callactiviti-can-access-the-parent-process-variables/m-p/107372#M75203</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2012-06-29T07:03:33Z</dc:date>
    </item>
    <item>
      <title>Re: How a Callactiviti can access the parent process variables?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-a-callactiviti-can-access-the-parent-process-variables/m-p/107373#M75204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the quick reply '@frederikheremans'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What you are saying is a real good news for me if it works in the same manner.&amp;nbsp; But it is not the case I am facing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have created a variable in parent execution and trying to access it from Callactiviti(child execution) and it is not working.&amp;nbsp; It is returning null in that case.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using Activiti5.9.&amp;nbsp; Could you please help on this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jun 2012 10:50:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-a-callactiviti-can-access-the-parent-process-variables/m-p/107373#M75204</guid>
      <dc:creator>purna_cherukuri</dc:creator>
      <dc:date>2012-06-29T10:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: How a Callactiviti can access the parent process variables?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-a-callactiviti-can-access-the-parent-process-variables/m-p/107374#M75205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have just joined and I hope I will learn a lot of new information here.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I admire the valuable information you offered in your article. Excellent submission very good post.Keep posting thumbs up.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jun 2012 11:42:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-a-callactiviti-can-access-the-parent-process-variables/m-p/107374#M75205</guid>
      <dc:creator>seanpualion</dc:creator>
      <dc:date>2012-06-29T11:42:24Z</dc:date>
    </item>
    <item>
      <title>Re: How a Callactiviti can access the parent process variables?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-a-callactiviti-can-access-the-parent-process-variables/m-p/107375#M75206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have debugged the code and identified that the child execution object created for CallActivity, doesnt contain the parentId.&amp;nbsp; parentId is coming as "null".&amp;nbsp; Which is causing the issue reported.&amp;nbsp; Any help on this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please find my bpmn xml for reference.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&amp;lt;process id="AccountDetails" name="AccountDetails"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;documentation&amp;gt;Place documentation for the 'AccountDetails' process here.&amp;lt;/documentation&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;startEvent id="startevent1" name="Start"&amp;gt;&amp;lt;/startEvent&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;exclusiveGateway id="exclusivegateway1" name="Exclusive Gateway"&amp;gt;&amp;lt;/exclusiveGateway&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sequenceFlow id="flow1" name="" sourceRef="startevent1" targetRef="exclusivegateway1"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;serviceTask id="servicetask1" name="Get Asset Allocations" activiti:class="com.cgi.msuite.bpmn.wms.portfolios.tasks.GetAssetAllocationsTask"&amp;gt;&amp;lt;/serviceTask&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sequenceFlow id="flow5" name="" sourceRef="exclusivegateway1" targetRef="servicetask1"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;conditionExpression xsi:type="tFormalExpression"&amp;gt;&amp;lt;![CDATA[${flow.equals("AssetAlloc")}]]&amp;gt;&amp;lt;/conditionExpression&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;serviceTask id="servicetask2" name="Get Account Transactions" activiti:class="com.cgi.msuite.bpmn.wms.portfolios.tasks.GetAccountTransactionsTask"&amp;gt;&amp;lt;/serviceTask&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sequenceFlow id="flow3" name="" sourceRef="exclusivegateway1" targetRef="servicetask2"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;conditionExpression xsi:type="tFormalExpression"&amp;gt;&amp;lt;![CDATA[${flow.equals("Transactions")}]]&amp;gt;&amp;lt;/conditionExpression&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;serviceTask id="servicetask3" name="Get Account Positions" activiti:class="com.cgi.msuite.bpmn.wms.portfolios.tasks.GetAccountPositionsTask"&amp;gt;&amp;lt;/serviceTask&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sequenceFlow id="flow7" name="" sourceRef="exclusivegateway1" targetRef="servicetask3"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;conditionExpression xsi:type="tFormalExpression"&amp;gt;&amp;lt;![CDATA[${flow.equals("Positions")}]]&amp;gt;&amp;lt;/conditionExpression&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;endEvent id="endevent1" name="End"&amp;gt;&amp;lt;/endEvent&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sequenceFlow id="flow6" name="" sourceRef="servicetask1" targetRef="endevent1"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sequenceFlow id="flow4" name="" sourceRef="servicetask2" targetRef="endevent1"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sequenceFlow id="flow8" name="" sourceRef="servicetask3" targetRef="endevent1"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;serviceTask id="servicetask8" name="Get Maturity Schedule" activiti:class="com.cgi.msuite.bpmn.wms.portfolios.tasks.GetAccountMaturityScheduleTask"&amp;gt;&amp;lt;/serviceTask&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sequenceFlow id="flow17" name="" sourceRef="exclusivegateway1" targetRef="servicetask8"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;conditionExpression xsi:type="tFormalExpression"&amp;gt;&amp;lt;![CDATA[${flow.equals("MaturitySchedule")}]]&amp;gt;&amp;lt;/conditionExpression&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sequenceFlow id="flow18" name="" sourceRef="servicetask8" targetRef="endevent1"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;callActivity id="callactivity1" name="Projected Income" calledElement="AccountProjectedIncome"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;extensionElements&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:in source="flow" target="flow"&amp;gt;&amp;lt;/activiti:in&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/extensionElements&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/callActivity&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sequenceFlow id="flow19" name="" sourceRef="exclusivegateway1" targetRef="callactivity1"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;conditionExpression xsi:type="tFormalExpression"&amp;gt;&amp;lt;![CDATA[${flow.equals("QrtlyIncmProj")}]]&amp;gt;&amp;lt;/conditionExpression&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sequenceFlow id="flow20" name="" sourceRef="callactivity1" targetRef="endevent1"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/process&amp;gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jun 2012 13:59:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-a-callactiviti-can-access-the-parent-process-variables/m-p/107375#M75206</guid>
      <dc:creator>purna_cherukuri</dc:creator>
      <dc:date>2012-06-29T13:59:11Z</dc:date>
    </item>
    <item>
      <title>Re: How a Callactiviti can access the parent process variables?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-a-callactiviti-can-access-the-parent-process-variables/m-p/107376#M75207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If I look into the source-code, I see the super-process is being set on the created sub-process:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;org.activiti.engine.impl.pvm.runtime.ExecutionImpl:139&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;public PvmProcessInstance createSubProcessInstance(PvmProcessDefinition processDefinition) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ExecutionImpl subProcessInstance = newExecution();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // manage bidirectional super-subprocess relation&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; subProcessInstance.setSuperExecution(this);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.setSubProcessInstance(subProcessInstance);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Initialize the new execution&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; subProcessInstance.setProcessDefinition((ProcessDefinitionImpl) processDefinition);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; subProcessInstance.setProcessInstance(subProcessInstance);&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return subProcessInstance;&lt;BR /&gt;&amp;nbsp; }&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you debug too see if the executionEntity has that field set?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2012 14:52:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-a-callactiviti-can-access-the-parent-process-variables/m-p/107376#M75207</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2012-07-02T14:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: How a Callactiviti can access the parent process variables?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-a-callactiviti-can-access-the-parent-process-variables/m-p/107377#M75208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi @frederikheremans,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have debugged and checked.&amp;nbsp; It is not coming to the method you specified at all.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Does it take same flow even in case of callactivity?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2012 15:09:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-a-callactiviti-can-access-the-parent-process-variables/m-p/107377#M75208</guid>
      <dc:creator>purna_cherukuri</dc:creator>
      <dc:date>2012-07-02T15:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: How a Callactiviti can access the parent process variables?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-a-callactiviti-can-access-the-parent-process-variables/m-p/107378#M75209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry, might have been the "ExecutionEntity" instead of Impl…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2012 15:25:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-a-callactiviti-can-access-the-parent-process-variables/m-p/107378#M75209</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2012-07-02T15:25:16Z</dc:date>
    </item>
    <item>
      <title>Re: How a Callactiviti can access the parent process variables?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-a-callactiviti-can-access-the-parent-process-variables/m-p/107379#M75210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, It is setting the superProcess details when creating the sub process instance.&amp;nbsp; But as part of executing the getVariable method, it is looking for parentId which is null.&amp;nbsp; So the it is returning parentScope as null in getVariable method.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ideally superExecutionId is getting set properly but not parentId.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2012 15:37:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-a-callactiviti-can-access-the-parent-process-variables/m-p/107379#M75210</guid>
      <dc:creator>purna_cherukuri</dc:creator>
      <dc:date>2012-07-02T15:37:11Z</dc:date>
    </item>
    <item>
      <title>Re: How a Callactiviti can access the parent process variables?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-a-callactiviti-can-access-the-parent-process-variables/m-p/107380#M75211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Somebody please reply on this, as this is very critical to complete my evaluation of different BPMN solutions.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2012 04:39:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-a-callactiviti-can-access-the-parent-process-variables/m-p/107380#M75211</guid>
      <dc:creator>purna_cherukuri</dc:creator>
      <dc:date>2012-08-08T04:39:07Z</dc:date>
    </item>
    <item>
      <title>Re: How a Callactiviti can access the parent process variables?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-a-callactiviti-can-access-the-parent-process-variables/m-p/107381#M75212</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;SPAN&gt;May I become a necromancer, and resurrect this thread? &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems, that problem still exists(at least in version 5.14). Root of it is, as previous persons noticed, that foe ExecutionEntry parent is null, only superProcess is valid.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, Is it done intentionally, or it's a bug. In that case, what is the simplest workaround?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Pavel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 10:56:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-a-callactiviti-can-access-the-parent-process-variables/m-p/107381#M75212</guid>
      <dc:creator>xseagullx</dc:creator>
      <dc:date>2014-10-21T10:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: How a Callactiviti can access the parent process variables?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-a-callactiviti-can-access-the-parent-process-variables/m-p/107382#M75213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hehehe 'a necromancer' &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What exactly in this thread are you referring to: the capability of passing all variables into a called subprocess?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Or the fact you cant reference process variables from a parent in a subprocess cause the parent is null?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2014 10:53:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-a-callactiviti-can-access-the-parent-process-variables/m-p/107382#M75213</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-10-22T10:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: How a Callactiviti can access the parent process variables?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-a-callactiviti-can-access-the-parent-process-variables/m-p/107383#M75214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It has been said, that "If the variable is NOT defined on the execution itself (in this case, the callActivity execution), the parent is consulted. This goes up the execution-tree until a variable is found…"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But as it is implemented now, it's wrong. We have situations, when parent is null, and only superProcess is reffered up in the hierarchy.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, I think, if frederikheremans's statement is true, in that case we have a bug, as we can't access superprocess variables from callActivity.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If it's done intensionally, ok, I will look for another way to solve my problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In fact, I have smth(String, document identificator) which is global during a process, and I'm looking an easy way to have access to it in every subsequent subprocess.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2014 11:11:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-a-callactiviti-can-access-the-parent-process-variables/m-p/107383#M75214</guid>
      <dc:creator>xseagullx</dc:creator>
      <dc:date>2014-10-23T11:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: How a Callactiviti can access the parent process variables?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-a-callactiviti-can-access-the-parent-process-variables/m-p/107384#M75215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, I also believe it is a bug. It's kinda related to this: &lt;/SPAN&gt;&lt;A href="https://jira.codehaus.org/browse/ACT-1805" rel="nofollow noopener noreferrer"&gt;https://jira.codehaus.org/browse/ACT-1805&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;The correct way should indeed be that it searches up the super executions too … but i forsee a lot of side effects there. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Oct 2014 06:40:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-a-callactiviti-can-access-the-parent-process-variables/m-p/107384#M75215</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-10-24T06:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: How a Callactiviti can access the parent process variables?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-a-callactiviti-can-access-the-parent-process-variables/m-p/107385#M75216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Greeting,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am currently using Activiti 5.17. As I was testing a process which has a "Call Activity" action, I found the same issue as it is reported here. When the process flow enters the process represented by the "Call Activity", I can see that execution parent and parentId are null.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, if the "Call Activity" is replaced by an embedded subprocess, I can see that the execution variable has correct values. For instance execution.parent equals ExecutionEntity and execution.parentId equals a specific id.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In both case scenarios, the process flow never enters function createSubProcessInstance in org.activiti.engine.impl.pvm.runtime.ExecutionImpl.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I did check the release notes for Activiti 5.18 and I see that this jira ACT-1805 has not been fixed. So, I was wondering if you had plans to fix this bug any time soon, and if in the mean time there is a workaround.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Sep 2015 09:15:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-a-callactiviti-can-access-the-parent-process-variables/m-p/107385#M75216</guid>
      <dc:creator>jcoveron</dc:creator>
      <dc:date>2015-09-07T09:15:38Z</dc:date>
    </item>
    <item>
      <title>Re: How a Callactiviti can access the parent process variables?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-a-callactiviti-can-access-the-parent-process-variables/m-p/107386#M75217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It's an old thread, so my memory is a bit fuzzy here.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But a call activity normally does not inherit variables, hence why it has an input/output mapping. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So variables are not automatically available for call activities (cause they can have different names in the called process, they need a dedicated mapping).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Or am i totally misinterpreting the issue here?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2015 09:11:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-a-callactiviti-can-access-the-parent-process-variables/m-p/107386#M75217</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-09-08T09:11:39Z</dc:date>
    </item>
    <item>
      <title>Re: How a Callactiviti can access the parent process variables?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-a-callactiviti-can-access-the-parent-process-variables/m-p/107387#M75218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Joram&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for replying. this fast.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;According to Frederik in one of his replies: "If the variable is NOT defined on the execution itself (in this case, the callActivity execution), the parent is consulted. This goes up the execution-tree until a variable is found… The reason why the IN and OUT's are there, is because of the BPMN 2.0 spec. So this will only work in the activiti-engine, and is not explicitally part of the spec". &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, since the parent Id is null, there is no way to climb up the execution-tree. But in the case of an embedded subprocess, there is no problem. Based on your answer and what I have found, this is not the case.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, I was wondering if this is actually a bug which has not been fixed and if there is a workaround.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks in advance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2015 11:11:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-a-callactiviti-can-access-the-parent-process-variables/m-p/107387#M75218</guid>
      <dc:creator>jcoveron</dc:creator>
      <dc:date>2015-09-08T11:11:44Z</dc:date>
    </item>
    <item>
      <title>Re: How a Callactiviti can access the parent process variables?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-a-callactiviti-can-access-the-parent-process-variables/m-p/107388#M75219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It's been a year since I said that, people can change ideas based on what they've learned &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Currently, I'm actually not sure it should automatically go up the chain of parents, I'm more a fan of explicitly mapping it into the called process now instead of relying on it explicitly.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2015 10:28:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-a-callactiviti-can-access-the-parent-process-variables/m-p/107388#M75219</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-09-15T10:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: How a Callactiviti can access the parent process variables?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-a-callactiviti-can-access-the-parent-process-variables/m-p/107389#M75220</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;SPAN&gt;I know this a bit of an old post - but it's still very relevant.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way to optionally either auto-import all parent variables to subprocess variables (maybe via the cfg.xml?), or maybe a wildcard in the model, like in=* out=*?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you can point me to the place in the code where such an inheritance might take place, I'm happy to have a go at putting it in, then publish it for the benefit of others.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using 5.21 currently.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Peter&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2016 21:44:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-a-callactiviti-can-access-the-parent-process-variables/m-p/107389#M75220</guid>
      <dc:creator>midiman</dc:creator>
      <dc:date>2016-09-26T21:44:56Z</dc:date>
    </item>
    <item>
      <title>Re: How a Callactiviti can access the parent process variables?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-a-callactiviti-can-access-the-parent-process-variables/m-p/107390#M75221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Peter!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can create java delegate that gets all process variables and puts them into one map. Put it into input expression and output expression of c all activity.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can create another java delegate that goes through such map and sets process variables accordingly. Put it after start event of subprocess and after call activity step&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2016 09:53:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-a-callactiviti-can-access-the-parent-process-variables/m-p/107390#M75221</guid>
      <dc:creator>warper</dc:creator>
      <dc:date>2016-09-27T09:53:36Z</dc:date>
    </item>
  </channel>
</rss>

