Skip to content

js-bao-wss-client


js-bao-wss-client / CronTriggerInfo

Interface: CronTriggerInfo ​

A cron trigger's full state, as returned by the cronTriggers sub-API (get(), create(), update(), disable(), enable(), and each entry of list()). Covers the schedule (cron expression, timezone, next fire), the target workflow and its inputs, availability, and fire/skip counters. The runtime block (live scheduler state) is only populated by get().

Properties ​

createdAt ​

createdAt: string


createdBy ​

createdBy: string


cron ​

cron: string


description ​

description: string | null


displayName ​

displayName: string


firedCount ​

firedCount: number


inputMapping ​

inputMapping: string | null


lastError ​

lastError: string | null


lastTriggeredAt ​

lastTriggeredAt: string | null


lastTriggeredRunId ​

lastTriggeredRunId: string | null


modifiedAt ​

modifiedAt: string


nextFireAt ​

nextFireAt: string | null


overlapPolicy ​

overlapPolicy: "skip" | "allow"


rootInput ​

rootInput: string | null


runtime? ​

optional runtime?: object

scheduledAlarm ​

scheduledAlarm: number | null

scheduledAlarmAt ​

scheduledAlarmAt: string | null


skippedCount ​

skippedCount: number


status ​

status: ObjectStatus

Availability. Replaces the former state field, which mixed lifecycle with availability (paused / error_paused). When the platform takes a trigger out of service after a failed fire, status is "inactive" and lastError says why; enable() clears both.


timezone ​

timezone: string


triggerId ​

triggerId: string


triggerKey ​

triggerKey: string


workflowKey ​

workflowKey: string

Documentation validated against js-bao-wss-client 3.4.0 · js-bao 0.11.0 · primitive-admin 1.0.62 · primitive-app 3.1.0 — 2026-09-30