SAP Knowledge Base Article - Public

2416185 - How to prevent Hire/Rehire when multiple required Job Relationship Types have not been added


When hiring or rehiring an employee, there is no validation/error message provided when multiple specific Job Relationships have not been added during the Hire/Rehire process


Employee Central 2.0

Reproducing the Issue

Perform a Hire/Rehire and do not include the required Job Relationships during the process. In our example the business requires that every employee have a HR Manager and a Matrix Manager assigned to them


This is expected behaviour. To prevent Hire/Rehire where specific Job Relationships have not been defined in the Job Relationships portlet/block during the Hire/Rehire process you must use a Business Rule


Please note that the below rule is designed to trigger when 2 specific Job Relationships have not been added to the Job Relationships portlet during the Hire/Rehire process - HR Manager & Matrix Manager

Note: to validate against more Relationship Types (say the requirement is all employees require 3 specific relationships defining), you will need to add an "OR" condition to each IF condition, where you are telling the rule not to check NULL rows + not to check a row where the 3rd relationship type is selected. In our below example we are telling to not check rows where the value is the opposite.

The rule must be configured like this to be able to check each row in Job Relationships. A similar rule could be configured to check Pay Components during Hire/Rehire


Base Object - Employee Information (which will only trigger during Hire/Rehire wizards)

Rule Trigger - Set as "onSave" rule trigger on the jobRelationsInfo hris-element

Rule Example -


Please note: This rule works only in new hire scenario and will not work when created with job relationships base object in existing employees job relationship section.

This is currently a known gap and cusotmers are advised to raise an enhancement request, if the similar rule is needed for the businesses.

Workaround: Use onSave rule on job relationships raising an info message which reminds users to ensure that a HR manager exists at the time of saving job relationships.


Business Rule, Job Relationships, Hire, Rehire, Wizard, Add New Employee, Rehire Inactive Employee, Manage Pending Hires, Collection Filter can only be applied to a collection, com.successfactors.hris.bean.eo.EmpJobRelationsEO, EmpJobRelationsEO, delete HR , KBA , LOD-SF-EC-HIR , New Hire/Rehire Wizards , LOD-SF-EC-RUL , Business Rules & Event Derivation , How To


SAP SuccessFactors HCM Core all versions