Enumeration: ActivityCancellationType
ActivityCancellationType enum.
Enumeration Members
ABANDON
ABANDON:
2
Do not request cancellation of the activity and immediately report cancellation to the workflow
TRY_CANCEL
TRY_CANCEL:
0
Initiate a cancellation request and immediately report cancellation to the workflow.
WAIT_CANCELLATION_COMPLETED
WAIT_CANCELLATION_COMPLETED:
1
Wait for activity cancellation completion. Note that activity must heartbeat to receive a cancellation notification. This can block the cancellation for a long time if activity doesn't heartbeat or chooses to ignore the cancellation request.