PendingActivityInfo
in package
DTO that contains information about a pending activity of a Workflow Execution.
Tags
Attributes
- #[Immutable]
Table of Contents
Properties
- $activityId : string
- $activityOptions : PendingActivityOptions|null
- Current activity options. May be different from the ones used to start the activity.
- $activityType : ActivityType
- $attempt : int
- $currentRetryInterval : DateInterval|null
- The time activity will wait until the next retry.
- $expirationTime : DateTimeInterface|null
- $heartbeatDetails : ValuesInterface
- $lastAttemptCompleteTime : DateTimeInterface|null
- The time when the last activity attempt was completed. Null if the activity has not been completed yet.
- $lastDeploymentVersion : WorkerDeploymentVersion|null
- The Worker Deployment Version this activity was dispatched to most recently.
- $lastFailure : TemporalFailure|null
- The failure of the last activity attempt. Null if the activity has not failed yet.
- $lastHeartbeatTime : DateTimeInterface|null
- $lastStartedTime : DateTimeInterface|null
- $lastWorkerIdentity : string
- $maximumAttempts : int
- $nextAttemptScheduleTime : DateTimeInterface|null
- Next time when the activity will be scheduled.
- $paused : bool
- Indicates if the activity is paused.
- $pauseInfo : PendingActivityPauseInfo|null
- Information about why and when the activity was paused. Null if the activity is not paused.
- $priority : Priority|null
- Priority metadata.
- $scheduledTime : DateTimeInterface|null
- $state : PendingActivityState
Properties
$activityId read-only
public
string
$activityId
$activityOptions read-only
Current activity options. May be different from the ones used to start the activity.
public
PendingActivityOptions|null
$activityOptions
$activityType read-only
public
ActivityType
$activityType
$attempt read-only
public
int
$attempt
$currentRetryInterval read-only
The time activity will wait until the next retry.
public
DateInterval|null
$currentRetryInterval
If the activity is currently running it will be the next retry interval if the activity failed. If the activity is currently waiting it will be the current retry interval. If there will be no retry it will be null.
$expirationTime read-only
public
DateTimeInterface|null
$expirationTime
$heartbeatDetails read-only
public
ValuesInterface
$heartbeatDetails
$lastAttemptCompleteTime read-only
The time when the last activity attempt was completed. Null if the activity has not been completed yet.
public
DateTimeInterface|null
$lastAttemptCompleteTime
$lastDeploymentVersion read-only
The Worker Deployment Version this activity was dispatched to most recently.
public
WorkerDeploymentVersion|null
$lastDeploymentVersion
Null if the activity has not yet been dispatched or was last dispatched to an unversioned worker.
$lastFailure read-only
The failure of the last activity attempt. Null if the activity has not failed yet.
public
TemporalFailure|null
$lastFailure
$lastHeartbeatTime read-only
public
DateTimeInterface|null
$lastHeartbeatTime
$lastStartedTime read-only
public
DateTimeInterface|null
$lastStartedTime
$lastWorkerIdentity read-only
public
string
$lastWorkerIdentity
$maximumAttempts read-only
public
int
$maximumAttempts
$nextAttemptScheduleTime read-only
Next time when the activity will be scheduled.
public
DateTimeInterface|null
$nextAttemptScheduleTime
If the activity is currently scheduled or started it will be null.
$paused read-only
Indicates if the activity is paused.
public
bool
$paused
$pauseInfo read-only
Information about why and when the activity was paused. Null if the activity is not paused.
public
PendingActivityPauseInfo|null
$pauseInfo
$priority read-only
Priority metadata.
public
Priority|null
$priority
$scheduledTime read-only
public
DateTimeInterface|null
$scheduledTime
$state read-only
public
PendingActivityState
$state