Symptom
User tries to opt out as of today (default effective date) for Benefit enrollment opt out > error pops up similar to 'Selected Opt-Out effective from date is invalid. Please select a valid Opt-Out effective from date'.
Environment
SAP SuccessFactors Employee Central: BEnefits Management
Reproducing the Issue
Go to any employee or employee goes to his/her enrolled benefits and tries to opt out by clicking opt out and then date is populated as today (default date) > submit > error - Selected Opt-Out effective from date is invalid. Please select a valid Opt-Out effective from date ( in respective language, that user is using).
Cause
This issue happens only with some spcific languages.
On click of optout we are formatting the date to locale-specific date and we are trying to extract the date and use it in application logic afterwards, which fails because javascript does not understand the string value of the date and it treats as an invalid date.
Resolution
Workaround: Select any other date in the opt out popup and then select today's date again > submit.
The issue will be fixed with a patch PTCH-31517 on 1st Dec 2019.
See Also
BEN-4536 , PTCH-31517
Keywords
Opt-Out effective from date is invalid , Opt-Out effective, Opt-Out , KBA , LOD-SF-EC-GBF , Global Benefits , LOD-SF-EC , Employee Central , Problem