On the Schedule tab, specify this information to
determine how often the schedule should run:
- Schedule Time Zone
- Select a time zone when the schedule should run. The default value
is UTC. A schedule time zone is useful to start workflows at a specified
time of the day according to your preferred time zone.
- Schedule Time Settings - Start
- Specify a start date and time. By default, this is the date when
the workflow schedule is created, but you can also select a date and time in
the future. The start date and time specify when the schedule should begin
the evaluation of its time triggers.
- The schedule's first run might be later than the specified start
date. For example, suppose a schedule expression is specified as follows:
“Run every first Wednesday of the month at 10:00 AM” and the start date is
1st October. The schedule does not run on this date, unless the first of
October is a Wednesday. It runs at the first applicable occurrence after the
start date.
- Schedule Time Settings – End
- By default, a schedule has no end date and it runs as long as it is
active.
- Optionally, to specify how a schedule should end, select one of
these options:
- After multiple runs
Specify the number of times a schedule should
run. In this case, the schedule stops after the number of times
a “run” has occurred according to the schedule expression. A
“run” is also counted if the schedule has status “Paused” and it
does not attempt to trigger a workflow. When a schedule reached
the maximum number of runs, it has status “Completed” and it
cannot be restarted anymore.
- End by
Specify a date and time. The schedule runs according to the
defined expression until the system has reached the specified
end date-time according to the specified schedule time zone.
When a schedule reached the end date-time, it has status
“Completed” and it cannot be restarted anymore.
- Scheduling Details
- You can specify a recurrence pattern for the schedule. The
properties that you select here are used to define a CRON expression. This
expression is used by the runtime to determine at which times the schedule
should run. Only those time triggers are considered which are between the
start date, or the current date, and the end date time, if specified.
- For more details about CRON expressions, see: http://www.quartz-scheduler.org/documentation/.
- Schedule Preview
- When you model the schedule details, you can click the Show Preview button from the Schedule Preview section. A sample of
how the schedule will run with the selected options is
displayed.
- The Show Preview action
shows the first three runs that would occur after the specified start
date.
- In some situations, less than three runs might be displayed:
- If the end date is soon
- If the option to end “after a number of runs” is less than
three
- Use the schedule preview as a help tool to get insight in how the
schedule will run. At the time of the activation, the schedule expression is
calculated again according to the values last saved and the current
time.