Syntax Error or Access Rule Violation detected by database (Unknown column 'task10.email' in 'on clause')
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2015 02:19 AM
Hi
I am new to servicenow. When I try to open Incident>open then its giving the errror as 'Syntax Error or Access Rule Violation detected by database (Unknown column 'task10.email' in 'on clause')' and 'Record not found'
What should be done to resolve this problem ? Please help..!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2016 06:22 PM
i met the same problem.
and at last i found that the name of column is not exist, pls check that
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2017 02:57 PM
I recently came across this same error while creating a database view. I was trying to use incident caller_id in a where clause. It was rather confusing because the same where clause using incident open_by worked. The key difference is that opened_by is defined on the task base table while caller_id is defined on the extended table, incident.
The solution was to lookup the "alias" for caller_id in sys_storage_alias.list and use the alias field name in the where clause. I found the alias for caller_id was a_ref_4.
I have two tables in my database view, incident (inc) and user (usr).
Where clause:
inc.opend_by = usr.sys_id - works!
inc.caller_id = usr.sys_id - failed with unknown column error
inc.a_ref_4 = usr.sys_id - works!
References:
View a table hierarchy and extension model
Snehal, this may not be the solution for your issue but anyone searching for the error may find it helpful.