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

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

Forum Posts

Get count of records in list collector

Hi Team, I'm using a list collector in my record producer. Is there a way to determine the number of records in the list collector on a client script?I'm populating the value of list collector through a Script Include (not client callable) .  

JohnnySnow by Mega Sage
  • 4014 Views
  • 7 replies
  • 0 helpfuls

OnChange client script in Incident table

Hi, I've found a weird behavior with our OnChange client scripts that targets the Incident Table. We have a simple script that removes the mandatory status of the Assigned To field (which is set by a UI Policy) when the Assignment Group changes, so i...

Miguel_M_1-1683802691488.png
Miguel_M by Tera Contributor
  • 1522 Views
  • 2 replies
  • 1 helpfuls

gs.log()

var checking_user_is_part_of_specific_Group = Class.create();checking_user_is_part_of_specific_Group.prototype = {initialize: function() {},isUserPartOfGroups: function(groupNames) {var chg = new GlideRecord('change_request');var user = new GlideReco...

VigneshaPriya_0-1684142084705.png

How to Calculate SLA based on two Date and Time fields?

Dear all,I have 2 custom date fields in my incident form: "Start Time" and "End Time".I'd like to calculate SLA times based on these 2 date fields. There is a possibility that those two dates can come together. ServiceNow gives the possibility to set...

sathya23 by Tera Contributor
  • 2544 Views
  • 5 replies
  • 0 helpfuls

Email Notification based on Scheduled job

Hello,Hoping I can get some assistance:I have a requirement to send a notification to Change Managers when a Standard Change Template is nearing expiration (there is an expiration date field).The intervals from expiration are:20 days15 days7 days6 to...

cjv by Tera Expert
  • 2213 Views
  • 2 replies
  • 0 helpfuls