The easiest way I can think of is to do the following Filter 1 Action 1: Set a Display Only character field (for this example I am calling it zTemp1) to UPPER the TO email address field. Action 2: Set zTemp1 = REPLACE($zTemp1$, “@TEST.COM”, “”)
Filter 2: If zTemp1 like “%@%” show error Basically after removing all occurrences of @test.com in the string if you have any @ left then there is at least 1 address that does not meet your criteria. Fred From: Action Request System discussion list(ARSList) [mailto:[email protected]] On Behalf Of syed Ziyan Sent: Monday, May 08, 2017 1:17 AM To: [email protected] Subject: External Email Restriction and Validation check ** Hi Team, We would like to implement one validation check while sending email to External email address via CTM:Email System form (Email System Link in Incident Form > Opens this form) Requirement is to validate external email from list of emails [email protected]<mailto:[email protected]>; [email protected]<mailto:[email protected]>; [email protected]<mailto:[email protected]>; [email protected]<mailto:[email protected]>..> to restrict email sending if we have any email address that is NOT "test.com<http://test.com>".. We can have a AL on button "Send Email Now" on this form (CTM:Email System) .. but cant prepare the substring logic of verifying the wrong/external email address out of list of email addresses. Looking forward your help.. Thanks Ziyan _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org "Where the Answers Are, and have been for 20 years"

