Dynamic Meta
Dynamic Meta

Reputation: 71

JBPM Multi-Instance loop Characteristics with "Sequential instead of Parallel Execution" not working

We have requirement to use generate tasks depends on input variables but Task should be executed in Sequence instead of parallel.

For above requirement

I turned it on so that it executes in sequence but on start of sub process it still executing in parallel (default behavior)

PLEASE HELP

.

Upvotes: 0

Views: 1302

Answers (1)

Vutlhari Ndlovhu
Vutlhari Ndlovhu

Reputation: 11

Sorry to reply so late but someone new can use this.

The true or false value on isSequential makes all the difference

<userTask id="miTasks" name="My Task" activiti:assignee="${assignee}">
  <multiInstanceLoopCharacteristics isSequential="false"
     activiti:collection="assigneeList" activiti:elementVariable="assignee" >
    <completionCondition>${nrOfCompletedInstances/nrOfInstances >= 0.6 }</completionCondition>
  </multiInstanceLoopCharacteristics>
</userTask>

https://www.activiti.org/userguide/index.html#bpmnMultiInstance

Upvotes: 1

Related Questions