Skip to content

Commit f6a3d90

Browse files
authored
Add clarification in WFT started_event_id docstring (#330)
1 parent 66df148 commit f6a3d90

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

temporal/api/workflowservice/v1/request_response.proto

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,9 @@ message PollWorkflowTaskQueueResponse {
257257
// Will be zero if no task has ever started.
258258
int64 previous_started_event_id = 4;
259259
// The id of the most recent workflow task started event, which will have been generated as a
260-
// result of this poll request being served.
260+
// result of this poll request being served. Will be zero if the task
261+
// does not contain any events which would advance history (no new WFT started).
262+
// Currently this can happen for queries.
261263
int64 started_event_id = 5;
262264
// Starting at 1, the number of attempts to complete this task by any worker.
263265
int32 attempt = 6;

0 commit comments

Comments
 (0)