Skip to content

/AWS1/CL_COASCHEDULE

Configuration for scheduling when automation rules should execute, including timing and execution windows.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_scheduleexpression TYPE /AWS1/COASTRING /AWS1/COASTRING

The expression that defines when the schedule runs. cron expression is supported. A cron expression consists of six fields separated by white spaces: (minutes hours day_of_month month day_of_week year)

You can schedule rules to run at most once per day. Your cron expression must use specific values (not wildcards) for the minutes and hours fields. For example: (30 12 * * *) runs daily at 12:30 PM UTC.

iv_schedulexprsntimezone TYPE /AWS1/COASTRING /AWS1/COASTRING

The timezone to use when interpreting the schedule expression.

iv_executionwindowinminutes TYPE /AWS1/COAINTEGER /AWS1/COAINTEGER

The time window in minutes during which the automation rule can start implementing recommended actions.


Queryable Attributes

scheduleExpression

The expression that defines when the schedule runs. cron expression is supported. A cron expression consists of six fields separated by white spaces: (minutes hours day_of_month month day_of_week year)

You can schedule rules to run at most once per day. Your cron expression must use specific values (not wildcards) for the minutes and hours fields. For example: (30 12 * * *) runs daily at 12:30 PM UTC.

Accessible with the following methods

Method Description
GET_SCHEDULEEXPRESSION() Getter for SCHEDULEEXPRESSION, with configurable default
ASK_SCHEDULEEXPRESSION() Getter for SCHEDULEEXPRESSION w/ exceptions if field has no
HAS_SCHEDULEEXPRESSION() Determine if SCHEDULEEXPRESSION has a value

scheduleExpressionTimezone

The timezone to use when interpreting the schedule expression.

Accessible with the following methods

Method Description
GET_SCHEDULEXPRSNTIMEZONE() Getter for SCHEDULEEXPRESSIONTIMEZONE, with configurable def
ASK_SCHEDULEXPRSNTIMEZONE() Getter for SCHEDULEEXPRESSIONTIMEZONE w/ exceptions if field
HAS_SCHEDULEXPRSNTIMEZONE() Determine if SCHEDULEEXPRESSIONTIMEZONE has a value

executionWindowInMinutes

The time window in minutes during which the automation rule can start implementing recommended actions.

Accessible with the following methods

Method Description
GET_EXECUTIONWINDOWINMINUTES() Getter for EXECUTIONWINDOWINMINUTES, with configurable defau
ASK_EXECUTIONWINDOWINMINUTES() Getter for EXECUTIONWINDOWINMINUTES w/ exceptions if field h
HAS_EXECUTIONWINDOWINMINUTES() Determine if EXECUTIONWINDOWINMINUTES has a value