A better looking Post Election error message without the additional comments added
The business requirement allows the Employee to choose upto 4X of their salary as Coverage amount for 'Optional Life Insurance' and the Spouse needs to be exactly 50% of the coverage amount chosen.
So we had this error message in the Post Election Edit Fast formula.
ERROR_MESSAGE = '-Spouse or Domestic Partner coverage cannot be greater than 50% of the Employee coverage in Optional AD&D insurance -'
However,we get additional wordings added to the Error Message which the testers and clients feel would confuse the users.
There was a problem saving the enrollment.The formula returned the message -Spouse or Domestic Partner coverage cannot be greater than 50% of the Employee coverage in Optional AD&D insurance.Please modify the Spouse/Domestic Partner coverage election -. If you're a benefits administrator, note that the enrollment result didn't satisfy the post election edit rules that were defined in the formula. Review the formula, make changes if required, and try again