Skip to main content

Interface: ActivityInfo

What a running activity attempt knows.

Properties​

activityId​

readonly activityId: string


activityName​

readonly activityName: string

The activity name (for a dynamic activity, the requested one).


attempt​

readonly attempt: number

1-based.


headers​

readonly headers: Headers


heartbeatDetails?​

readonly optional heartbeatDetails?: Json

Details the previous attempt recorded with heartbeat (11 §2.4).


isLocal?​

readonly optional isLocal?: boolean

True when the attempt runs as a local activity inside a workflow task (ctx.localActivity with a user activity, gap G5).


runId​

readonly runId: string


taskQueue​

readonly taskQueue: string


workflowKey?​

readonly optional workflowKey?: string


workspaceId?​

readonly optional workspaceId?: string