current.autoSysFields(false);//--leave last updated intact
current.setWorkflow(false); //--skip business rules and notifications
current.setEngines(false); //--skip data policy rules
var grEmails = new GlideRecord('sys_email');
grEmails.addQuery('type', 'send-ready');
grEmails.setValue('type', 'send-ignored');
grEmails.updateMultiple();
Comments
Post a Comment