Requirement is to automatically set/define the Job Relationship during the Hire/Rehire wizard.
Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.
- SAP Successfactors HXM Suite
- SAP SuccessFactors Employee Central
It is only currently possible to add the Job Relationship Role to the Job Relationships portlet/block during the Hire/Rehire wizards. You cannot also assign a User to that Role. Currently this limitation is tracked under ECT-54224 as an Enhancement Request (not functionally supported currently).
What you can currently do, is add the row so the operator can add the User to the role before completing the wizard. For this you would need 1 rule for each Role you want to set. For example, if you require that Matrix Manager and HR Manager are added for all new Hires.
- Create the rule with Base Object "Employee Information" as, in this case, we want it to trigger during the Hire/Rehire wizards only. Below you can find example rules that meet the above requirement.
- Put the 2 rules in order (top to bottom) as onInit rules on the jobRelationsInfo element in the Business Configuration UI (Admin Center > Manage Business Configuration).
After this ocnfigure you will face the following behavior in the Hire/Rehire wizards:
Since doing this does not prevent operators from creating users without these Job Relationships as they can still be removed. Therefore if required that all new Hires/Rehires get certain Job Relationships, then you should also consider using another rule to prevent completing the wizard if one or more of these Job Relationships are missing or not defined. For this you will need 1 rule, with Base Object = Employee Information. It would be put as onSave as we want it to trigger and validate during the Save request. Rule would look like this (base on same requirement above - HR Manager and Matrix Manager are required during Hire):
Place the rule under jobRelationsInfo as onSave
Note : If there is a rule that triggers a workflow on jobRelationsInfo entity, then the context of "New Hire/Rehire UI" should be set to "No" to avoid triggering this rule in hire scenario, Otherwise validation message will always display even if the above validation rules condition doesn't match. New Hire / Rehire workflows are usually based on the jobInfo config, hence if there is a need to trigger workflow during new hire, it should be set in job info.
Job Relationships, Rules, default, bcui, ECT-54224, INC0029142, PRB0043519, not able, unable, create job relationship, hr manager, jobrelationship, matrix manager