Skip to main content

Interface: IWorkflowTaskStartedEventAttributes

history.v1.IWorkflowTaskStartedEventAttributes

Properties of a WorkflowTaskStartedEventAttributes.

Implemented by

Properties

buildIdRedirectCounter

Optional buildIdRedirectCounter: null | Long

Used by server internally to properly reapply build ID redirects to an execution when rebuilding it from events.


historySizeBytes

Optional historySizeBytes: null | Long

Total history size in bytes, which the workflow might use to decide when to continue-as-new regardless of the suggestion. Note that history event count is just the event id of this event, so we don't include it explicitly here.


identity

Optional identity: null | string

Identity of the worker who picked up this task


requestId

Optional requestId: null | string

TODO: ? Appears unused?


scheduledEventId

Optional scheduledEventId: null | Long

The id of the WORKFLOW_TASK_SCHEDULED event this task corresponds to


suggestContinueAsNew

Optional suggestContinueAsNew: null | boolean

True if this workflow should continue-as-new soon because its history size (in either event count or bytes) is getting large.


workerVersion

Optional workerVersion: null | IWorkerVersionStamp

Version info of the worker to whom this task was dispatched.