@@ -65,7 +65,7 @@ message WorkflowExecutionStartedEventAttributes {
6565 // This time is passed without change to the next run/retry of a workflow.
6666 int64 workflow_execution_expiration_timestamp = 19 ;
6767 string cron_schedule = 20 ;
68- int32 first_decision_task_backoff_seconds = 21 ;
68+ int32 first_workflow_task_backoff_seconds = 21 ;
6969 temporal.api.common.v1.Memo memo = 22 ;
7070 temporal.api.common.v1.SearchAttributes search_attributes = 23 ;
7171 temporal.api.workflow.v1.ResetPoints prev_auto_reset_points = 24 ;
@@ -74,13 +74,13 @@ message WorkflowExecutionStartedEventAttributes {
7474
7575message WorkflowExecutionCompletedEventAttributes {
7676 temporal.api.common.v1.Payloads result = 1 ;
77- int64 decision_task_completed_event_id = 2 ;
77+ int64 workflow_task_completed_event_id = 2 ;
7878}
7979
8080message WorkflowExecutionFailedEventAttributes {
8181 temporal.api.failure.v1.Failure failure = 1 ;
8282 temporal.api.enums.v1.RetryState retry_state = 2 ;
83- int64 decision_task_completed_event_id = 3 ;
83+ int64 workflow_task_completed_event_id = 3 ;
8484}
8585
8686message WorkflowExecutionTimedOutEventAttributes {
@@ -97,7 +97,7 @@ message WorkflowExecutionContinuedAsNewEventAttributes {
9797 int32 workflow_run_timeout_seconds = 5 ;
9898 // Timeout of a single workflow task.
9999 int32 workflow_task_timeout_seconds = 6 ;
100- int64 decision_task_completed_event_id = 7 ;
100+ int64 workflow_task_completed_event_id = 7 ;
101101 int32 backoff_start_interval_in_seconds = 8 ;
102102 temporal.api.enums.v1.ContinueAsNewInitiator initiator = 9 ;
103103 temporal.api.failure.v1.Failure failure = 10 ;
@@ -107,35 +107,35 @@ message WorkflowExecutionContinuedAsNewEventAttributes {
107107 temporal.api.common.v1.SearchAttributes search_attributes = 14 ;
108108}
109109
110- message DecisionTaskScheduledEventAttributes {
110+ message WorkflowTaskScheduledEventAttributes {
111111 temporal.api.taskqueue.v1.TaskQueue task_queue = 1 ;
112112 int32 start_to_close_timeout_seconds = 2 ;
113113 int64 attempt = 3 ;
114114}
115115
116- message DecisionTaskStartedEventAttributes {
116+ message WorkflowTaskStartedEventAttributes {
117117 int64 scheduled_event_id = 1 ;
118118 string identity = 2 ;
119119 string request_id = 3 ;
120120}
121121
122- message DecisionTaskCompletedEventAttributes {
122+ message WorkflowTaskCompletedEventAttributes {
123123 int64 scheduled_event_id = 1 ;
124124 int64 started_event_id = 2 ;
125125 string identity = 3 ;
126126 string binary_checksum = 4 ;
127127}
128128
129- message DecisionTaskTimedOutEventAttributes {
129+ message WorkflowTaskTimedOutEventAttributes {
130130 int64 scheduled_event_id = 1 ;
131131 int64 started_event_id = 2 ;
132132 temporal.api.enums.v1.TimeoutType timeout_type = 3 ;
133133}
134134
135- message DecisionTaskFailedEventAttributes {
135+ message WorkflowTaskFailedEventAttributes {
136136 int64 scheduled_event_id = 1 ;
137137 int64 started_event_id = 2 ;
138- temporal.api.enums.v1.DecisionTaskFailedCause cause = 3 ;
138+ temporal.api.enums.v1.WorkflowTaskFailedCause cause = 3 ;
139139 temporal.api.failure.v1.Failure failure = 4 ;
140140 string identity = 5 ;
141141 // For reset workflow.
@@ -164,7 +164,7 @@ message ActivityTaskScheduledEventAttributes {
164164 int32 start_to_close_timeout_seconds = 9 ;
165165 // Maximum time between successful worker heartbeats.
166166 int32 heartbeat_timeout_seconds = 10 ;
167- int64 decision_task_completed_event_id = 11 ;
167+ int64 workflow_task_completed_event_id = 11 ;
168168 // Activities are provided by a default retry policy controlled through the service dynamic configuration.
169169 // Retries are happening up to schedule_to_close_timeout.
170170 // To disable retries set retry_policy.maximum_attempts to 1.
@@ -204,7 +204,7 @@ message ActivityTaskTimedOutEventAttributes {
204204
205205message ActivityTaskCancelRequestedEventAttributes {
206206 int64 scheduled_event_id = 1 ;
207- int64 decision_task_completed_event_id = 2 ;
207+ int64 workflow_task_completed_event_id = 2 ;
208208}
209209
210210message ActivityTaskCanceledEventAttributes {
@@ -218,7 +218,7 @@ message ActivityTaskCanceledEventAttributes {
218218message TimerStartedEventAttributes {
219219 string timer_id = 1 ;
220220 int64 start_to_fire_timeout_seconds = 2 ;
221- int64 decision_task_completed_event_id = 3 ;
221+ int64 workflow_task_completed_event_id = 3 ;
222222}
223223
224224message TimerFiredEventAttributes {
@@ -229,14 +229,14 @@ message TimerFiredEventAttributes {
229229message TimerCanceledEventAttributes {
230230 string timer_id = 1 ;
231231 int64 started_event_id = 2 ;
232- int64 decision_task_completed_event_id = 3 ;
232+ int64 workflow_task_completed_event_id = 3 ;
233233 string identity = 4 ;
234234}
235235
236236message CancelTimerFailedEventAttributes {
237237 string timer_id = 1 ;
238238 string cause = 2 ;
239- int64 decision_task_completed_event_id = 3 ;
239+ int64 workflow_task_completed_event_id = 3 ;
240240 string identity = 4 ;
241241}
242242
@@ -248,14 +248,14 @@ message WorkflowExecutionCancelRequestedEventAttributes {
248248}
249249
250250message WorkflowExecutionCanceledEventAttributes {
251- int64 decision_task_completed_event_id = 1 ;
251+ int64 workflow_task_completed_event_id = 1 ;
252252 temporal.api.common.v1.Payloads details = 2 ;
253253}
254254
255255message MarkerRecordedEventAttributes {
256256 string marker_name = 1 ;
257257 map <string , temporal.api.common.v1.Payloads > details = 2 ;
258- int64 decision_task_completed_event_id = 3 ;
258+ int64 workflow_task_completed_event_id = 3 ;
259259 temporal.api.common.v1.Header header = 4 ;
260260 temporal.api.failure.v1.Failure failure = 5 ;
261261}
@@ -273,7 +273,7 @@ message WorkflowExecutionTerminatedEventAttributes {
273273}
274274
275275message RequestCancelExternalWorkflowExecutionInitiatedEventAttributes {
276- int64 decision_task_completed_event_id = 1 ;
276+ int64 workflow_task_completed_event_id = 1 ;
277277 string namespace = 2 ;
278278 temporal.api.common.v1.WorkflowExecution workflow_execution = 3 ;
279279 string control = 4 ;
@@ -282,7 +282,7 @@ message RequestCancelExternalWorkflowExecutionInitiatedEventAttributes {
282282
283283message RequestCancelExternalWorkflowExecutionFailedEventAttributes {
284284 temporal.api.enums.v1.CancelExternalWorkflowExecutionFailedCause cause = 1 ;
285- int64 decision_task_completed_event_id = 2 ;
285+ int64 workflow_task_completed_event_id = 2 ;
286286 string namespace = 3 ;
287287 temporal.api.common.v1.WorkflowExecution workflow_execution = 4 ;
288288 int64 initiated_event_id = 5 ;
@@ -296,7 +296,7 @@ message ExternalWorkflowExecutionCancelRequestedEventAttributes {
296296}
297297
298298message SignalExternalWorkflowExecutionInitiatedEventAttributes {
299- int64 decision_task_completed_event_id = 1 ;
299+ int64 workflow_task_completed_event_id = 1 ;
300300 string namespace = 2 ;
301301 temporal.api.common.v1.WorkflowExecution workflow_execution = 3 ;
302302 string signal_name = 4 ;
@@ -307,7 +307,7 @@ message SignalExternalWorkflowExecutionInitiatedEventAttributes {
307307
308308message SignalExternalWorkflowExecutionFailedEventAttributes {
309309 temporal.api.enums.v1.SignalExternalWorkflowExecutionFailedCause cause = 1 ;
310- int64 decision_task_completed_event_id = 2 ;
310+ int64 workflow_task_completed_event_id = 2 ;
311311 string namespace = 3 ;
312312 temporal.api.common.v1.WorkflowExecution workflow_execution = 4 ;
313313 int64 initiated_event_id = 5 ;
@@ -322,7 +322,7 @@ message ExternalWorkflowExecutionSignaledEventAttributes {
322322}
323323
324324message UpsertWorkflowSearchAttributesEventAttributes {
325- int64 decision_task_completed_event_id = 1 ;
325+ int64 workflow_task_completed_event_id = 1 ;
326326 temporal.api.common.v1.SearchAttributes search_attributes = 2 ;
327327}
328328
@@ -341,7 +341,7 @@ message StartChildWorkflowExecutionInitiatedEventAttributes {
341341 // Default: PARENT_CLOSE_POLICY_TERMINATE.
342342 temporal.api.enums.v1.ParentClosePolicy parent_close_policy = 9 ;
343343 string control = 10 ;
344- int64 decision_task_completed_event_id = 11 ;
344+ int64 workflow_task_completed_event_id = 11 ;
345345 // Default: WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE.
346346 temporal.api.enums.v1.WorkflowIdReusePolicy workflow_id_reuse_policy = 12 ;
347347 temporal.api.common.v1.RetryPolicy retry_policy = 13 ;
@@ -358,7 +358,7 @@ message StartChildWorkflowExecutionFailedEventAttributes {
358358 temporal.api.enums.v1.StartChildWorkflowExecutionFailedCause cause = 4 ;
359359 string control = 5 ;
360360 int64 initiated_event_id = 6 ;
361- int64 decision_task_completed_event_id = 7 ;
361+ int64 workflow_task_completed_event_id = 7 ;
362362}
363363
364364message ChildWorkflowExecutionStartedEventAttributes {
@@ -425,11 +425,11 @@ message HistoryEvent {
425425 WorkflowExecutionCompletedEventAttributes workflow_execution_completed_event_attributes = 7 ;
426426 WorkflowExecutionFailedEventAttributes workflow_execution_failed_event_attributes = 8 ;
427427 WorkflowExecutionTimedOutEventAttributes workflow_execution_timed_out_event_attributes = 9 ;
428- DecisionTaskScheduledEventAttributes decision_task_scheduled_event_attributes = 10 ;
429- DecisionTaskStartedEventAttributes decision_task_started_event_attributes = 11 ;
430- DecisionTaskCompletedEventAttributes decision_task_completed_event_attributes = 12 ;
431- DecisionTaskTimedOutEventAttributes decision_task_timed_out_event_attributes = 13 ;
432- DecisionTaskFailedEventAttributes decision_task_failed_event_attributes = 14 ;
428+ WorkflowTaskScheduledEventAttributes workflow_task_scheduled_event_attributes = 10 ;
429+ WorkflowTaskStartedEventAttributes workflow_task_started_event_attributes = 11 ;
430+ WorkflowTaskCompletedEventAttributes workflow_task_completed_event_attributes = 12 ;
431+ WorkflowTaskTimedOutEventAttributes workflow_task_timed_out_event_attributes = 13 ;
432+ WorkflowTaskFailedEventAttributes workflow_task_failed_event_attributes = 14 ;
433433 ActivityTaskScheduledEventAttributes activity_task_scheduled_event_attributes = 15 ;
434434 ActivityTaskStartedEventAttributes activity_task_started_event_attributes = 16 ;
435435 ActivityTaskCompletedEventAttributes activity_task_completed_event_attributes = 17 ;
0 commit comments