提交 d2ea5316 编写于 作者: M Mr.An 提交者: Jiajie Zhong

[Fix-11003]Task group queue is not updated to final state (#11004)

* fix after the task group is forced to start the task. Task group status has not changed

(cherry picked from commit d7df8999)
上级 cfa08b33
......@@ -2955,7 +2955,7 @@ public class ProcessServiceImpl implements ProcessService {
return null;
}
try {
while (taskGroupMapper.releaseTaskGroupResource(taskGroup.getId(), taskGroup.getUseSize()
while (thisTaskGroupQueue.getForceStart() == Flag.NO.getCode() && taskGroupMapper.releaseTaskGroupResource(taskGroup.getId(), taskGroup.getUseSize()
, thisTaskGroupQueue.getId(), TaskGroupQueueStatus.ACQUIRE_SUCCESS.getCode()) != 1) {
thisTaskGroupQueue = this.taskGroupQueueMapper.queryByTaskId(taskInstance.getId());
if (thisTaskGroupQueue.getStatus() == TaskGroupQueueStatus.RELEASE) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册