User Activity

I just spent the last 3 hours going down every path I could imagine, but could not find any solutions to meet these requirements.Require mandatory attachment on catalog item and prevent submission without it.Must use best practices; no DOM.Must use r...
I have a table with a column whos values contain commas: My,value,1 My,value,2 My,value,3 I need to query this table looking for an array of matching values var myArray = ['My,value,1','My,value,3']; var gr = new GlideRecord('my_table'); gr.addQuery(...
Implement this after Update business rule on your Email Script [sys_script_email] table to update any references to your email notification script when the name is changed var notifications = new GlideRecord('sysevent_email_action'); notific...
Just wanted to save the script I just used to move records form one table to another. We had a custom incident task table before servicenow created one out of box, and wanted to move the records form our custom table to the out of box table. This scr...
Ok, so you've followed this article on how to do a outbound REST call to Google with OAuth  Outbound REST with OAuth 2.0 profile tutorial - integrating with Google Contacts API ...but now what? How do you refresh your OAuth token via script to make t...
Helpfuls from