|
|
@ -211,8 +211,8 @@ public class StateWheelExecuteThread extends BaseDaemonThread { |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
taskInstanceRetryCheckList.add(taskInstanceKey); |
|
|
|
taskInstanceRetryCheckList.add(taskInstanceKey); |
|
|
|
logger.info("[WorkflowInstance-{}][TaskInstance-{}] Added task instance into retry check list", |
|
|
|
logger.info("[WorkflowInstance-{}][TaskInstanceKey-{}:{}] Added task instance into retry check list", |
|
|
|
processInstance.getId(), taskInstance.getId()); |
|
|
|
processInstance.getId(), taskInstance.getTaskCode(), taskInstance.getTaskDefinitionVersion()); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public void removeTask4RetryCheck(@NonNull ProcessInstance processInstance, @NonNull TaskInstance taskInstance) { |
|
|
|
public void removeTask4RetryCheck(@NonNull ProcessInstance processInstance, @NonNull TaskInstance taskInstance) { |
|
|
@ -344,8 +344,8 @@ public class StateWheelExecuteThread extends BaseDaemonThread { |
|
|
|
// reset taskInstance endTime and state
|
|
|
|
// reset taskInstance endTime and state
|
|
|
|
// todo relative funtion: TaskInstance.retryTaskIntervalOverTime,
|
|
|
|
// todo relative funtion: TaskInstance.retryTaskIntervalOverTime,
|
|
|
|
// WorkflowExecuteThread.cloneRetryTaskInstance
|
|
|
|
// WorkflowExecuteThread.cloneRetryTaskInstance
|
|
|
|
logger.info("[TaskInstance-{}]The task instance can retry, will retry this task instance", |
|
|
|
logger.info("[TaskInstanceKey-{}:{}]The task instance can retry, will retry this task instance", |
|
|
|
taskInstance.getId()); |
|
|
|
taskInstance.getTaskCode(), taskInstance.getTaskDefinitionVersion()); |
|
|
|
taskInstance.setEndTime(null); |
|
|
|
taskInstance.setEndTime(null); |
|
|
|
taskInstance.setState(TaskExecutionStatus.SUBMITTED_SUCCESS); |
|
|
|
taskInstance.setState(TaskExecutionStatus.SUBMITTED_SUCCESS); |
|
|
|
|
|
|
|
|
|
|
|