Join us Dec. 16 for The Community Hour, our first global virtual User Group event!
Developer articles
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Articles

stail: tail -f the ServiceNow System Log

Ever miss the 'tail -f' in the Unix world on ServiceNow? I did, so I quickly wrote a Python script to tail the System log. It works by polling your ServiceNow instance looking for new records to simulate tailing the logs.How to use:1. Copy and paste ...

Screen Shot 2016-05-20 at 2.41.52 PM.png
danjyoung by • ServiceNow Employee
  • 2277 Views
  • 2 comments
  • 1 helpfuls

Real-time Cases with Glide User

What is Glide User API and Usage Glide User API and methods are useful to get current logged in user details and their roles. The typical use cases are personalizing feedback to the user and inspecting user roles.  Glide user typically running from c...

Add/Remove email client to forms

Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field   Hi there,   Ever wondered why sometimes there is, and sometimes there isn't an email client available on forms? Or more specifically it is available for example in Incid...

find_real_file.png find_real_file.png find_real_file.png find_real_file.png

Google Translate API with ServiceNow

In this article, i will show you how you can leverage the Google Translate API within ServiceNow. First, you need to register on Google cloud and enable Google Translation API. This will give you API key, which i suggest you store it in ServiceNow as...

find_real_file.png
asifnoor by • Kilo Patron
  • 7409 Views
  • 5 comments
  • 25 helpfuls

Select only Business Days excluding holidays

Hi, Earlier in my article, i have shown you how we can restrict the user to select only weekdays. In general, even in weekdays, there could be specific business times (such as 9-5) and also holidays which we want to exclude from the selection. In thi...

asifnoor by • Kilo Patron
  • 14465 Views
  • 10 comments
  • 37 helpfuls

ServiceNow Development Best Practices

Hi, I have compiled a list of ServiceNow best practices after going through the ServiceNow recommended best practices. This could be helpful for developers who wanted to have a quick look at best practices. Server-side Scripting Technical Best Practi...

asifnoor by • Kilo Patron
  • 76447 Views
  • 7 comments
  • 101 helpfuls

DevBasics: Catch me if you can

  In the several thousand questions I've answered here in the community, as well as in my customer projects over the last few years, I've seen a lot of JavaScript code. And in most cases, the code was not secured against the occurrence of runtime e...

find_real_file.png MaikSkoddow_2-1676709802470.png MaikSkoddow_3-1676711619703.png MaikSkoddow_0-1676799608873.png

Utility Script for Incident Creation periodically

Script Include: var DataGenerator = Class.create(); DataGenerator.prototype = { initialize: function() {   //Global Variables var mem = []; var incSysID; var incr =0; var days = 91; var interval = 5; var tickets = 20; var reassign1f = 0.1; var rea...

Kriti Gupta2 by • ServiceNow Employee
  • 1585 Views
  • 1 comments
  • 0 helpfuls

GlideRecord utility class

In OOB, we have a useful utility, GlideRecordUtil() script include to work with GlideRecords. I've found two handy functions to fetch and update the record data. populateFromGR()mergeToGR() populateFromGR(object, gr, ignoreFields)  This function c...

SaiKumarB_0-1676529856364.png SaiKumarB_1-1676530550020.png
Top Contributors