AnsweredAssumed Answered

What should be result of activiti:out in MultiInstance CallActiviti

Question asked by smirzai on Jun 26, 2014
Latest reply on Jun 26, 2014 by trademak
This is related to  https://jira.codehaus.org/browse/ACT-2036

here is the scenario:
There is a MultiInstance CallActiviti, which contains activiti:out output variables. Then CallActivity may be called several times. The question is which output should be put to output variables.


There are 3 thinkable solutions:

1. Return the value from the last execution.
2. Do not accept the model and throw exception before execution, when parsing.
3. For each variable, instead of the mentioned variable, return a collection of variable in different executions.


Right now the engine is silent and just ignores the out variables. I think this could be enhanced.



Outcomes