- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2017 08:01 PM
if((previous.state == 6 && current.state == 3) || (previous.state == 6 && current.state == 10)){
gs.addInfoMessage("hello");
var g = new GlideRecord("sysevent");
g.addQuery('parm1',current.sys_id);
g.addQuery('state','ready');
g.query();
gs.addInfoMessage("hello"+g.getRowCount());
while(g.next()){
g.deleteRecord();
}
In the above code GlideRecord is not working. I am geeting error that " Read operation against 'sysevent' from scope 'sn_customerservice' has been refused due to the tables cross-scope access policy".
If any one know the solution please let me know.
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2017 04:28 AM
Welcome
If your question is answered , please mark my response as correct so that others with the same question in the future can find it quickly and that it gets removed from the Unanswered list.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2017 08:50 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2017 04:22 AM
Thank you.Working now
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2017 04:28 AM
Welcome
If your question is answered , please mark my response as correct so that others with the same question in the future can find it quickly and that it gets removed from the Unanswered list.