Restrict users on the Email Client

Kalaiarasan Pus
Giga Sage

I am looking at ways to restrict the users that are available for the selection on the email client. I have certain set of users in the instance which I do not want to be searchable or selectable on the email client and block sending the emails to them.

Is there any properties that can be used? I know that the mail client is embedded in the platform and not available to us. Also, writing any business rules on email table is at the very bottom of my wish list.

I would appreciate if somebody has a alternate or clever solution to solve this.

1 ACCEPTED SOLUTION

Kalaiarasan Pus
Giga Sage

I wrote a quick blog here if someone is interested in what was the final solution that I did.


Unlearn Series - Restrict Users On Email Client


View solution in original post

4 REPLIES 4

bernyalvarado
Mega Sage

Hi Kalai,



I don't think there's an easy way to do so. A business rule on the email table is definitely an option, but it's a dangerous one for various reasons such as performance and side effects in other functionalities.



Perhaps implementing some "security model" could be an option; where a group of users could not see a given list of users. In my mind this will best be implemented with something like an onBefore-query Business Rule, but you could also try through ACLs.



Thanks,


Berny


Karthik Reddy T
Kilo Sage

Hi Kalaiarasan,



I do not know of any OOB way to filter, but I can suggest to create an after insert BR on the sys_email table to check the recipients and delete the unwanted ones.


Karthik Reddy T.
ServiceNow Commnunity MVP -2018 class.

bernyalvarado
Mega Sage

Hi Kalai,



I hope you're doing great!



Do you believe we can close this thread by marking one of the responses as correct?



Thanks,


Berny


Kalaiarasan Pus
Giga Sage

I wrote a quick blog here if someone is interested in what was the final solution that I did.


Unlearn Series - Restrict Users On Email Client