Offset Calendar Events

This type is helpful if you want to use the settings of already existing events but you want to adjust them.

For example, you have defined a monthly calendar event that selects all last days of the month. You need a calendar event that makes sure that certain jobs run at month's end on a working day; this means that if the last day of a month is on a weekend or non-working day, you need to adapt it. You use an Offset calendar event for this.

In addition, Offset events allow you to define exceptions to the resulting dates and to specify alternative dates in case of collisions.

There are two sub-types of Offset events:

For either sub-type you can define exceptions

To Create an Offset Calendar Event

  1. In the Process Assembly perspective, click Add Object and select Calendar.

    Define the general settings as described here: Defining Objects

  2. On the Calendar page the days of the year that lie in the past are grayed out. This is a mere visual help; any Calendar event that you define here will affect the dates within the validity period as defined in the NOW_MINUS and NOW_PLUS keys in the UC_CLIENT_SETTINGS variable. See UC_CLIENT_SETTINGS - Various Client Settings.
  3. Click the button.
  4. From the drop-down menu select Offset.
  5. The Edit Offset Event pane is displayed:

    Click to Expand

    In Edit Offset Event you select the existing event you want to manipulate to create a new one. The fields displayed here depend on the type of event you want to create.

    In Define Exceptions you indicate alternative dates in case those resulting from this event collide with other important dates.

  6. In Event Name enter the name of the Offset event you are creating.
  7. Select the event Type. The input fields vary depending on your choice here. Click on the option you need to expand the step-by-step instructions:

    • ClosedSimple Offset

      1. In Existing Event select the event you want to use as basis and adapt it.

        Do one of the following:

        • Start typing its name, if you know it by heart, and select it.
        • Open the dropdown list and select it.
        • Click the eye icon to open the Choose Calendar Event, where you select the Calendar and the Event you want to use.

          Click to Expand

          This might be the best choice if you have many calendars and events and you want to display a preview of the one you choose to make sure that it is the correct one.

      2. You can postpone or advance the dates of the Existing Event by setting the number in Offset.
    • ClosedMatching

      This subtype is a bit more complex and gives you more flexibility. It allows you to consider two existing events in order to find matching days. These events might not necessarily overlap at first. However, you can postpone or advance dates of the previously selected existing event until matching dates of the target event are reached.

      1. Select the Existing Event you want to use as basis (see above).
      2. In Match to nearest target date you define the direction in which you want to adjust the dates, namely:

        • before or on Existing Event

          This will locate matching dates before or on the dates of the Existing Event.

        • after or on Existing event

          This will locate matching dates after or on the dates of the Existing Event.

      3. Select the Target Event to which you want to match the selected existing event.
      4. Define the Additional Offset; this is the number of days you move the resulting date backwards or forwards (depending on your previous choice) in relation to the target event you have just selected. If you leave 0 here the resulting date is not moved.
  8. If necessary, you can also define exceptions to the resulting dates and alternative dates to those exceptions. Basically, what you do here is to define which event must not overlap with the one you are creating:

    1. Click to open the Edit exception for event dialog.

      Click to Expand

    2. Click anywhere on the first row to activate it.
    3. In If collision with you select the events that will be exceptions to the rule defined by the offset event. Select an event from this dropdown list or click the eye icon to open the Choose Calendar Event.
    4. Open the dropdown list in the Then column to display the options you can apply to the exception:

      • Skip

        In case of a collision, the resulting date will be skipped.

      • Advance/Postpone by

        In case of a collision, the event will be advanced or postponed by the number of days you select in the Additional Offset column in this dialog.

      • Match to target event before/after or on collision event

        If you select this option, you must also define a target event in the Match to column.

        In case of a collision, the target event will be considered to find matching days before/after the resulting date.

        Define the Additional Offset; this is the number of days you move the resulting date backwards or forwards (depending on your previous choice) in relation to the target event you have just selected. If you leave 0 here the resulting date is not moved.

      Add as many exceptions as you need. For details on how to work with the table, see Working With Tables in Pages.

    5. Click Apply & Close to preview the results.
    6. If you are satisfied with the results, click the save button on the toolbar or the Apply & Close button at the bottom right corner of the page to return to the Calendar Events pane.

See also:

Examples of Calendar Objects