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 behavior. 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 - Additional Manager & Custom Manager
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" in the object Job Relationships
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 customers 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