In this article in The Rules Series, we show how to configure the rules engine to combine conditions using Nested conditions.
How Nested conditions works
Nested conditions allows you to combine multiple conditions, and use a container (see How to: Combine conditions: Using any of, all of, or none of to group conditions ) to evaluate the conditions as a single condition.
In this example, we want to configure a condition that rewards employees for a late-finishing shift on weeknights.
combines all the following:
not linked to a leave request, and
all of the following nested conditions
the shifts is on days of the week:
the shift has some portion between
The action that we will take here is to pay the employee an additional payment for the hours worked between 10:00pm and 11:59pm Monday to Friday.
Create a Pay Rule and Pay Rule Version. (see: How to: Create a new Global Pay Rule, and How to: Create a new Global Pay Rule Version for examples)
Navigate to edit the pay rule version, and expand the Rules
Configure a condition, the click + Nested Condition
Choose how you want to combine your conditions (
none of) then choose the conditions you want to configure
Save your pay rule version.
Please sign in to leave a comment.