It worked Fred.. thanks a lot.. it was so nice of you..

On Mon, May 8, 2017 at 6:50 PM, Grooms, Frederick W <
[email protected]> wrote:

> **
>
> 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]; [email protected]; [email protected]; [email protected]..> to restrict 
> email
> sending if we have any email address that is NOT "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
>
>
>
>
> _ARSlist: "Where the Answers Are" and have been for 20 years_

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
"Where the Answers Are, and have been for 20 years"

Reply via email to