Use PDIs? Take our 5-minute survey to help shape the PDI roadmap.

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

Forum Posts

Approvers not showing up when using custom change model

I am testing the use of Change Models in my PDI.  I created a Expedited Change model which simply skips the Assess state (New >> Authorize).  The out of box models for Normal and Emergency show the approvers for their associated states (Assess and Au...

Does padStart work in ServiceNow?

Hi All, I have a requirement, to make a string length equal to 7 by adding leading zero's to it. For suppose if I get 10 --> 0000010, 100 --> 0000100 , 1000 --> 0001000 I have tried the below code in background script and I am getting result as undef...

Ajay37 by Tera Contributor
  • 2213 Views
  • 2 replies
  • 6 helpfuls

Duplicate locations

Hello, I have duplicates in cmn_location table and having data in all the duplicate records. I want to merge those records into one record. Can someone help me with the script.  

Sai Cerni by Tera Contributor
  • 1933 Views
  • 3 replies
  • 0 helpfuls

Resolved! How to get catalog item variables in report or db view?

How to get catalog item variables by joining sc_req_item and sysapproval_approver tables to get requested items that are approved by users from a particular team and raised by using a particular item. I need record fields with that particular item fi...

Fathima6 by Tera Expert
  • 4773 Views
  • 4 replies
  • 2 helpfuls

Resolved! A closed incident keeps generating survey requests

I have a case where the user and fulfiller kept an email dialog going through an incident after that incident was closed.  When the incident was closed, the appropriate survey invitation was sent.  After that, every time either party sent an email to...

johnfeist by Mega Sage
  • 1691 Views
  • 2 replies
  • 1 helpfuls

How to display milliseconds in logs?

The sys logs, (warning, error, all) only display the created date in seconds. The problem is, there are a lot of activities that then are grouped in the same second, and I lose my order of operations making troubleshooting a whole lot more difficult....

Stephen W_ by Giga Guru
  • 8423 Views
  • 12 replies
  • 10 helpfuls

Resolved! Function to determine if IP is in CIDR network?

Is there an existing script class I can use to determine if an IP address is in a given CIDR range?Basically I want to make a call like: isInCIDR(ip_addr, cidr) and it returns true or false. I'd like to do this without first converting CIDR to range ...

jason_lau by Tera Contributor
  • 14086 Views
  • 16 replies
  • 16 helpfuls

Resolved! What is difference between SOAP and REST API.

Hi,  What is difference between SOAP and REST API. I have gone through many documents but didn't get it. Can anyone please tell me important difference between SOAP and REST API.  Regards, Nivedita