Email Access Restriction not working - still visible
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2024 07:27 AM
This seems like such a straigtforward function but I cannot find any reason why this isn't working.
I have a notification which is triggered by an event which is triggered by a Run Script in my workflow. The event works/the mail is sent. I then made this Email Access Restriction:
In other words, the Notification should be visible in the activity log when the ticket is open and invisible when the ticket is closed. But the notification is still visible on the ticket when we close it. Why?
Any tips would be much appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2024 01:54 PM
Hi @Jens Mogensen,
Can you try simplifying the condition? For example, change it to active = true.
Also, make sure the OOB read ACL on the email [sys_email] table is not customized - {your instance}/nav_to.do?uri=sys_security_acl.do?sys_id=8de12cdfc0a8016701fdf6b2bdb041cb
Cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2024 08:06 AM
I tried setting the condition to just be active = true but no change.
I don't believe I've ever edited that ACL. It currently looks like this in the script. Reading scripts is not my strong suit but it doesn't look like there is anything bespoke that should prevent an Email Access Restriction from working:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2024 08:40 AM
I feel silly now. Apparently the email access restriction IS working. I hadn't thought about admin rights overruling it. I tried impersonating an agent and the mail body IS invisible to them. This is great.
Just one niggle. They can still see what email address the notification is sent to. Is there anyway to hide this? Example: I want to make test@test.dk invisible (or just that specific activity entry):
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2024 12:33 PM
Although I have not tested this (as PDI doesn't allow sending emails), it might be possible to hide it by creating a field-level ACL on the [sys_email] table.
However, I do want to point out it could result in repercussions hence I wouldn't recommend it.