How to identify notifications are going to end users vs itil users
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2024 11:11 AM
All,
Is there an easy way to know if the notifications are going to an ITIL user or an end user instead of going through each notification separately.
We had over 350+ notifications currently active and it would be a tedious process to go through them all.
Any help would be appreciated.
Thanks,
Mallika
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2024 12:59 PM - edited 04-19-2024 01:01 PM
Hello @Mallika Bhupath ,
Try writing a GlideRecord script on the Email Log (syslog_email) table and get the notification and recipients from the same and check the recipients has the role ITIL or not.
Print the output in an array like notification name and role check flag.
From the array you can easily check which all notifications has sent to itil users.
Just give a try and see below is the sample snap.
Please Mark My Answer as Helpful and Accept as Solution, if you find this article helpful or resolves your issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2024 11:27 AM
Hi Appanna,
Can you please provide the GlideRecord script to try.
Thanks,
Mallika
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2024 04:01 PM
Hi @Mallika Bhupath,
I am assuming when you say 'ITIL user', it's the users with the ITIL role.
Normally you wouldn't select the recipient by a user's role but rather send to those who are associated with an event (e.g. assignee, requestor).
So it doesn't make sense to filter by 'ITIL' user as they can be both a requestor and an agent.
Can you elaborate on why you are doing this?
Cheers