Expose Workflow cancel cause/reason
WorkflowExecutionCancelRequestedEventAttributes has a cause field that should be exposed when workflows receive cancels, and we should additionally expose this as an input when users are issuing cancels from clients or commands
@Sushisource does this reason also exposed to a running activity when it heartbeats and gets ActivityCanceledException execption?
@madhav2302 No, this information is not returned by the Server on heartbeat. The only information the Server returns is if to cancel the activity.
@Quinn-With-Two-Ns are there any plans to add it? or do we need to open a feature request?
It would be nice to know the cancellation reason in activity as well, so it helps with easy debugging with each activity when something goes bad.
Hi @madhav2302 , we have already submitted a feature request for this to our product team.