Execution
At the scheduled time, when a Scheduler Task instance fires, the first thing it does is to perform the following validations.
-
Ensure the Scheduler is enabled for the Schedule.
-
Ensure the Schedule is not in
PATCH
mode. -
Ensure the Scheduler Day associated with the Task instance, is in fact an active Scheduler Day.
-
Ensure the Nightly Cycle has not started if the task instance is configured to not run while Nightly is running.
-
Ensure the task has not reached its invocation limit.
Once these validations have passed, the task instance performs the following actions.
-
Create a new Execution Request to execute the relevant Batch entity, that was configured.
-
Create a Scheduler Task Run Instance, to record the Execution Request ID or any other information in case of invocation errors.