Skip to main content

Interface: IPendingWorkflowTaskInfo

workflow.v1.IPendingWorkflowTaskInfo

Properties of a PendingWorkflowTaskInfo.

Implemented by

Properties

attempt

Optional attempt: null | number

PendingWorkflowTaskInfo attempt


originalScheduledTime

Optional originalScheduledTime: null | ITimestamp

original_scheduled_time is the scheduled time of the first workflow task during workflow task heartbeat. Heartbeat workflow task is done by RespondWorkflowTaskComplete with ForceCreateNewWorkflowTask == true and no command In this case, OriginalScheduledTime won't change. Then when current time - original_scheduled_time exceeds some threshold, the workflow task will be forced timeout.


scheduledTime

Optional scheduledTime: null | ITimestamp

PendingWorkflowTaskInfo scheduledTime


startedTime

Optional startedTime: null | ITimestamp

PendingWorkflowTaskInfo startedTime


state

Optional state: null | PendingWorkflowTaskState

PendingWorkflowTaskInfo state