Skip to content

Commit

Permalink
[Feature][Master] Failover workflow instance base on priority (#10754)
Browse files Browse the repository at this point in the history
* failover workflow instance base on priority
  • Loading branch information
zhuxt2015 authored Jul 4, 2022
1 parent 35a10d0 commit 182b9c9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2075,6 +2075,7 @@ public void processNeedFailoverProcessInstances(ProcessInstance processInstance)
cmd.setCommandParam(String.format("{\"%s\":%d}", Constants.CMD_PARAM_RECOVER_PROCESS_ID_STRING, processInstance.getId()));
cmd.setExecutorId(processInstance.getExecutorId());
cmd.setCommandType(CommandType.RECOVER_TOLERANCE_FAULT_PROCESS);
cmd.setProcessInstancePriority(processInstance.getProcessInstancePriority());
createCommand(cmd);
}

Expand Down

0 comments on commit 182b9c9

Please sign in to comment.