how to override the Query Business rules in inbound action
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-24-2017 12:13 PM
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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-24-2017 12:39 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-24-2017 12:41 PM
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-24-2017 12:44 PM
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-24-2017 01:03 PM
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.