ScheduleInfo
in package
FinalYes
ScheduleInfo describes other information about a schedule.
Tags
Table of Contents
Properties
- $createdAt : DateTimeImmutable
- When the schedule was created.
- $lastUpdateAt : DateTimeImmutable|null
- When a schedule was last updated.
- $nextActionTimes : array<string|int, DateTimeImmutable>
- Next 10 scheduled Action times.
- $numActions : int<0, max>
- Number of actions taken by this schedule.
- $numActionsMissedCatchupWindow : int
- Number of times a scheduled Action was skipped due to missing the catchup window.
- $numActionsSkippedOverlap : int
- Number of Actions skipped due to overlap.
- $recentActions : array<string|int, ScheduleActionResult>
- Most recent 10 Actions started (including manual triggers).
- $runningWorkflows : WorkflowExecution
- Currently-running workflows started by this schedule. (There might be more than one if the overlap policy allows overlaps.)
Methods
- __construct() : mixed
- The DTO is a result of a query, so it is not possible to create it manually.
Properties
$createdAt read-only
When the schedule was created.
public
DateTimeImmutable
$createdAt
Attributes
- #[Marshal]
- $name: 'create_time'
$lastUpdateAt read-only
When a schedule was last updated.
public
DateTimeImmutable|null
$lastUpdateAt
Attributes
- #[Marshal]
- $name: 'update_time'
$nextActionTimes read-only
Next 10 scheduled Action times.
public
array<string|int, DateTimeImmutable>
$nextActionTimes
Attributes
- #[MarshalArray]
- $name: 'future_action_times'
- $of: \DateTimeImmutable::class
$numActions read-only
Number of actions taken by this schedule.
public
int<0, max>
$numActions
Attributes
- #[Marshal]
- $name: 'action_count'
$numActionsMissedCatchupWindow read-only
Number of times a scheduled Action was skipped due to missing the catchup window.
public
int
$numActionsMissedCatchupWindow
Attributes
- #[Marshal]
- $name: 'missed_catchup_window'
$numActionsSkippedOverlap read-only
Number of Actions skipped due to overlap.
public
int
$numActionsSkippedOverlap
Attributes
- #[Marshal]
- $name: 'overlap_skipped'
$recentActions read-only
Most recent 10 Actions started (including manual triggers).
public
array<string|int, ScheduleActionResult>
$recentActions
Sorted from older start time to newer.
Attributes
- #[MarshalArray]
- $name: 'recent_actions'
- $of: \Temporal\Client\Schedule\Info\ScheduleActionResult::class
$runningWorkflows read-only
Currently-running workflows started by this schedule. (There might be more than one if the overlap policy allows overlaps.)
public
WorkflowExecution
$runningWorkflows
Attributes
- #[MarshalArray]
- $name: 'running_workflows'
- $of: \Temporal\Workflow\WorkflowExecution::class
Methods
__construct()
The DTO is a result of a query, so it is not possible to create it manually.
private
__construct() : mixed