> ##### 5.4.12.1 Assigning Calendars

> Interstage BPM allows you to use many different business calendars. You can assign a particular calendar to a process definition or process instance by assigning its name (calendar file name without the .cal extension) to the __businessCalendar user-defined attribute (UDA), a special function UDA that is used exclusively for Business Timers. For example, say you had a calendar that you wanted to use for process instances run in your California division and you called it Calif.cal. You would add a STRING type UDA to your California division process definitions and assign it a value of Calif.

> You can change calendars while a process instance is running using the setProcessAttribute JavaScript function and the __businessCalendar UDA. For example to change the business calendar to Calif.cal, you would use the following script:

> setProcessAttribute("__businessCalendar","string","Calif");

> If you are using the Advanced timer, you can set the calendar for one particular timer calculation. To define the Calif.cal calendar for a specific Advanced timer, enter the following expression in the Set Expression field for that timer:

> UC(Calif);

Business Process Manager Help-Fujitsu Computer Systems Corporation Interstage Website Voice: (888) 248-9273 Interstage BPM Information