未验证 提交 6dbbf6d5 编写于 作者: W wangxj3 提交者: GitHub

fix bug of If start a process instance form fail node or stop node ,the param will be init. (#5267)

Co-authored-by: wangxj <wangxj31>
上级 94a08c8f
......@@ -711,14 +711,6 @@ public class ProcessService {
if (commandTypeIfComplement == CommandType.REPEAT_RUNNING) {
setGlobalParamIfCommanded(processDefinition, cmdParam);
}
// Recalculate global parameters after rerun.
processInstance.setGlobalParams(ParameterUtils.curingGlobalParams(
processDefinition.getGlobalParamMap(),
processDefinition.getGlobalParamList(),
commandTypeIfComplement,
processInstance.getScheduleTime()));
}
processDefinition = processDefineMapper.selectById(processInstance.getProcessDefinitionId());
processInstance.setProcessDefinition(processDefinition);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册