Update or delete event from scoped application

rubesh_u
Tera Contributor
if(current.operation() == 'update'){
I couldn't able to read sysevent table from scoped application eventhough i gave application cross scope privilidge and application access is read.

// change the state of the previous events
var grSysEvent = new GlideRecord('sysevent');
grSysEvent.addQuery('instance',current.sys_id);
grSysEvent.query();
// if(gr.next()){
// gs.info(grSysEvent.getValue('state'));
// }
gs.info('RUNNED');
}
0 REPLIES 0