Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
lichengliang1 opened this issue Oct 11, 2024 · 1 comment

Comments

@lichengliang1
Copy link

  <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
Copy link
Author

flowable version:6.8.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant