Bypass Query Business Rule from action.setRedirectURL(urlExample)

Tim34
Tera Contributor

I have a Query business rule that limits some users from seeing records. I know how to query records and bypass business rule query by using setWorkFlow(false). However, when I try to show a user something using action.setRedirectURL(urlExample), I would like to bypass this query business rule at times. Is there a way to not have business rules run by setting something on the action redirect, or maybe in the URL parameter? The problem is, I can't use roles for the user, because they need to sometimes have the business rule run, and sometimes not. I have gotten everything to work, except when using action.setRedirectURL.

 

Thank you for any help on this.

0 REPLIES 0