|
|
@ -923,7 +923,11 @@ public class ProcessDao extends AbstractBaseDao { |
|
|
|
taskInstance.setFlag(Flag.NO); |
|
|
|
taskInstance.setFlag(Flag.NO); |
|
|
|
updateTaskInstance(taskInstance); |
|
|
|
updateTaskInstance(taskInstance); |
|
|
|
// crate new task instance
|
|
|
|
// crate new task instance
|
|
|
|
|
|
|
|
if(taskInstance.getState() != ExecutionStatus.NEED_FAULT_TOLERANCE){ |
|
|
|
taskInstance.setRetryTimes(taskInstance.getRetryTimes() + 1 ); |
|
|
|
taskInstance.setRetryTimes(taskInstance.getRetryTimes() + 1 ); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
taskInstance.setEndTime(null); |
|
|
|
|
|
|
|
taskInstance.setStartTime(new Date()); |
|
|
|
taskInstance.setFlag(Flag.YES); |
|
|
|
taskInstance.setFlag(Flag.YES); |
|
|
|
taskInstance.setHost(null); |
|
|
|
taskInstance.setHost(null); |
|
|
|
taskInstance.setId(0); |
|
|
|
taskInstance.setId(0); |
|
|
|