Assigning a Calendar Reference to a Calendar

A calendar reference is created in TIBCO Business Studio and is then assigned to a calendar using the API.

Creating and Assigning a Calendar Reference

Procedure

  1. In TIBCO Business Studio, on the Resource tab of the Properties view for the process or the event, enter one of the following:
    • a reference in free text, that identifies the calendar required,
    • or a process field which will provide that reference at runtime.

      For more information on calendar references in Business Studio, see the "Intermediate Events" section in the TIBCO Business Studio Process Modeling User’s Guide.

      When you deploy the process, a GUID is generated automatically. This is referred to as the cal-ref-guid, and it uniquely identifies the reference.

  2. Call getOrgModel with includeCalendarRefs set to true to retrieve the calendar references. .
  3. Map a calendar reference, or multiple references, to an actual calendar using createCalendarReferences.

Result

Subsequently, you can use resolveReferences to check what references are mapped to which calendars.