Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

primary and scoendary email ID

tushar_ghadage
Tera Contributor

Hi All, 

here I have a requirement where 

I have a group with 3 members where they have a Mastercard email id 

but now client needs to have infy email id for those same group members so that they can receive the notification when their assignment group is populated on the ritm .. 

 

can anyone tell me how to config this ?? it the first time I came across this type of req. 

 

(also, FYI those members are not on dev and only available on test )..

 

thanks 

1 ACCEPTED SOLUTION

@tushar_ghadage 

Hope you are doing good.

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

25 REPLIES 25

@tushar_ghadage 

how are you determining the secondary email of that sys_user?

If you are not storing it anywhere then you can create a custom string field and use that in Notification Who will receive.

Another easy way

1) ask your users to have a forwarding rule defined in their mail box to forward incoming email to primary email and it will forward it to their secondary email

2) with this you need not do anything in platform.

Turn on automatic forwarding in Outlook 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Ankur Bawiskar
Tera Patron
Tera Patron

@tushar_ghadage 

are you saying the user's email address will change?

you need to understand how the users are provisioned?

Is it via LDAP or SSO?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

actually ankur I need to send notification to the same users as in the group but just to their infy email id as well with their mastercard mail id.

 

 

@tushar_ghadage 

you can't have 1 user to have multiple emails.

What you can do is this, with this approach you need not create separate user accounts as well.

1) use after insert/update business rule on your table

2) use gs.eventQueue() to get the users and then in event parm1 add the secondary email IDs as well

3) in notification ensure "Event parm1 contains Recipient" checkbox is true

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

okay will try this out