Skip to main content

Function: checkSchedulePolicy()

checkSchedulePolicy(state): SchedulePolicyProblem

Check the schedule policy fields of a schedule trigger's args.state (overlapPolicy, catchupWindow, pauseOnFailure, limitedActions, scheduleContext, scheduleSearchAttributes). Absent fields are fine: a trigger without overlapPolicy keeps the legacy ALLOW_ALL behaviour.

Parameters​

state​

Record<string, unknown>

Returns​

SchedulePolicyProblem