Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

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

Articles

DevBasics: Give me names

  Table of Contents Common RulesVariablesConstantsFunctionsClasses 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 ca...

find_real_file.png

Copy Individual Attachment from 1 record to another

Hi, In the last article, as you have seen, I have shown you how to copy all attachments from 1 record to another set of record(s). In this article, I will show you how you can copy a specific attachment from 1 record to another set of record(s). To d...

find_real_file.png find_real_file.png find_real_file.png
asifnoor by Kilo Patron
  • 12678 Views
  • 15 comments
  • 42 helpfuls

Translated message in the Service Portal

The benefit of using translations You can use Translations in many places. Here are some examples I will use in this Article: - To set a field message - Generate an Info or Error message - Translate options   You can enter the translations in the [sy...

find_real_file.png find_real_file.png
Willem by Tera Sage
  • 4957 Views
  • 1 comments
  • 11 helpfuls

Speed up Workflow testing on "Timer" utility

Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field   Workflow Editor is a legacy product to maintain existing workflows already in production. For new use cases and workflows, use ServiceNow Workflow Studio. Workflow Stud...

find_real_file.png

Use breakpoints to debug an automated test (San Diego)

Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field   Hi there,   Browsing through the San Diego release notes, my eyes caught "Use breakpoints to debug an automated test". That sounds interesting for debugging a test (step...

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

Scripted Extension Point - Just an Overview

Yesterday I was reviewing some code in a vendor app, noticed a call with GlideScriptedExtensionPoint().getExtensions(..)  and I found myself asking, how do scripted extension points work? BENEFIT:  It's possible to define a script include that declar...

Scheduled Import From Google Sheets

Let’s see how to import data automatically with scheduled imports, First open your google sheet and go to File -> Share -> Publish to Web   Now select sheet which contains data in my example it’s sheet1 and select comma separated values (.csv) in nex...

find_real_file.png find_real_file.png find_real_file.png find_real_file.png
Community Alums by Community Alums  
  • 3601 Views
  • 1 comments
  • 6 helpfuls

How to use the switch case with example

Hello all, Use the switch statement to select one of many code blocks to be executed. This is how it works: The switch expression is evaluated once.The value of the expression is compared with the values of each case.If there is a match, the associat...

Community Alums by Community Alums  
  • 1516 Views
  • 1 comments
  • 5 helpfuls

Open a sys_email record directly from the Activity log? Easy!

For quite a long time I have been trying to figure out a way to do this without modifying the 'EmailDisplay' Processor, and it looks like I finally managed to, partially thanks to ServiceNow introducing a new property to store the email body style se...

n21lv1 by Tera Contributor
  • 3165 Views
  • 9 comments
  • 9 helpfuls

Telegram Bot and ServiceNow

Create a telegram bot which would take an Incident number as input and using ServiceNow REST Service it will output the details of the incident back to Telegram Chat Bot 1. Create a Telegram Bot - To create a telegram bot follow the steps mentioned ...

find_real_file.png find_real_file.png find_real_file.png find_real_file.png
rad2 by Mega Sage
  • 11097 Views
  • 10 comments
  • 12 helpfuls
Top Contributors