Thank you for your feedback.
Form temporarily unavailable. Please try again or contact docfeedback@servicenow.com to submit your comments.
Versions
  • London
  • Kingston
  • Jakarta
  • Istanbul
  • Helsinki
  • Geneva
  • Store
Close

PASnapshot - getIDs(String sys_id, Number date)

PASnapshot - getIDs(String sys_id, Number date)

Get the sys_id values for all records contained in the snapshot for a specified indicator at the specified date.

Table 1. Parameters
Name Type Description
sys_id String The indicator sys_id.
date Number The date when the snapshot was taken, in the format yyyymmdd.
Table 2. Returns
Type Description
String A comma-separated list of sys_id values.
var snapshot1 = PASnapshot.getIDs('fb007202d7130100b96d45a3ce6103b4', 20160530);
gs.info(snapshot1);

Output: *** Script: 09c01200d7002100b81145a3ce6103ab,19c01200d7002100b81145a3ce6103e9,fcc01200d7002100b81145a3ce61035b,….

This site is scheduled for a small content update on Tuesday, December 18th, between the hours of 4:00pm and 8:00pm Pacific Time (Dec 19 00:00 – Dec 19 4:00 UTC). Access to this site may be slightly delayed during that time.