Data Filtration - Filter Incidents/Requests
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2023 09:30 AM
Hello!
I'm using Data Filtration to filter HR Incidents and Requests from users that don't have an HR role.
This is working fine:
- Users with HR role can see all Incidents and Requests, including HR
- Users without HR role cannot see HR Incidents and Requests
But now I'm having an issue with users that are the caller/requested for. They should be able to see their incidents/requests, but their access is blocked. This makes sense, since I have a Data Filtration rule applied. But how can I block access to users without HR role, unless they're the caller/requested for?
How should I do this with Data Filtration?
Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2023 03:29 AM
Hello Helen,
I think your condition is upside down. To set up the Data Filtration record to allow users to see their own ticket you need to have condition that excludes the tickets where the logged in user is Caller. Out of the box operators for this does not seem to exist, so how I was able to set this up is to have comparison with the dotwalked user sys_id and use javascript: gs.getUserID() for the logged in user. The fields are different on my example picture, but I bet you get what I mean from it.