Calendars and User Tasks

In TIBCO Business Studio, processes and timer events on the boundary of user tasks can be associated with references to base calendars. That base calendar is used to calculate deadlines for any user tasks in the process that do not have participants (and so cannot derive a calendar from any organizational entity).

See the "Intermediate Events" section in the TIBCO Business Studio Process Modeling User’s Guide for details of how to do assign a calendar reference to a timer event.

The calendars to use are determined as follows:

  1. If a user-task timer event has a base calendar reference, that reference is considered first.
  2. If the user-task timer event does not have a base calendar reference, the user task's participant is considered. If the user-task participant references a single organizational entity, that entity is used to look up a calendar as described in Timezones.
    Note: Note that if you use an RQL query to define a participant, there is no guarantee that the query will resolve to a single organizational entity. Therefore, RQL participants cannot be used to derive a calendar.
  3. If neither the user-task timer event nor the participant provides a base calendar reference, the process is considered.
  4. If none of these produce a reference to a base calendar, the default System calendar is used as the base.
  5. The same sequence is used to find an overlay calendar to apply to whichever base calendar has been selected.
  6. The resulting base calendar, and overlay calendar if any, are used to calculate deadlines.
    Note: Note that an overlay calendar must be applied to a base calendar—it cannot be used on its own. If the overlay cannot be applied to any other base calendar, the default System calendar is used, as set out in the procedure above. This may not always give the desired results, particularly if the server holding the System calendar is in a different country or a different timezone from where the process will be carried out. When specifying calendar references in TIBCO Business Studio, you should therefore be very cautious when specifying references that resolve to overlay calendars.