Before Query Business Rules

sparkles
Tera Contributor

Hi,

 

User getting "Number of rows removed from this list by Security constraints" on their list view. I need to remove this message using BR. I have ACL that restricted groups from accessing each other's tickets which causing this message to show. 

its a custom table

thanks,

S

3 REPLIES 3

Bert_c1
Kilo Patron

hi,

 

I believe you'll need to update script logic in a 'read' ACL. I doubt any BR logic can defeat ACL security.

Badal Khojare
Mega Sage
Mega Sage

Hi @sparkles , If you mean to replace the row level ACL with Before query Business rule you can do that. You can look at OOB 'incident query' BR to take reference and create yours. 

Please Mark My Response as Correct/Helpful if it helped.
Regards,
Badal Khojare
Community Rising Star 2023

jaheerhattiwale
Mega Sage
Mega Sage

@sparkles query business rule will remove that message. So delete the read acl and write the same logic in query business rule.

Like below

current.addQuery("QUERY HERE");

Please mark the answer as correct or helpful based on impact
ServiceNow Community Rising Star, Class of 2023