We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

Update or delete event from scoped application

rubesh_u
Tera Guru
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