Task Engine 10.15 | Task Engine Webhelp | webMethods Task Engine User's Guide | Configuring the Task Engine Environment | Configuring Task Engine in My webMethods | Working with Business Calendars | Creating a Business Calendar
 
Creating a Business Calendar
You can create multiple business calendars, enabling you to accommodate operations that may span different locations. For example, you may have an office in one location that works 8 A.M. to 4:30 P.M Monday through Friday, and another office that works 8 A.M. to 6:30 P.M Tuesday through Friday.
In this case, you can define two different business calendars, and associate users in each location with the appropriate calendar. When calculating time intervals, the Task Engine will take the proper business schedule into account.
Note:
After you create a business calendar on an instance of My webMethods Server version 8.2 or later, you can use webMethods Deployer to migrate the calendar to other instances of My webMethods Server. In addition, in Software AG Designer 8.2 or later, you can locate the business calendar in the MWS Admin view, right-click it and then click Import/Export > Extract Asset Into Project. This extracts the calendar into a deployable My webMethods Server component.
*To configure a business calendar
1. In My webMethods: Navigate > Applications > Administration > System-Wide > Calendars Management.
2. Click on the Business Calendars tab.
3. On the Calendar Administration panel, click Create New Calendar.
4. On the Create New Calendar panel, enter the following:
*Name — A name for the calendar; this name must be unique within My webMethods Server. This name is displayed in the My webMethods and Designer interfaces as the name of the calendar.
*Lookup Name — This is an internal name (or alias) used to identify the calendar. This name must be unique within My webMethods Server. For example, a task may define an event to set an expiration date based on business calendar. The calendar to use may be specified during task design time or it could be taken from a piece of business data; in either case, the task will use the lookup name to identify the given calendar.
5. The time zone is set to the system time zone by default. If you are setting up a calendar for another time zone, select it from the drop-down list.
6. Add the workdays of the week by clicking the New Workday link. The New Workday dialog box appears.
7. Select the day of the week, specify the hours of the day, and click Add.
8. Repeat steps 5 and 6 to add additional days of the week.
9. Add any holidays you want to include in the calendar by clicking the New Holiday link. The New Holiday dialog box appears.
10. Enter a name for the holiday. Click The Calendar icon to select a date, and then specify the duration (one day, by default). Click Add.
11. Repeat steps 8 and 9 to add additional holidays.
Important:
Calendars are not limited to the current year, but continue automatically into following years. Holidays are not carried forward from year to year, and must be manually defined for each calendar year. Consider creating a task (or other reminder) to notify you near the end of a year to schedule holiday date creation for the coming year.
12. To delete a workday or a holiday from the calendar, click The Delete icon next to the workday or holiday.
13. Click Create New.
The new calendar appears in the Calendar Administration list. Be sure you specify a default business calendar, as described in Specifying a Default Business Calendar.