The Zurich release has arrived! Interested in new features and functionalities? Click here for more

How to modify a query for a related list with a onBefore business rule?

Lupita
Tera Contributor

Hello

I have a requirement to omit certain records on a related list by user role, I mean if user is not an admin then some SLAs records should not be available for them but if user is admin then all SLAs related to ticket should be listed down. Could you please help?

Thanks

1 ACCEPTED SOLUTION
5 REPLIES 5

Lupita
Tera Contributor

Thanks for all help provided here, I created BR onBefore update and it was not working properly so I updated to run onBefore Query as you suggested and it working as expected.