[Improvement-11468] Support re running historical version workflow (#11489)
* Support re running historical version workflow Support re running historical version workflow * Update ExecutorServiceImpl.java * Update ExecutorServiceImpl.java
This commit is contained in:
parent
006d8e21a6
commit
ebdf903dcc
|
|
@ -324,7 +324,9 @@ public class ExecutorServiceImpl extends BaseServiceImpl implements ExecutorServ
|
|||
}
|
||||
|
||||
/**
|
||||
* do action to process instance:pause, stop, repeat, recover from pause, recover from stop
|
||||
* do action to process instance:pause, stop, repeat, recover from pause, recover from stop,rerun failed task
|
||||
|
||||
|
||||
*
|
||||
* @param loginUser login user
|
||||
* @param projectCode project code
|
||||
|
|
@ -358,6 +360,7 @@ public class ExecutorServiceImpl extends BaseServiceImpl implements ExecutorServ
|
|||
ProcessDefinition processDefinition =
|
||||
processService.findProcessDefinition(processInstance.getProcessDefinitionCode(),
|
||||
processInstance.getProcessDefinitionVersion());
|
||||
processDefinition.setReleaseState(ReleaseState.ONLINE);
|
||||
if (executeType != ExecuteType.STOP && executeType != ExecuteType.PAUSE) {
|
||||
result =
|
||||
checkProcessDefinitionValid(projectCode, processDefinition,
|
||||
|
|
|
|||
Loading…
Reference in New Issue