Calendars (CALE)

calendar events
{"URL":["/*.*/awa/pa_view_CALE"],"heroDescriptionIdentifier":"ice_calendars_intro","customCards":[{"id":"ice_calendars_about","title":"About Calendars","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/Objects/obj_calendar.htm","languages":["en-us"]},{"id":"ice_calendar_events","title":"About Calendar Events","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/Objects/obj_CalendarEvents.htm","languages":["en-us"]},{"id":"ice_non-recurring_calendar_events","title":"Non-Recurring Calendar Events","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/Objects/obj_CALE_NonRecurring.htm","languages":["en-us"]},{"id":"ice_weekly_calendar_events","title":"Weekly Calendar Events","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/Objects/obj_CALE_Weekly.htm","languages":["en-us"]},{"id":"ice_monthly_calendar_events","title":"Monthly Calendar Events","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/Objects/obj_CALE_Monthly.htm","languages":["en-us"]},{"id":"ice_group_calendar_events","title":"Group Calendar Events","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/Objects/obj_CALE_Group.htm","languages":["en-us"]},{"id":"ice_offset_calendar_events","title":"Offset Calendar Events","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/Objects/obj_CALE_Offset.htm","languages":["en-us"]},{"id":"ice_useful_calendar_events","title":"Useful Calendar Events","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/Objects/obj_CALE_UsefulEvents.htm","languages":["en-us"]},{"id":"ice_calendar_examples","title":"Examples of Useful Calendar Events","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/Objects/obj_CALE_Examples.htm","languages":["en-us"]},{"id":"ice_searching_for_calendar_events","title":"Searching for Calendar Events","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/Objects/obj_CALE_SearchCalEvents.htm","languages":["en-us"]},{"id":"ice_searching_obj_affected_by_calendar_event","title":"Searching for Objects Affected by a Calendar Event","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/Objects/obj_CALE_SearchObjAffectedByCE.htm","languages":["en-us"]}]}

A Calendar object is a container for Calendar Events. A Calendar Event is a set of rules that results in selecting certain days in the Calendar. You can include as many Calendar Events as you need in a Calendar object. You can also reuse the Calendar Events that are assigned to a Calendar and include them in other Calendars. As an administrator user, you define and maintain company-wide Calendar objects. As a developer and object designer, you assign Calendars to objects to determine when the objects must be executed and when their execution must be skipped.

Important related documentation:

Important! Check Broadcom Software Academy. There is a course available for this topic. For more information, see the Education section at the end of this page.

This page includes the following:

Overview

calendars,calendar events

A Calendar must contain at least one Calendar Event. Calendar Events reside exclusively within Calendars. You cannot access Calendar Events without opening one of the Calendars in which they are being used. For this reason, it makes sense creating multiple simple Calendars that contain individual Non-Recurring, Weekly, Monthly and Yearly Calendar Events. You can then create more complex Calendars that combine them using Group and Offset Calendar Events. This means that creating Calendar objects consists of multiple steps. You can think of it as defining layers of date/time definitions, from simple to highly complex, that you can combine.

Example:

  1. Create a basic Calendar that defines the weekdays and the weekends, each of them being a Calendar Event.
  2. Create the next layer in a Calendar that defines the working days, which result from subtracting the national holidays from the weekdays. You can reuse the weekends event of the basic Calendar.

    The system supplies standard Calendar Events for national holidays in most countries. You can use and edit them, or create your own ones.

  3. You want to execute certain tasks only on the last day of the month, provided it is a working day. Create this calendar based on the working days one.
  4. For the cases in which the last day of the month is a non-working day, you want to have two possibilities:

    •  Skip processing the tasks altogether.
    •  Postpone processing to the next working day.

    You define this calendar building up on the previous one.

These are a few uses cases. The Calendar object is a flexible tool that can cover virtually any combination of events to manage execution start dates.

Standard Calendars and Settings

Client 0 is supplied with several standard Calendars and Calendar Events that can be assigned to objects in all the Clients in your system.

The UC_CLIENT_SETTINGS - Various Client Settings contains parameters that are relevant for Calendar objects:

  • The FIRST_DAY_OF_WEEK key specifies which is the first day of the week, whether Monday or Sunday.
  • The NOW_MINUS and NOW_PLUS keys determine the validity period of calendar calculations. They specify how many years in the past and in the future are used to perform calculations based on Calendar Event definitions. For more information, see Validity Period of Calendar Events Parameters.

Best Practices

calendars best practices,calendar events best practices,calendar recommendations,calendar events recommendations

Create several small Calendar objects with few Calendar Events each instead of large complex ones that are difficult to manage. This boosts flexibility and helps achieve well-performing calendar calculations.

Store Calendar Events referring to each other in one Calendar object to facilitate transporting, importing, and exporting them. For more information, see Transporting and Importing/Exporting Calendars.

Defining a Calendar Object

A Calendar definition is made up of the following pages:

For more information, see Examples of Useful Calendar Events.

Calendar Page

On this page you define many of the most relevant properties of the object. It consists of the following elements:

Left navigation pane

Opens the available object definition pages

Main central section

  • The dates selected by the assigned Calendar Events are highlighted. You can select a different year to check the dates in the future or in the past.
  • The Filter button opens a pane on the right that lets you restrict the number of entries displayed on the Calendar Events pane.

Calendar Events pane

List of Calendar Events that are assigned to the Calendar, see Calendar Events. Right-click a Calendar Event to open a context menu with the functions available to that Calendar Event.

See also Title Bar and Toolbar.

Filtering Calendar Events in a Calendar

Use the Filter function to find the Calendar Event that you need in Calendars that contain many Calendar Events.

  1. Select the Filter button on the Calendar toolbar to open the filter pane.
  2. The following filter criteria are available:

    • Calendar Events

      Enter the name or part of the name of the Calendar Event. By default, the filter uses implicit wildcards at the beginning and at the end of the string you enter. Entering WORKDAYS actually triggers the search for *WORKDAYS*. The following results are also suggested in the drop-down list:

      • LOCAL_WORKDAYS
      • WORKDAYS_LOCAL
      • LOCAL_WORKDAYS_25
    • Calendar Event Type

    • Maintained

      These options are relevant for Non-Recurring Calendar Events only. Use these options to search for Calendar Events according to their expiration dates.

    • Include Calendar Events occurring

      Restrict the results to Calendar Events that select dates within the time frame you enter here. You have the following options:

      • Enter dates in both From and To to specify a period.
      • Enter the same date in both fields to filter Calendar Events that contain a specific day.
      • Enter a date in either field to filter Calendar Events with dates from or until a specific date.
  3. Select the Filter button at the bottom of the pane.

    The content of the Calendar Events pane displays now only the ones that match your filter criteria. The caption indicates that the list is filtered by showing a filter icon. The caption reads, for example, Calendar Events (4 of 15). This means that this Calendar contains 15 Calendar Events but only 4 are currently displayed due to the filter settings.

Duplicating Calendar Objects

The following example illustrates the behavior of the system when duplicating Calendars:

  • Calendar A has several Calendar Events, two of them being Group and Offset ones. Both refer to another Calendar Event in Calendar A.
  • Calendar A is duplicated, the copy is called Calendar B.
  • The Group and an Offset Calendar Events of Calendar B do not refer to the Calendar Event in B but to the one in A.

For more information, see Duplicating Objects.

Transporting and Importing/Exporting Calendars

The following considerations are important when importing Calendars:

  • If you are importing Calendar A and Calendar B contains Calendar Events that refer to A, you must also import those Calendar Events.

  • Calendars are recalculated after each import. If this calculation takes place before the Calendar Events have been read, error messages might occur. You can ignore them, no manual interference is required.

For more information, see Exporting/Importing Objects and Transport Case.

Education

The Broadcom Software Academy provides a wide range of free online trainings. For information about how to navigate through the Academy and on how to register for courses, see Free Online Courses.

The following course(s) are associated with this topic:

Automic Automation - Calendars and Calendar Events

For more information, see Free Online Courses.

See also: