File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,6 +45,9 @@ message BatchOperationTermination {
4545message BatchOperationTerminateActivities {
4646 // The identity of the worker/client
4747 string identity = 1 ;
48+ // Reason for requesting the termination, recorded and available via the PollActivityExecution API.
49+ // Not propagated to a worker if an activity attempt is currently running.
50+ string reason = 2 ;
4851}
4952
5053// BatchOperationSignal sends signals to batch workflows.
@@ -74,6 +77,9 @@ message BatchOperationCancellation {
7477message BatchOperationCancelActivities {
7578 // The identity of the worker/client
7679 string identity = 1 ;
80+ // Reason for requesting the cancellation, recorded and available via the PollActivityExecution API.
81+ // Not propagated to a worker if an activity attempt is currently running.
82+ string reason = 2 ;
7783}
7884
7985// BatchOperationDeletion sends deletion requests to batch workflows.
You can’t perform that action at this time.
0 commit comments