When terminating a workflow by using WorkflowStub.terminate
method, I want to call the running activities and do some custom shutdown logic, since these activities can’t be brute force closed or just let them finish (letting them finish doesn’t make sense for termination).
Actually, I’m trying to use WorkflowClientInterceptorBase
, but it does not work when executing the terminate
method(didn’t call interceptor method…)
Thanks!