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

Articles

Scripts: Convert Date to Epoch

.  Function function convertDateToEpoch(vDate) { epoch = ''; vDateTmp = new GlideDateTime(vDate).getNumericValue() / 1000; epoch = (Math.round((vDateTmp *Math.pow(10,0)).toFixed(0-1))/Math.pow(10,0)).toFixed(0); return epoch; }   How to u...

Know-More-Now-Logo.jpg
tiagomacul by Giga Sage
  • 3439 Views
  • 2 comments
  • 8 helpfuls

Convert script into Excel !!!

scenarios: Need to glide a table, print the records and get into a Excel sheet using a Background script We definitely come across such requirements often, following the below steps would help  1) Create a Background script, print a column and rows u...

find_real_file.png find_real_file.png find_real_file.png find_real_file.png
Chalan B L by Giga Guru
  • 4085 Views
  • 1 comments
  • 11 helpfuls

Handling ServiceNow flow errors with a flow

Handling ServiceNow flow errors with a flow ServiceNow is promoting the LowCode / No-Code approach very strongly with their flow engine. Flow is the new way of creating a workflow fast and without any huge programming. I’m not very familiar with th...

Digest Notifications

Contents OverviewUse Case Send Knowledge Article Reminder Solution Event RegistryScheduled JobNotification Email ScriptNotification Overview Many times clients want the ability to remind users of upcoming tasks, but do not want multiple notific...

ccajohnson by Kilo Sage
  • 1882 Views
  • 2 comments
  • 2 helpfuls

How to Perform a ServiceNow Integration with Twitter

Credit goes to AAspenNow Solutions' Guest Star, Eash Verma for performing this integration! https://youtu.be/JKafHVGBCjk Items demonstrated/discussed in this video: * Navigated to apps.twitter.com.* Mentioned importance of Consumer Key and Consumer S...

knight202 by Kilo Guru
  • 649 Views
  • 1 comments
  • 0 helpfuls

JSX Cheatsheet

Developing components for Now Experience Framework requires you to be familiar with JSX syntax, hence I decided to list several most common patterns that might help you while developing now components. If you are coming from React you might feel ver...

Flow Designer Action "Check day occurrence in month"

Hi there, Sometimes you just need to get your hands on how many occurrences of this weekday it is in the month. For example when creating a scheduled job, which you should only run on the 3rd Monday of every month. This is also a pretty popular Commu...

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

Process all of the users in a group...

Recently I have had to create some scripts that gets all of the user records in a group and update them with some information.  In the past I have done a query of the sys_user_grmember table, stored the data in an array and then queryed the sys_user ...

DrewW by Mega Sage
  • 2516 Views
  • 5 comments
  • 2 helpfuls

How To: Twitter Integration

The Twitter spoke ServiceNow has for integrationHub makes it very easy to complete this integration. I was able to get up and running and send my first tweet out in 30 minutes. The Twitter spoke contains one action and it is just called tweet. You ca...

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

Visually map tables from reference fields!

  Hi dev, Have you ever wondered how the tables you are customizing relate to one another?How do these tables connect to one another? In this tutorial, we are going to visually see these connections using a little bit of javascript and a website cal...

find_real_file.png find_real_file.png
juan9 by Giga Guru
  • 736 Views
  • 1 comments
  • 0 helpfuls
Top Contributors