AnsweredAssumed Answered

Reference multiInstanceElementVar in activiti:in expression

Question asked by chris.joelly on Sep 29, 2012
Latest reply on Oct 1, 2012 by frederikheremans1
Hello,

is it possible to reference the elementVariable of an multiInstanceLoopCharacteristics in an expression in activiti:in?


    <callActivity id="callDoSomething" name="doSomething" calledElement="doSomething" activiti:async="true">
      <extensionElements>
        <activiti:in source="listElem" target="something"></activiti:in>
        <activiti:in source="#{listElem.id}" target="businessKey"></activiti:in>
      </extensionElements>
      <multiInstanceLoopCharacteristics isSequential="false" activiti:collection="listSomething" activiti:elementVariable="listElem"></multiInstanceLoopCharacteristics>
    </callActivity>

I try to find an more or less non-intrusive way to define a "businessKey" as it is not possible to use the Activiti businessKey API due to the missing ability to set an business key after a process instance is started…

Outcomes