skip business rules, last updated, notifications

current.autoSysFields(false);//--leave last updated intact
current.setWorkflow(false); //--skip business rules and notifications


var grEmails = new GlideRecord('sys_email'); grEmails.addQuery('type', 'send-ready'); grEmails.setValue('type', 'send-ignored'); grEmails.updateMultiple();

Comments

Popular posts from this blog

GlideRecord setValue

variable advanced reference qualifier example

URL link in addInfoMessage