My Oracle Support Banner

R13 Valid Email Format Script Not Working (Doc ID 2378616.1)

Last updated on MAY 10, 2018

Applies to:

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

Goal

On : 11.13.17.11.0 version, Accounts, Contacts, Households

Valid Email format script not working in Release 13 anymore.

Customer is using a groovy script provided by Oracle Support, to check for a valid email format (to have a scructure like an email e.g. someone@someone.com) on the Contact Object.

The SR 3-14910873641, shows what script we are using (also added script as an attachment).
Unfortunately, this is not working as intended.

The provided steps where it works:
1. Create a contact, enter a valid email (someone@someone.com).
2. Press save and continue, no error is shown, since the format is correct.

Steps where the script is not working.
1. Create a contact, enter an invalid email.
2. Press save and continue, here the application will throw an error (this is correct, because the email is not valid).
3. Change the email to a valid format (someone@someone.com).
4. Press save and continue, still getting an error, even though the email format is correct. We can try to change as many times as we want, but the application will still throw an error, even though the email format is correct.

I also added printing to the script, as you can see, inside the while loop im printing out the email address that is entered. But from the run time messages log file, if I use the steps provided above, where the script is not working as intended. I see that the email address in the run time message, is always the first one, even though I changed it.
 

Solution

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

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


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