Validate that Date of Death isn't a Future Date

You must add new field validations section.

Following are the steps:

  1. Sign in to Oracle CX Sales using administrator role.

  2. Navigate to Application Composer.

  3. Go to Service Request > Server Scripts.

  4. On Validation Rules page, in Field Rules section, click New icon.

  5. For field name, select Date of Death.

  6. Provide a rule name such as ValidateDoD.

  7. Provide the Date of Death cannot be set to a future date error message.

  8. Add the following rule for validations groovy code:

    return (newValue < today())