Defining condition sets and rule parameters

After you have set up a calculation group and assigned the applicable rules, you must define the condition sets and parameters for each rule. A condition set is a collection of circumstances. These circumstances determine the rule parameters that are applied. For example, a rule that determines how much overtime to pay an employee might distinguish between holidays and regular workdays.

These are two different condition sets. One defines what is considered a holiday and the other lists the circumstances that are considered a workday.

Each condition set, which can have more than one condition (one or more circumstances that must be true or false), has a set of rule parameters. The rule parameters determine what happens when all the circumstances in a condition set are true. The application only applies the parameters for the condition set that is found to be true first. Evaluation of each condition set proceeds in the order in which the condition sets have been configured, which means the most specific conditions should appear first. If general conditions are configured first, the application will never reach the more specific conditions of the rule.

Continuing the overtime example, when an employee works overtime on a holiday, they receive double time and a half, while employees working overtime on a workday receive time and a half. This condition is defined by the overtime rule’s parameters. When the conditions in the holiday condition set are met, the corresponding rule parameters (which assign the employee double time and a half) are applied to the employee.