Skip to main content

Interface: IPendingActivityInfo

workflow.v1.IPendingActivityInfo

Properties of a PendingActivityInfo.

Implemented by

Properties

activityId

Optional activityId: null | string

PendingActivityInfo activityId


activityType

Optional activityType: null | IActivityType

PendingActivityInfo activityType


attempt

Optional attempt: null | number

PendingActivityInfo attempt


currentRetryInterval

Optional currentRetryInterval: null | IDuration

The time activity will wait until the next retry. If activity is currently running it will be next retry interval if activity failed. If activity is currently waiting it will be current retry interval. If there will be no retry it will be null.


expirationTime

Optional expirationTime: null | ITimestamp

PendingActivityInfo expirationTime


heartbeatDetails

Optional heartbeatDetails: null | IPayloads

PendingActivityInfo heartbeatDetails


lastAttemptCompleteTime

Optional lastAttemptCompleteTime: null | ITimestamp

The time when the last activity attempt was completed. If activity has not been completed yet then it will be null.


lastFailure

Optional lastFailure: null | IFailure

PendingActivityInfo lastFailure


lastHeartbeatTime

Optional lastHeartbeatTime: null | ITimestamp

PendingActivityInfo lastHeartbeatTime


lastIndependentlyAssignedBuildId

Optional lastIndependentlyAssignedBuildId: null | string

This means the activity is independently versioned and not bound to the build ID of its workflow. The activity will use the build id in this field instead. If the task fails and is scheduled again, the assigned build ID may change according to the latest versioning rules.


lastStartedTime

Optional lastStartedTime: null | ITimestamp

PendingActivityInfo lastStartedTime


lastWorkerIdentity

Optional lastWorkerIdentity: null | string

PendingActivityInfo lastWorkerIdentity


lastWorkerVersionStamp

Optional lastWorkerVersionStamp: null | IWorkerVersionStamp

The version stamp of the worker to whom this activity was most recently dispatched


maximumAttempts

Optional maximumAttempts: null | number

PendingActivityInfo maximumAttempts


nextAttemptScheduleTime

Optional nextAttemptScheduleTime: null | ITimestamp

Next time when activity will be scheduled. If activity is currently scheduled or started it will be null.


paused

Optional paused: null | boolean

Indicates if activity is paused.


scheduledTime

Optional scheduledTime: null | ITimestamp

PendingActivityInfo scheduledTime


state

Optional state: null | PendingActivityState

PendingActivityInfo state


useWorkflowBuildId

Optional useWorkflowBuildId: null | IEmpty

When present, it means this activity is assigned to the build ID of its workflow.