SAP Knowledge Base Article - Public

3779980 - How to restrict a mandatory field warning message to display only for candidates? - Onboarding

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

  1. 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).
  2. 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 
  3. Observe that Context.Current User is not available to select.

Resolution

*Using Email Information as example:

  1. Configure a rule with below sample condition:
  2. Go to Manage Business Configuration > emailInfo entity.
  3. Take Action > Make Correction.
  4. Configure the rule as an onSave rule.

See Also

SAP SuccessFactors Onboarding: Onboarding Rule Configurations in Data Review Scenarios - SAP Community

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

SAP SuccessFactors Onboarding all versions

Attachments

Pasted image.png
Pasted image.png