My Oracle Support Banner

Cannot Delete Contact Because of Contact Email Validation (Doc ID 2542593.1)

Last updated on SEPTEMBER 11, 2020

Applies to:

Oracle Fusion Sales Cloud Service - Version and later
Information in this document applies to any platform.


On : NA version, Accounts, Contacts, Households

Users cannot delete contacts.

Existing validation scripts(Before Update trigger and Before Insert trigger):

def regex =/(?i)^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/
 def email = getAttribute('ListEmailAddress');
 def EmailCollection = Email

 def emailRec =
 if (!(email.matches(regex))){
 throw new oracle.jbo.ValidationException("Please type the email in the appropriate format (e.g. -> " + emailRec.EmailAddress)

When script is removed, users are able to delete Contacts.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.