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

Articles

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
  • 1066 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

Servicenow Table data anonymizer

Hello All, Servicenow Table data anonymizer a simple tool helps you to anonymize / delete (calendar history) your data with full/safe control. 1- Supported algorithms:+ MD5+ SHA1+ SHA2562- Use System Property (supported.Internal.field.type) to set...

find_real_file.png find_real_file.png find_real_file.png

Using additional icons in the ServiceNow Agent app

The ServiceNow Agent app was recently released on app stores, and documentation is already available, but it appears that some developer configuration options are undocumented and not available in the Studio IDE.  One such feature is Icons.  The Serv...

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

Virtual Agent Automatic Test Topic

Automated testing for Virtual Agent topics in UtahGreat to hear that now virtual agent can also tested as other modules are tested under Automated Test Framework. This Automatic Testing uses the ServiceNow Automated Test Framework product through Vir...

Manage Test Case.png System_Property.png Run Test Case.png

Why you should avoid if(x) in your scripts?

Since I have started my journey into the ServiceNow's world I have seen, worked with and analysed a lot of code written by someone else than I. Analysing someone's code is a very useful exercise that can teach you a lot about coding in ServiceNow. At...

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

Logging and Debugging - Recommendations

I am thinking of suggesting GSLog as a Standard at our company.  (Logging is out-of-control here)What do you think?  Any thoughts or advice on these recommendations below? 1. Summary This page includes: Discussion about Syslog logging issuesRecommend...

Cisco Prime API Integration: An Example

Introduction This article contains a recently developed and anonymized update set containing the following: A custom Script Include containing the Cisco Prime API functions to query the Cisco Prime system for Wireless Access Point(s) (WAP) and the as...

find_real_file.png find_real_file.png find_real_file.png find_real_file.png
John  Frandsen by ServiceNow Employee
  • 13612 Views
  • 6 comments
  • 5 helpfuls

Reminder field to help ITIL users for incident management

I got a request to add a new field helping the ITIL users to get a reminder notification when they have to call a user or a provider back. So, I added a reminder field in the ITSM template to allow them to put a date/time for a simple reminder as you...

dbroyon by Kilo Explorer
  • 720 Views
  • 2 comments
  • 0 helpfuls

CONGRATULATIONS @ANKUR BAWISKAR

Hi everybody, HI @Ankur Bawiskar  I just wanted to write this very short article and send some ... CONGRATULATIONS to @Ankur Bawiskar !!! Today, I saw that you climbed the top of the roof! You finally made the impossible possible.Throughout all of th...

find_real_file.png
DirkRedeker by Mega Sage
  • 3530 Views
  • 13 comments
  • 26 helpfuls

How to create a footer for the Service Portal

I ran into this question on the community and found out that there wasn't really any description how to create a footer, even if it's pretty much the same way as with a header. So For the easy part of it I created a video to quickly show how to make ...

Get last updated Date record using GlideAggregate

Get last updated Date record using GlideAggregate   var aggIncident = new GlideAggregate('incident'); aggIncident.addAggregate('MAX', 'sys_created_on'); aggIncident.groupBy('priority'); aggIncident.query(); while(aggIncident.next()){ //get the fir...

image
tiagomacul by Giga Sage
  • 4088 Views
  • 1 comments
  • 3 helpfuls
Top Contributors