Hello. I need to do something similar to the BPMN spec "behavior=One" in a multi instance loop. It seems that Activiti does not implement this feature yet, in my tests. Am I right?
For example, I have "User Task A" executing in a multi instance loop with 3 instances. What I need is when one instance is completed, the flow continues to the next task (let's say "User Task B"), but the pending tasks from "User Task A" (the other 2 instances) can't be deleted, the users still need to do that.
If I use the completeCondition, when one task is complete the others are deleted.
Can anyone help me with this scenario?
For example, I have "User Task A" executing in a multi instance loop with 3 instances. What I need is when one instance is completed, the flow continues to the next task (let's say "User Task B"), but the pending tasks from "User Task A" (the other 2 instances) can't be deleted, the users still need to do that.
If I use the completeCondition, when one task is complete the others are deleted.
Can anyone help me with this scenario?
Could you also use an multi-instance embedded sub process for your use case?
Then you can place the tasks that the user should do all in the multi-instance sub process.
In that way you would get the behavior that the other user tasks are not deleted.
Best regards,