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

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">
        <activiti:in source="listElem" target="something"></activiti:in>
        <activiti:in source="#{}" target="businessKey"></activiti:in>
      <multiInstanceLoopCharacteristics isSequential="false" activiti:collection="listSomething" activiti:elementVariable="listElem"></multiInstanceLoopCharacteristics>

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…