Calendars
From OpsWise Documentation Wiki
Contents |
Overview
Calendars define business days, holidays, and other special days. They are used in conjunction with triggers to define when tasks are run. Specifically, calendars are used by the system to determine run dates as follows:
- If the user selects Business Days in a trigger, the calendar selected in the trigger defines the business days.
- If the user selects Day Style = Complex in the trigger, all the Custom Days attached to the calendar are written to the Date Noun drop-down menu.
- If the user selects Special Restriction in the trigger, the calendar defines what the Holidays or Non Business days are.
The process for setting up your calendars is to define the custom dates you will need, create one or more calendars, and assign the custom days to the calendars.
Creating Custom Days
A custom days definition might define a single one-time date, a repeating date, or a list of dates. Custom days are attached to calendars.
- From the Navigation Pane, select Custom Days. The system displays a the Custom Days list shown below:
- To add a new day, click New. The system displays a blank Custom Days field.
- Using the field descriptions provided below, fill in the fields.
- Click the Submit button to save the record and return to the menu or right-click on the title bar and select Save to save the record and remain on the current display.
Shown below is a sample Custom Days definition, an absolute repeating date.
Field Descriptions
The following table provides descriptions of the fields on the custom days form.
| Name | Description |
|---|---|
| Name | A descriptive name for this Custom Day. |
| Holiday | Indicates whether or not this Custom Days record is defining a holiday. Dates flagged as holidays come into play when the user enables Special Restriction on a trigger and selects a situation of On Holiday. |
| Comments | A description of this day, which displays on the Custom Days list. |
| Type | Options:
|
| When | If Type = Relative Repeating Date, the type of selection. Options: 1st, 2nd, 3rd, 4th, Last. Example: The fourth Thursday of November. |
| Day of Week | If Type = Relative Repeating Date, the day. Example: The fourth Thursday of November. |
| Month (Relative Repeating Date) | If Type = Relative Repeating Date, the month of the year, or All. Example: The fourth Thursday of November. |
| Month (Absolute Repeating Date) | If Type = Absolute Repeating Date, the month. Options: January through December, or All. Example: December 25. |
| Day (Absolute Repeating Date) | If Type = Absolute Repeating Date, the day. Options 1 through 31. Example: December 25. |
| Date (Single Date) | If type = Single Date, this field allows you to enter or select a single date. |
| Date (List of Dates) | If Type = List of dates, this field allows you to manually add a series of dates by typing each one in and clicking the Add key |
| Submit button | Submits the new record to the database. |
| Update button | Saves updates to the record. |
| List Qualifying Dates button | Opens a new browser and displays a list of the next 20 dates on which this day occurs. |
| Delete button | Deletes the current record. |
| Calendar Custom Days tab | Displays all calendars that use this custom day. |
Creating a New Calendar
- From the Navigation Pane, select Calendars. The system displays the Calendars list. Shown below is the default calendars list:
- From the wizard, select New. OpsWise Automation Center displays a blank calendar screen.
- Give the calendar a name and description, and select the business days for this calendar. The default selection is Monday through Friday.
- Right-click on the title bar and select Save to save the record and remain on the current display.
- Follow the appropriate instructions below to assign existing custom days to this calendar or add new custom days to the calendar.
- If appropriate, repeat these steps for any additional calendars you want to add.
Shown below is the default Canadian calendar, which defines Canadian holidays.
Field Descriptions
The following table provides field descriptions for the calendar form.
| Field Name | Description | |
|---|---|---|
| Name | User-defined. Name used within OpsWise Automation Center to identify this calendar. Up to 40 alphanumerics. It is the user’s responsibility to develop a workable naming scheme for calendars. | |
| Comments | User-defined. Provides a description for the calendar. | |
| Member of Groups | User-defined. Allows you to select one or more Opswise groups that this calendar definition belongs to. Click on the lock icon to unlock the field and select groups. | |
| Business Days | User-defined. Allows the user to select which days of the week constitute business days for this calendar. | |
| Submit button | Submits the new record to the database. | |
| Update button | Saves updates to the record. | |
| Calendar Preview button | Opens a new browser and displays a calendar for the next four years (including the current year). All the dates specified in this calendar are highlighted and identified. | |
| Delete button | Deletes the current record. | |
| Calendar Custom Days tab | Displays all custom days associated with this calendar. | |
Assigning Existing Custom Days to the Calendar
- Open the calendar to which you want to assign one or more existing custom days.
- Click on the Calendar Custom Days tab or scroll down to that section.
- Click the Edit button. The Edit Members form displays:
- The days listed under Collection are existing Custom Days that do not already belong to this calendar. The days listed under Has Custom Days List are days that belong to this calendar. You can filter the days listed under Collection as follows:
- Click Add Filter. See To create a filter for information about how to construct a filter.
- When you have defined the filter you want, click Run Filter. The Collection list now displays only those days that match the filter.
- To remove filtering, click the minus sign to the left of each condition, then click Run Filter again.
- To add to or remove days from the Has Custom Days List:
- To add a day to the list, double-click on the day in the Collection list.
- To remove a day from the list, double-click on the name in the Has Custom Days List.
- When you are finished, click Save.
Adding New Custom Days and Assigning Them to this Calendar
- Open the calendar to which you want to add and assign custom days.
- Click on the Calendar Custom Days tab or scroll down to that section.
- Click New. The system displays the Custom Days screen.
- Fill in the fields using Creating Custom Days for guidance.
- When you click Submit from the calendar form, the custom day is automatically added to the Has Custom Days List.





