flowable-engine icon indicating copy to clipboard operation
flowable-engine copied to clipboard

completionCondition---Even if the conditions are not met, it can still proceed to the next node

Open lichengliang1 opened this issue 2 years ago • 1 comments

  <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 ;

  1. If the conditions are not met, it should not be executed to the next node

lichengliang1 avatar Oct 11 '24 06:10 lichengliang1

flowable version:6.8.1

lichengliang1 avatar Oct 11 '24 06:10 lichengliang1