flowable-engine
flowable-engine copied to clipboard
completionCondition---Even if the conditions are not met, it can still proceed to the next node
<multiInstanceLoopCharacteristics isSequential="false" flowable:collection="multi_inst_userList" flowable:elementVariable="assignee">
<extensionElements></extensionElements>
<completionCondition>${passCount/totalCount>=0.5}</completionCondition>
</multiInstanceLoopCharacteristics>
passCount = 0;totalCount=3;
complete task code : param.put("passCount", passCount); param.put("totalCount", totalCount); processEngine.getTaskService().complete(taskId,param);
All user submissions are disagreeing, The passCount parameter is always equal to 0 ;
- If the conditions are not met, it should not be executed to the next node
flowable version:6.8.1