Create Rules for Assigning Calendars
- Define the objects (such as job profiles or locations) on which to base calendar rules.
- Security:Set Up: Calendardomain in the System functional area.
Calendar rules enable you to assign holiday and work schedule calendars to workers. They define the conditions that workers must meet for Workday to assign them a calendar.
Calendar rules are similar to condition rules used in business processes in Workday.
For workers assigned multiple calendars, events that occur on the same date cause workers to receive the sum of the time from the events.
Example: A worker is assigned 2 calendars and an event occurs on both on the same date, the worker receives the sum of both events.
- Access theCreate Holiday/Work Schedule Calendar Ruletask.
- Enter a unique name in theDescriptionfield.
- (Optional) Add aCommentand specify aCategoryfor the rule.
- (Optional) To create a new rule based on a similar existing rule, selectCopy Condition from Rule.You can modify the copied conditions for the new rule.
- Select theSource External Field or Condition Ruleon which you want to base the rule condition.The context where the condition is used determines the available fields and their values. A subrule is another condition rule that is relevant to the same business object and that evaluates to true or false.
- Select theRelational Operatorto define how you want the rule condition to handle the field or subrule.
- Select theComparison Typeto indicate how you want the rule condition to compare the specified value to the field or subrule.
- Enter or select theComparison Valuethe rule condition will use to compare to the selected field or subrule.
- When there are 2 or more conditions:
- Use the up and down arrows to arrange them in theOrderin which you want them evaluated.
- Set theAndorOroption at the beginning of each statement to control how it's used with the line directly before it.
- Use the parentheses columns when you've 3 or more logical statements and a combination ofAnds andOrs.Example: You want to say (aandb) orc. Add these rows:And/Or(Condition Rule)(aAndb)Orc
To assign the same work schedule calendar to all employees in a particular company and region, create a calendar rule that selects only those employees. Assign the rule to the appropriate work schedule calendar.
- Add calendar rules to holiday and work schedule calendars to assign calendars to different worker populations.
- Review the condition statements for calendar rules and see which calendars use the rules on these reports:
- View Holiday/Work Schedule Calendar Rule
- View Holiday/Work Schedule Calendar Rules