title: activiti : Passing variables from called process to calling process in call Activity
body: <p>Here is my calling process :</p>
  
  <pre><code>&lt;process id="myProcess" name="My process" isExecutable="true"&gt;
      &lt;startEvent id="startevent1" name="Start"&gt;&lt;/startEvent&gt;
      &lt;callActivity id="callactivity1" name="Call activity" calledElement="mySubProcess"&gt;
        &lt;extensionElements&gt;
          &lt;activiti:out source="outp" target="outpp"&gt;&lt;/activiti:out&gt;
        &lt;/extensionElements&gt;
      &lt;/callActivity&gt;
      &lt;sequenceFlow id="flow1" sourceRef="startevent1" targetRef="callactivity1"&gt;&lt;/sequenceFlow&gt;
      &lt;boundaryEvent id="boundaryerror1" name="Error" attachedToRef="callactivity1"&gt;
        &lt;errorEventDefinition&gt;&lt;/errorEventDefinition&gt;
      &lt;/boundaryEvent&gt;
      &lt;scriptTask id="scripttask1" name="Script Task" scriptFormat="groovy" activiti:autoStoreVariables="true"&gt;
        &lt;script&gt;System.out.println(outpp + " ??")&lt;/script&gt;
      &lt;/scriptTask&gt;
      &lt;sequenceFlow id="flow2" sourceRef="boundaryerror1" targetRef="scripttask1"&gt;&lt;/sequenceFlow&gt;
      &lt;endEvent id="endevent1" name="End"&gt;&lt;/endEvent&gt;
      &lt;sequenceFlow id="flow3" sourceRef="callactivity1" targetRef="endevent1"&gt;&lt;/sequenceFlow&gt;
      &lt;sequenceFlow id="flow4" sourceRef="scripttask1" targetRef="endevent1"&gt;&lt;/sequenceFlow&gt;
    &lt;/process&gt;
  &lt;/definitions&gt;
  </code></pre>
  
  <p>And, here is my called process:</p>
  
  <pre><code>&lt;process id="mySubProcess" name="My process" isExecutable="true"&gt;
      &lt;startEvent id="startevent1" name="Start"&gt;&lt;/startEvent&gt;
      &lt;scriptTask id="scripttask1" name="Script Task" scriptFormat="groovy" activiti:autoStoreVariables="true"&gt;
        &lt;script&gt;String outpa = "asd"
  outp = outpa
  System.out.println(outp)&lt;/script&gt;
      &lt;/scriptTask&gt;
      &lt;sequenceFlow id="flow1" sourceRef="startevent1" targetRef="scripttask1"&gt;&lt;/sequenceFlow&gt;
      &lt;endEvent id="endevent1" name="End"&gt;&lt;/endEvent&gt;
      &lt;sequenceFlow id="flow2" sourceRef="scripttask1" targetRef="endevent1"&gt;&lt;/sequenceFlow&gt;
      &lt;endEvent id="errorendevent1" name="ErrorEnd"&gt;
        &lt;errorEventDefinition errorRef="errorEnd"&gt;&lt;/errorEventDefinition&gt;
      &lt;/endEvent&gt;
      &lt;sequenceFlow id="flow3" sourceRef="scripttask1" targetRef="errorendevent1"&gt;
        &lt;conditionExpression xsi:type="tFormalExpression"&gt;&lt;![CDATA[${ outp != ""}]]&gt;&lt;/conditionExpression&gt;
      &lt;/sequenceFlow&gt;
    &lt;/process&gt;
  &lt;/definitions&gt;
  </code></pre>
  
  <p>When I deploy the processes and start myProcess, I get an error: </p>
  
  <pre><code>problem evaluating script: javax.script.ScriptException: groovy.lang.MissingPropertyException: No such property: outpp for class: Script2
  </code></pre>
  
  <p>I cannot seem to find out the problem. While the input parameters get passed to the sub process without any issues, I get this error when trying to use output parameters </p>
  
  <p>Thanks</p>