Skip to main content

Interface: Info

activity.Info

Holds information about the current executing Activity

Properties#

activityId#

activityId: string


activityNamespace#

activityNamespace: string

The namespace this Activity is running in


activityType#

activityType: string

Exposed Activity function name


attempt#

attempt: number

Attempt number for this activity


heartbeatDetails#

heartbeatDetails: any

Hold the details supplied to the last heartbeat on previous attempts of this Activity. Use this in order to resume your Activity from checkpoint.


heartbeatTimeoutMs#

Optional heartbeatTimeoutMs: number

Heartbeat timeout in milliseconds. If this timeout is defined, the Activity must heartbeat before the timeout is reached. The Activity must not heartbeat in case this timeout is not defined.


isLocal#

isLocal: boolean

Whether this activity is scheduled in local or remote mode


scheduleToCloseTimeoutMs#

scheduleToCloseTimeoutMs: number

Timeout for this Activity from schedule to close in milliseconds


scheduledTimestampMs#

scheduledTimestampMs: number

Timestamp for when this Activity was scheduled in milliseconds


startToCloseTimeoutMs#

startToCloseTimeoutMs: number

Timeout for this Activity from start to close in milliseconds


taskToken#

taskToken: Uint8Array


workflowExecution#

workflowExecution: Object

Information about the Workflow that scheduled the Activity

Type declaration#

NameType
runIdstring
workflowIdstring

workflowNamespace#

workflowNamespace: string

The namespace of the Workflow that scheduled this Activity


workflowType#

workflowType: string

The module name of the Workflow that scheduled this Activity