Symptom
This knowledge Base Article provides an explaination on why Custom Panels Failed to Load within SAP SuccessFactors Onboarding.
This is the error message from internal logs: String was not recognized as a valid DateTime. at System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles)
"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."
Environment
SAP SuccessFactors Onboarding 1.0
Reproducing the Issue
- Log into On-boarding application
- Select "Process" from the ONB dropdown tab
- Manually Start the Process
- Notice the Panel didn't appear
Cause
Case 1 - String/Key was not recognized as a valid DateTime. Date was configured to have a String/Key as Default Value, see example:
Case 2 - A field in the panel is using wrong regular expression: [^/]
Resolution
Resolution 1 - String/Key value isn't an acceptable value for a Date data type. Make sure to remove the {WOTCStartDate} set as Default Value for the Hire Date.
Resolution 2 - In case of wrong regular explession you can check if syntax is OK in regex101
Example for regular expression which accept all characters but "/"
- ^((?!\/).)*$
Keywords
Custom, Panel, Failed, Load, Manual, Process, String, Default, Value, Application Error, SF, Success, Factors, OBD, ONB, Key, Loading, Regular, Expression , KBA , LOD-SF-OBD-PAN , Panels, Panel Designer , Problem