|
@@ -793,6 +793,14 @@ public class ProcessServiceImpl implements ProcessService {
|
|
|
break;
|
|
|
case RECOVER_TOLERANCE_FAULT_PROCESS:
|
|
|
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ if (processInstance.getState() == WorkflowExecutionStatus.READY_PAUSE
|
|
|
+ || processInstance.getState() == WorkflowExecutionStatus.READY_STOP) {
|
|
|
+
|
|
|
+ processInstance.setState(WorkflowExecutionStatus.RUNNING_EXECUTION);
|
|
|
+ }
|
|
|
processInstance.setRecovery(Flag.YES);
|
|
|
processInstance.setRunTimes(runTime + 1);
|
|
|
runStatus = processInstance.getState();
|