[BUG][Master] process cannot finish and its status is always running (#6886)
* fix 6882: process cannot finish and its status is always running * fix 6882: process cannot finish and its status is always running
This commit is contained in:
parent
4015448441
commit
652b9230a7
|
|
@ -187,12 +187,13 @@ public class EventExecuteService extends Thread {
|
|||
StateEventChangeCommand stateEventChangeCommand = new StateEventChangeCommand(
|
||||
processInstanceId, 0, workflowExecuteThread.getProcessInstance().getState(), processInstance.getId(), taskInstance.getId()
|
||||
);
|
||||
|
||||
stateEventCallbackService.sendResult(address, port, stateEventChangeCommand.convert2Command());
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onFailure(Throwable throwable) {
|
||||
logger.info("handle events {} failed.", processInstanceId);
|
||||
logger.info("handle events failed.", throwable);
|
||||
}
|
||||
};
|
||||
Futures.addCallback(future, futureCallback, this.listeningExecutorService);
|
||||
|
|
|
|||
Loading…
Reference in New Issue