Automatically generate something from a template
Schedule the generation of entities, which include changes, incidents, and CIs.
Before you begin
Roles required: template_scheduler
Procedure
Navigate to Scheduled Entity Generations [sysauto_template] table.
Select New.
Populate the following fields:
| Field | Description |
|---|---|
| Name | Name that identifies this scheduled job. |
| Active | Option that indicates that scheduled job is active and should be executed at the specified date and time. |
| Application | Name of the application that contains the entity. Global appears if the entity is in the global scope. |
| Conditional | Option for enabling the running of the scheduled job if certain conditions are met in the associated script. |
| Condition | A conditional script that determines if a scheduled job should run. The last expression of the script should evaluate to a Boolean (true/false) value. This text box appears only if you select Use conditions. |
| Run | Time interval to use for running the scheduled job:
For example, if the business calendar represents a fiscal year, and the starting date of each entry is a fiscal month, the scheduled job runs on the first day of each month.
Note: When you select Business Calendar: Entry Start or Business Calendar: Entry End, you can apply an offset factor to schedule the job to run before or after the time span of the selected business calendar. If you select a business calendar and all its business calendar spans are in the past, the job would never run since that is an invalid configuration. To learn more, see the Offset type and Offset fields. To learn more about creating and using business calendars and defining business calendar entries, see Creating business calendars and Define business calendar entries. |
| Time | Time of day at which the scheduled job should run, expressed in hours, minutes, and seconds on a 24-hour clock. The selection that you make in the Time zone field determines the time zone for this entry. |
| Time zone | Time zone to use with the Time field entry when you specify the time at which the scheduled job should run. Select a time zone entry:
For example, the scheduled job runs at 04:45 p.m. US/Pacific time if it’s the user's assigned time zone, and you enter
For example, the scheduled job runs at 10:15 p.m. London time if Europe/London is the default system time zone for the instance, and you enter
For example, the scheduled job runs at 1:30 p.m. in the US Eastern time zone if you select US/Eastern, and enter |
| Day | Day on which the scheduled job should run.
|
| Repeat Interval | Duration of the repeat interval for each scheduled job execution. Enter the duration in the number of days, hours, or minutes. For example:
|
| Starting | Allows you to define the beginning window of time when you would like your job to start running. The job will actually run at the time specified in Run time. Select the calendar date and time. The Starting field appears only if you select one of the following Run types in the Run field:- Daily - Day and Month in Year - Day in Week in Month in Year - Monthly - Once - Periodically - Week in Month - Weekly For the run type Periodically, the Starting time is the date and time of the first scheduled job generation. |
| Business Calendar | Business calendar entry that you’re using to determine the business calendar start or end date for the scheduled job. This field appears only if you select Business Entry: Start Date or Business Entry: End Date in the Time field. |
| Offset type | Type of time offset, if any, to apply to the business calendar that you selected for scheduling this job:
|
| Offset | Amount of time offset, expressed in days, hours, minutes, and seconds, to apply to the business calendar that you selected for scheduling this job. For example, if you want to schedule the job to start three days, 14 hours, 10 minutes, and 45 seconds before the business calendar start date, do the following actions:
|
| Generate this | Reference to the template record from which you are generating a scheduled job. |
Parent Topic:Create a scheduled job
Related topics
Advanced options for scheduled jobs
Enable run types for scheduled job child tables