Symptom
When a warning message is configured to be raised when mandatory field (e.g. email information, phone information) value is missing, how to restrict it to display only for the candidate?
- Legacy "Basic" scenario is no longer available when creating a business rule.
- In if condition, "Context.Current User" is only able to select in "Basic" scenario but not in other scenarios e.g. "Rules for Hire/Rehire Processes" scenario, "Trigger onInit Rules for Hire/Rehire", etc.
Environment
SAP SuccessFactors Onboarding
Reproducing the Issue
- In Onboarding Personal Data Collection, attempt to configure a business rule to show a warning (for example, when mandatory fields e.g. email information is missing).
- In the Rules for Hire/Rehire Processes scenario, try to add a condition based on Context.Current User to ensure the warning appears only for the candidate referring to SAP SuccessFactors Onboarding: Onboarding Rule Con... - SAP Community
- Observe that Context.Current User is not available to select.
Resolution
*Using Email Information as example:
- Configure a rule with below sample condition:
- Go to Manage Business Configuration > emailInfo entity.
- Take Action > Make Correction.
- Configure the rule as an onSave rule.
See Also
Keywords
onboarding, personal data collection, rules for hire/rehire processes, candidate only, warning message, validation rule, new hire data review, expected behavior, context.current user, phone required, data review rules, onboarding rule configuration, candidate validation, rule condition, message restriction , KBA , LOD-SF-OBX-PDC , Personal Data Collection , LOD-SF-OBX-DC , Personal Data Collection , Problem
Product
Attachments
| Pasted image.png |
| Pasted image.png |
SAP Knowledge Base Article - Public