primary and scoendary email ID
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 weeks ago
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 weeks ago
Hi @VikMach
Agree, but the question arises: in which email notification would you add these three email IDs? If the three users are neither the Caller, Requester, nor Assigned To, yet still receive emails because you added them to all notifications, this is my concern.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 weeks ago
@Dr Atul G- LNG, "when their assignment group is populated in the RITM"... See his post. That means there is already one notification for that use case in the RITM table.
And even if there are more than one, (which I believe would be couple and not many), it is still ok to add in the Email field given in the Notifications rather than creating custom fields or creating duplicate profile(s). Which will confuse and complicate the system even more.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 weeks ago
So, there are two solutions:
-
Create a new email notification specific to this group and add the email addresses there.
-
Create a new email field for capturing and using the additional addresses.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 weeks ago
@tushar_ghadage, Another approach, if you want a dynamic solution...
You could create one unique "User Preference" like example below then create one email script to fetch and send the emails in preferred way, example Cc or Bcc. Using syntax "email.addAddress". See example below. In this way you don't need to mess with system setup.
var grUser = new GlideRecord('sys_user_preference');
grUser.addQuery('user', gs.getUserID());
grUser.addQuery('name', 'secondary_email');
grUser.query();
if (grUser.next()) {
var secondaryEmail = grUser.value.toString();
email.addAddress("cc", secondaryEmail, grUser.user.getDisplayValue()); // Edit as per your preference
email.addAddress("bcc", secondaryEmail, grUser.user.getDisplayValue()); // Edit as per your preference
gs.info("Secondary Email: " + secondaryEmail);
gs.info("Display Name : " + grUser.user.getDisplayValue());
} else {
gs.info("No secondary email found."); // Edit as per your preference
}
Regards,
Vikas K
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 weeks ago