Interface: IPollActivityTaskQueueResponse
Properties of a PollActivityTaskQueueResponse.
Extends
Properties
activityId?
optionalactivityId?:string|null
The autogenerated or user specified identifier of this activity. Can be used to complete the
activity via RespondActivityTaskCompletedById. May be re-used as long as the last usage
has resolved, but unique IDs for every activity invocation is a good idea.
Note that only a workflow activity ID may be autogenerated.
Inherited from
activityRunId?
optionalactivityRunId?:string|null
The run ID of the activity execution, only set for standalone activities.
Inherited from
activityType?
optionalactivityType?:$Properties|null
PollActivityTaskQueueResponse activityType
Inherited from
attempt?
optionalattempt?:number|null
Starting at 1, the number of attempts to perform this activity
Inherited from
currentAttemptScheduledTime?
optionalcurrentAttemptScheduledTime?:$Properties|null
When was this task attempt scheduled
Inherited from
$Properties.currentAttemptScheduledTime
header?
optionalheader?:$Properties|null
Headers specified by the scheduling workflow. Commonly used to propagate contextual info from the workflow to its activities. For example, tracing contexts.
Inherited from
heartbeatDetails?
optionalheartbeatDetails?:$Properties|null
Details of the last heartbeat that was recorded for this activity as of the time this task was delivered.
Inherited from
heartbeatTimeout?
optionalheartbeatTimeout?:$Properties|null
Window within which the activity must report a heartbeat, or be timed out.
Inherited from
input?
optionalinput?:$Properties|null
Arguments to the activity invocation
Inherited from
pollerGroupInfos?
optionalpollerGroupInfos?:$Properties[] |null
The weighted list of poller groups IDs that client should use for future polls to this task queue. Client is expected to:
- Maintain minimum number of pollers no less than the number of groups.
- Try to assign the next poll to a group without any pending polls,
- If every group has some pending polls, assign the next poll to a group randomly according to the weights.
Inherited from
pollerGroupsInfo?
optionalpollerGroupsInfo?:$Properties|null
The weighted, versioned list of poller groups IDs that client should use for future polls to
this task queue. Client should ignore this if it has already applied a snapshot with a
version greater than or equal to poller_groups_info.version. Client is expected to:
- Maintain minimum number of pollers no less than the number of groups.
- Try to assign the next poll to a group without any pending polls,
- If every group has some pending polls, assign the next poll to a group randomly according to the weights.
Inherited from
pollerScalingDecision?
optionalpollerScalingDecision?:$Properties|null
Server-advised information the SDK may use to adjust its poller count.
Inherited from
$Properties.pollerScalingDecision
priority?
optionalpriority?:$Properties|null
Priority metadata
Inherited from
propagatedNexusSerializationContext?
optionalpropagatedNexusSerializationContext?:$Properties|null
Serialization context propagated from the Nexus caller that started this activity.
Inherited from
$Properties.propagatedNexusSerializationContext
retryPolicy?
optionalretryPolicy?:$Properties|null
This is the retry policy the service uses which may be different from the one provided (or not) during activity scheduling. The service can override the provided one if some values are not specified or exceed configured system limits.
Inherited from
scheduledTime?
optionalscheduledTime?:$Properties|null
When was this task first scheduled
Inherited from
scheduleToCloseTimeout?
optionalscheduleToCloseTimeout?:$Properties|null
First scheduled -> final result reported timeout
(-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --)
Inherited from
$Properties.scheduleToCloseTimeout
startedTime?
optionalstartedTime?:$Properties|null
When was this task started (this attempt)
Inherited from
startToCloseTimeout?
optionalstartToCloseTimeout?:$Properties|null
Current attempt start -> final result reported timeout
(-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --)
Inherited from
$Properties.startToCloseTimeout
taskToken?
optionaltaskToken?:Uint8Array<ArrayBufferLike> |null
A unique identifier for this task
Inherited from
workflowExecution?
optionalworkflowExecution?:$Properties|null
Execution info of the requesting workflow (if this is a workflow activity)
Inherited from
workflowNamespace?
optionalworkflowNamespace?:string|null
The namespace of the activity. If this is a workflow activity then this is the namespace of the workflow also. If this is a standalone activity then the name of this field is misleading, but retained for compatibility with workflow activities.
Inherited from
workflowType?
optionalworkflowType?:$Properties|null
Type of the requesting workflow (if this is a workflow activity).