Skip to main content

Class: ActivityExecutionListInfo

Limited activity information returned in the list response. When adding fields here, ensure that it is also present in ActivityExecutionInfo (note that it may already be present in ActivityExecutionInfo but not at the top-level).

Properties​

activityId​

activityId: string

A unique identifier of this activity within its namespace along with run ID (below).


activityType?​

optional activityType?: $Properties | null

The type of the activity, a string that maps to a registered activity on a worker.


closeTime?​

optional closeTime?: $Properties | null

If the activity is in a terminal status, this field represents the time the activity transitioned to that status.


executionDuration?​

optional executionDuration?: $Properties | null

The difference between close time and scheduled time. This field is only populated if the activity is closed.


executionTime?​

optional executionTime?: $Properties | null

The time at which the first activity task is made available for dispatch, computed as schedule_time + start_delay. Same as schedule_time if start_delay is not set.


runId​

runId: string

The run ID of the standalone activity.


scheduleTime?​

optional scheduleTime?: $Properties | null

Time the activity was originally scheduled via a StartActivityExecution request.


searchAttributes?​

optional searchAttributes?: $Properties | null

Search attributes from the start request.


stateSizeBytes​

stateSizeBytes: Long

Updated once on scheduled and once on terminal status.


stateTransitionCount​

stateTransitionCount: Long

Updated on terminal status.


status​

status: ActivityExecutionStatus

Only scheduled and terminal statuses appear here. More detailed information in PendingActivityInfo but not available in the list response.


taskQueue​

taskQueue: string

The task queue this activity was scheduled on when it was originally started, updated on activity options update.

Methods​

toJSON()​

toJSON(): object

Converts this ActivityExecutionListInfo to JSON.

Returns​

object

JSON object


create()​

Call Signature​

static create(properties?): ActivityExecutionListInfo & $Properties

Creates a new ActivityExecutionListInfo instance using the specified properties.

Parameters​
properties?​

$Properties

Properties to set

Returns​

ActivityExecutionListInfo & $Properties

ActivityExecutionListInfo instance

Call Signature​

static create(properties?): ActivityExecutionListInfo

Creates a new ActivityExecutionListInfo instance using the specified properties.

Parameters​
properties?​

$Properties

Properties to set

Returns​

ActivityExecutionListInfo

ActivityExecutionListInfo instance


decode()​

static decode(reader, length?): ActivityExecutionListInfo & $Properties

Decodes an ActivityExecutionListInfo message from the specified reader or buffer.

Parameters​

reader​

Uint8Array<ArrayBufferLike> | Reader

Reader or buffer to decode from

length?​

number

Message length if known beforehand

Returns​

ActivityExecutionListInfo & $Properties

ActivityExecutionListInfo

Throws​

If the payload is not a reader or valid buffer

Throws​

If required fields are missing


decodeDelimited()​

static decodeDelimited(reader): ActivityExecutionListInfo & $Properties

Decodes an ActivityExecutionListInfo message from the specified reader or buffer, length delimited.

Parameters​

reader​

Uint8Array<ArrayBufferLike> | Reader

Reader or buffer to decode from

Returns​

ActivityExecutionListInfo & $Properties

ActivityExecutionListInfo

Throws​

If the payload is not a reader or valid buffer

Throws​

If required fields are missing


encode()​

static encode(message, writer?): Writer

Encodes the specified ActivityExecutionListInfo message. Does not implicitly temporal.api.activity.v1.ActivityExecutionListInfo.verify|verify messages.

Parameters​

message​

$Properties

ActivityExecutionListInfo message or plain object to encode

writer?​

Writer

Writer to encode to

Returns​

Writer

Writer


encodeDelimited()​

static encodeDelimited(message, writer?): Writer

Encodes the specified ActivityExecutionListInfo message, length delimited. Does not implicitly temporal.api.activity.v1.ActivityExecutionListInfo.verify|verify messages.

Parameters​

message​

$Properties

ActivityExecutionListInfo message or plain object to encode

writer?​

Writer

Writer to encode to

Returns​

Writer

Writer


fromObject()​

static fromObject(object): ActivityExecutionListInfo

Creates an ActivityExecutionListInfo message from a plain object. Also converts values to their respective internal types.

Parameters​

object​

Plain object

Returns​

ActivityExecutionListInfo

ActivityExecutionListInfo


toObject()​

static toObject(message, options?): object

Creates a plain object from an ActivityExecutionListInfo message. Also converts values to other types if specified.

Parameters​

message​

ActivityExecutionListInfo

ActivityExecutionListInfo

options?​

IConversionOptions

Conversion options

Returns​

object

Plain object