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?
optionalactivityType?:$Properties|null
The type of the activity, a string that maps to a registered activity on a worker.
closeTime?
optionalcloseTime?:$Properties|null
If the activity is in a terminal status, this field represents the time the activity transitioned to that status.
executionDuration?
optionalexecutionDuration?:$Properties|null
The difference between close time and scheduled time. This field is only populated if the activity is closed.
executionTime?
optionalexecutionTime?:$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?
optionalscheduleTime?:$Properties|null
Time the activity was originally scheduled via a StartActivityExecution request.
searchAttributes?
optionalsearchAttributes?:$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
staticcreate(properties?):ActivityExecutionListInfo&$Properties
Creates a new ActivityExecutionListInfo instance using the specified properties.
Parameters
properties?
Properties to set
Returns
ActivityExecutionListInfo & $Properties
ActivityExecutionListInfo instance
Call Signature
staticcreate(properties?):ActivityExecutionListInfo
Creates a new ActivityExecutionListInfo instance using the specified properties.
Parameters
properties?
Properties to set
Returns
ActivityExecutionListInfo
ActivityExecutionListInfo instance
decode()
staticdecode(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()
staticdecodeDelimited(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()
staticencode(message,writer?):Writer
Encodes the specified ActivityExecutionListInfo message. Does not implicitly temporal.api.activity.v1.ActivityExecutionListInfo.verify|verify messages.
Parameters
message
ActivityExecutionListInfo message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
encodeDelimited()
staticencodeDelimited(message,writer?):Writer
Encodes the specified ActivityExecutionListInfo message, length delimited. Does not implicitly temporal.api.activity.v1.ActivityExecutionListInfo.verify|verify messages.
Parameters
message
ActivityExecutionListInfo message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
fromObject()
staticfromObject(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()
statictoObject(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