background_scripts
This is an old revision of the document!
Table of Contents
Background Scripts
Approve
var app = new GlideRecord('sysapproval_approver');
app.addQuery('state','requested');
//app.setLimit(30);
app.query();
while(app.next())
{
gs.print('Approval count in requested state '+app.getRowCount());
app.state='approved';
app.update();
}
Clear Attribute
Fix SLA
Metric Incident Category TESTING
Metric Incident Category
Trigger Business Rule
Unlock PROD
Update Time Zone
background_scripts.1734018431.txt.gz · Last modified: by johnsonjohn
