When developing workflow, sometimes the client may cancel the workflow execution. I now know two ways to do that:
- use WorkflowStub.cancel()
- send a cancel signal, and inside the signal handler, i will cancel the cancellationScope and throw a CancelledFailure.
My question is how can the client knows that a workflow is canceled. or i mean, finished its canceling logic and update its status to canceled or failed.
Thanks.