Customization of Activity Stream email visibility

artur3
Mega Guru

Hi,

Is there a way to customize who can see emails in Activity Stream for Security Incident? The requirement is that only handful of users should see those emails, people from few groups. I wonder is there a way to put some restriction on activity of email type on Security Incidents in Activity Stream.

artur3_0-1746622808694.png

 

1 ACCEPTED SOLUTION

@Ankur Bawiskar thanks for your replays, but unfortunately it wasn't what I was looking for. My requirements was to restrict visibility for emails only on Security Incident and your approach was clean and OOB but impacted the whole platform. I went with custom ACL on sys_email table that applies only to target_table == sn_si_incident.

View solution in original post

7 REPLIES 7

Ankur Bawiskar
Tera Patron
Tera Patron

@artur3 

try to use "Email Access Restrictions" feature

Control visibility to email records generated by notifications 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Thanks @Ankur Bawiskar  for the response. That's a nice idea, but I need to restrict visibility of emails sent manually or received and shown on particular Security Incident record. "Email Access Restrictions" allows only to restrict them based on notifications from what I can see.

 

Regards,

Artur

@artur3 

1) then create a group

2) create a role and give that role to that group

3) add the users to whom it has to be see in that group

4) then add that role to this system property "glide.ui.activity.email_roles"

AnkurBawiskar_0-1746625232688.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

@Ankur Bawiskar sounds like a good approach but it will impact the whole platform, standard ITSM, HR and so on. I want to restrict emails visibility only on Security Incidents.