The rules engine is a tool that enables you to create customer-specific rules. At its most basic, for Recruiting, the Rules Engine provides a way to add if/then logic into requisition and offer creation processes.
For example, you can use a rule to specify:
All requisition that are created for full time employees in the Sales organization should include a potential calculated commission of 15% of the base salary
All offer approvals should have a set expiration date of 30 days after the creation date of the offer approval
Set the Currency field on the requisition based on the derived Country field (Action: Default value)
Add a warning message to the Currency rule: "Validate all financial fields when the country/ currency fields are changed." (Action: Raise message)
On the offer, calculate the Target Bonus as 10% of the Base Salary. (Action: Calculation)
Other business rules are useful for Recruiting. Review the following examples:
If the employee is eligible for stock (and the company is SAP_USA), then the initial stock grant is set to 200.
Create a rule that allows master data (foundation object/generic objects) to be passed from Recruiting Management to Onboarding.
Post job requisitions, either immediately or at a predetermined time in the future.
In the case of a replacement position, ensure that the name of the employee being replaced is provided. To do this, make the field required, and if a value of Addition to Staff is entered, then N/A is populated. Otherwise, the user must enter the exiting employee's name. Include a separate rule that will present a warning message to the user to remind them about what needs to happen.
When a requisition is cancelled, require that a valid cancellation reason is provided. For any of the statuses on the requisition that do NOT equal to Cancelled then N/A is populated. If the reason is changed to Cancelled, then the field is set to null and the user needs to enter a value. Include a separate rule that will present a warning message to the user to remind them about what needs to happen.
Business rules can be leveraged to make the following:
Calculation; for example, a calculation of Salary Mid field on a job requisition as an average of the Salary Max and Salary Min fields
Default values into fields; for example, default current user as recruiter on job requisition
Validate entries based on conditions raising a custom message if conditions are met; for example, if country of the job has changed also the currency has to be change on the job requisition
Business rules are written using the Metadata Framework (MDF) within the Admin Center and can be applied to job requisitions, offers, and candidate profile.
Employee Central is not required to create business rules, though some sophisticated rules also require Employee Central, for example, to automatically populate the Hiring Manager’s org structure (Legal Entity, Division, Department, Business Unit, Location, and Country).