Set incident category and subcategory in gliderecord...

 within the script include code it appeared to be necessary to set these AFTER the .insert as a .update...

(need to figure out a better way!)

var inc_id = inc.insert(); inc.category='Alert'; inc.subcategory= 'Error'; inc.update();


Popular posts from this blog

GlideRecord setValue

variable advanced reference qualifier example

URL link in addInfoMessage