Developer articles
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Articles

Get Unique Values with GlideAggregate

Recently I had to check what are the unique values for one field in a table. The table had over 5000 records and at least 400 unique values. For a quick check, I could just group the list view by this filed and read the number. The issue is that I ne...

Creating RITMs from multi-row variable set

The code below should create RITMs from the mrvs. It should also copy columns from mrvsa to variables if they have the same prefix.  Business rule: after; on insert Table: [sc_request]     (function executeRule(current, previous /*null when async*/) ...

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
  • 1833 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
  • 6261 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
  • 12009 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
  • 65324 Views
  • 7 comments
  • 99 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
Top Contributors