Data Filtration - Filter Incidents/Requests

Filipa Fonte
Tera Contributor

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!

10 REPLIES 10

Bert_c1
Kilo Patron

I have no idea what Data Filtration is, but a business rule defined on the two tables that runs "Before" and for "Query" can do that.  See existing examples in your instance. 

Data Filtration is a new feature released in Tokyo.

I ended up using Before Query BR, instead of Data Filtration.

KB18
Tera Guru
Tera Guru

Dear @Filipa Fonte ,

 

You have use before query business rule to achieve your requirement.

 

For reference :

Before Query Business Rules - The *Other* Access Control - Support and Troubleshooting (servicenow.c...

 

Fixing the Fatal Flaw of Before Query Business Rules - ServiceNow Guru

Please hit the thumb Icon and mark as correct in case I help you with your query!!!
- Kailas

Helen T
Tera Contributor

Did you find a solution for this?

I don't have a resolution, but I do have the same issue trying to do the same access restriction. I haven't been able to work it out using data filtration or business rules despite trying all the scripts out there.