How to identify notifications are going to end users vs itil users

Mallika Bhupath
Tera Contributor

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 

3 REPLIES 3

Appanna M
Tera Guru

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.

Appanna_0-1713556871103.png

 

 

Please Mark My Answer as Helpful and Accept as Solution, if you find this article helpful or resolves your issue.

 

Hi Appanna,

 

Can you please provide the GlideRecord script to try.

 

Thanks,

Mallika

James Chun
Kilo Patron

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