Cancellation cancels io.temporal.workflow.CancellationScope that wraps the main workflow method. Note that
workflow can take long time to get canceled or even completely ignore the cancellation request.
Attributes
Throws:
WorkflowNotFoundException
if the workflow execution doesn't exist or is already completed
WorkflowServiceException
for all other failures including networking and service availability issues