2608780 - Advanced Condition not Working on Custom Panel

SAP Knowledge Base Article - Public

2608780 - Advanced Condition not Working on Custom Panel

Symptom

Advanced condition has been added to a field on the panel to only display if the condition is met.

Condition.png

It is displaying regardless of the Country selected.

not working.png

Environment

SAP Successfactors Onboarding

Reproducing the Issue

  1. Login To Onboarding
  2. Settings
  3. Panels
  4. Preview the Panel the advanced condition is configured
  5. View the field displaying regardelss of the Country selected

Cause

Custom Expression Validator is used incorrectly.

validator.png

Resolution

  1. Settings
  2. Panels
  3. Find your panel
  4. Select the fields with the Cutom Expression Validator
  5. Delete it, and add a Regular Expression Validator

solution.png

Note: Custom Expression Validator are used for JavaScript,

while Regular Expression Validators are used for formats such as these ^(\s*\d\s*){10}$

Keywords

Custom Expression Validator, Regular Expression Validator, Panels, Advanced Condition , KBA , LOD-SF-OBD-PAN , Panels, Panel Designer , Problem

Product

SAP SuccessFactors Onboarding 1608