|
|
@ -133,7 +133,7 @@ public class WorkflowExecuteThreadPool extends ThreadPoolTaskExecutor { |
|
|
|
public void onSuccess(Object result) { |
|
|
|
public void onSuccess(Object result) { |
|
|
|
try { |
|
|
|
try { |
|
|
|
LoggerUtils.setWorkflowInstanceIdMDC(workflowExecuteThread.getProcessInstance().getId()); |
|
|
|
LoggerUtils.setWorkflowInstanceIdMDC(workflowExecuteThread.getProcessInstance().getId()); |
|
|
|
if (workflowExecuteThread.workFlowFinish()) { |
|
|
|
if (workflowExecuteThread.workFlowFinish() && workflowExecuteThread.eventSize() == 0) { |
|
|
|
stateWheelExecuteThread |
|
|
|
stateWheelExecuteThread |
|
|
|
.removeProcess4TimeoutCheck(workflowExecuteThread.getProcessInstance().getId()); |
|
|
|
.removeProcess4TimeoutCheck(workflowExecuteThread.getProcessInstance().getId()); |
|
|
|
processInstanceExecCacheManager.removeByProcessInstanceId(processInstanceId); |
|
|
|
processInstanceExecCacheManager.removeByProcessInstanceId(processInstanceId); |
|
|
|