- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2025 07:57 AM
Hi Community,
I have a requirement where a manager would like to be BCc'd into every email that goes to their team from the system.
The notifications are generic ie. Send an email to the assigned to when they have been assigned a request. The manager only wants to see their teams notifications.
How would I be able to set an additional criteria that the manager gets BCc'd into the emails when their team is the team selected without effecting the original notification criteria.
I have tried using email scripts but I can't seem to set conditions on when to send rather it sends regardless of the team assigned. I have also tried putting an if statement in the advanced view of the notification, but not working.
Any help is appreciated!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2025 02:53 AM
since gbs is reference field, you should compare display value
current.gbs.getDisplayValue() == 'DPS'
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2025 01:28 AM
Just a simple if statement. Am I missing something?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2025 01:54 AM
did you print what came in current.gbs ?
what is the field type?
are you comparing the correct value i.e. DPS
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2025 02:46 AM
Both are reference fields, yes DPS is the name of the value.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2025 02:53 AM
since gbs is reference field, you should compare display value
current.gbs.getDisplayValue() == 'DPS'
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2025 04:10 AM
This worked thanks @Ankur Bawiskar