Managing Holiday Rules in Process Workspace

8-4 Oracle Fusion Middleware Users Guide for Oracle Business Process Management You can create as many holiday rules as needed for different calendar rules. For example, if you apply holiday rules for India, the United States, and China to a given calendar, then those various national holidays are taken into account when the duration of a process is computed. When you create a business holiday rule, you specify the holiday name, date, and holiday type. Table 8–1 lists and describes the holiday types. To create a holiday rule: 1. From the Process Workspace toolbar, select Administration. The Administration Areas panel appears.

2. In the Organization panel, click Calendars. The Calendars page appears.

3. In the Holidays List section, click Add a Holidays List. The Add a Holidays List

dialog prompts you for the name of the new holiday list.

4. Enter the name of the new holidays list and click OK. The new holidays list

appears in the holidays list.

5. Select the new holidays list. The details for the new list appear in the right pane.

6. In the holiday details section, click Add a Holiday. A row appears for you to

specify the attributes of the new holiday.

7. Specify the name of the holiday, and the day on which the holiday occurs each

year. Options for specifying holiday occurrence are described in Table 8–1 .

8. Click Apply. The new holiday rule is configured according to your specifications.

To edit a holiday rule: 1. From the Process Workspace toolbar, select Administration. The Administration Areas panel appears.

2. In the Organization panel, click Calendars. The Calendars panel appears in the

right pane.

3. In the Holidays List section, select the holiday rule you want to edit. The details

page for the rule appears in the right pane.

4. Change the settings, and click Apply. The holiday rule is now modified according

to your specifications. Table 8–1 Holiday Types Holiday Type Description Same Day Every Year On the same day each year Current Year In the current year only Nth Week Day of Month In a specified week, on a specified day, in a specified month each year—for example, in the United States, Thanksgiving Day is celebrated each year on the fourth Thursday of November Nth Day of Reference Holiday On a day in relation to another specified holiday—for example, on the day after Thanksgiving Day Closest week day The closest day to a given date—for example, in the United States, the Independence Day holiday may be celebrated on the weekday closest to the Fourth of July. Performing Administration in Process Workspace 8-5 To delete a holiday rule: 1. From the Process Workspace toolbar, select Administration. The Administration Areas panel appears.

2. In the Organization panel, click Calendars. The Calendars panel appears in the

right pane. 3. In the Holidays List section, select the holiday rule you want to delete. The details for the rule appears in the right pane.

4. Click Delete Holiday Rule. The holiday rule is now deleted.

8.3.3 Managing Calendar Rules in Process Workspace

Figure 8–3 Calendar Rules A business calendar defines a work pattern for each day and a work week structure for each week. In addition, a calendar also defines non-working days by using business holiday rules—that is, the business calendar and holiday rule together define the work period. When you create a business calendar, you define the following: ■ Calendar name ■ Time zone ■ Working days in week ■ Start time and end time for each day ■ Optional holiday rule You can create as many calendars as necessary. You can specify a business calendar for a role and organizational unit association. For example, you can specify that the InsuranceAgents role in the US-California organizational unit follows the US-California business calendar. To create a calendar rule: 1. From the Process Workspace toolbar, select Administration. The Administration Areas panel appears.

2. In the Organization panel, click Calendars. The Calendars page appears in the

right pane.

3. In the Calendars section, click Add a Calendar Rule. The Add a Calendar Rule

dialog prompts you for the name of the new calendar rule. 8-6 Oracle Fusion Middleware Users Guide for Oracle Business Process Management

4. Enter the name of the new calendar rule, and click OK. The new calendar rule

appears in the Calendars list. 5. Select the new calendar rule. The details for the new rule appears in the right pane. 6. Specify the following: ■ The time zone ■ The holiday rule, if any, that applies ■ The appropriate starting and finishing times

7. Click Apply. The new calendar rule is now configured according to your

specifications. To edit a calendar rule: 1. From the Process Workspace toolbar, select Administration. The Administration Areas panel appears.

2. In the Organization panel, click Calendars. The Calendars page appears in the

right pane. 3. Select the calendar rule you want to edit. The details page for the new rule appears in the right pane.

4. Change the settings, and click Apply. The calendar rule is now modified according

to your specifications. To associate a calendar rule with a role and an organization unit: 1. From the Process Workspace toolbar, select Administration. The Administration Areas panel appears.

2. In the Organization panel, click Roles. The Roles panel displays a list of the roles

you are authorized to administer.

3. In the Details panel, in the Calendars section, click Associate a new calendar rule

to an organization unit for the application role . Calendar and Organization Unit lists appear in the Calendar section. 4. Using Calendar and Organization Unit lists, specify the calendar and organization unit to which you want to associate this role.

5. Click Apply.

To associate a calendar with an organization unit: 1. From the Process Workspace toolbar, select Administration. The Administration Areas panel appears.

2. Under Organization, click Organizational Units. The Organizational Units panel

appears. 3. Select the organizational unit with which you want to associate a calendar rule. The details for that organizational unit appear in the right pane. 4. In the Details panel, from the Calendars list, select the calendar to associate with this organizational unit.

5. Click Apply.