how to override the Query Business rules in inbound action

narenreddy
Giga Guru

We have Query business rules on task table to give the visibility to the customers based on their account/company, But the issue is here the inbound action is not processing when user replies to case where user is restricted to that record by Query business rule. Is there any way to override the business rule for inbound actions.

8 REPLIES 8

SanjivMeher
Kilo Patron
Kilo Patron

Hi Narender,



But why do you want to allow user to update incident from inbound, if they dont have access to it?



Please mark this response as correct or helpful if it assisted you with your question.

larstange
Mega Sage

If you add gs.getSession().isInteractive() to the condition of the business rule it should only run when the incident is modified in a session where the user is logged in via a browser - not when running via an inbound action


Chuck Tomasi
Tera Patron

I agree with Sanjiv,



what's the use case where you would want someone, who normally doesn't have access to a record, to be able to suddenly have access to update it with an email?


narenreddy
Giga Guru

Hi Chuck/Sanjiv,



  We are marking the customers in watch list who does not have access to that record and they are receiving the emails, But they want to update the record via email.