API release notes

ServiceNow® API product enhancements and updates in the Jakarta release.

Activation information

  • ServiceNow API: Platform feature – active by default.
  • Email API: Users with the admin role can activate the Email Service plugin (com.glide.email.service) to enable the Email API.

Changed in this release

Table 1. New scoped classes and additional methods to existing classes
Class Methods
CatalogClientScript appliesToTargetRecord()
CatItem availableForUserCriteria(),notAvailableForUserCriteria()
CatCategory availableForUserCriteria(),notAvailableForUserCriteria()
CartJS setRequestedForUser( )
GlideAggregate addTrend()
GlideDateTime getNumericValue(),getUserFormattedLocalTime()
GlideElement canCreate(), canRead(), canWrite,getAttribute(), getBooleanAttribute(), getDecryptedValue(), getHTMLValue(), getHTMLValueExt(), getJournalEntry(), getLabel(), getName(), getTableName()
GlideRecord _query(), addActiveQuery(), getAttribute(), getClassDisplayValue(), getED(), getLabel()
GlideSystem beginningOfLastMonth(), beginningOfLastWeek(), beginningOfNextMonth(), beginningOfNextYear(), beginningOfThisQuarter(), beginningOfThisWeek(), beginningOfThisYear(), daysAgo(), daysAgoEnd(), daysAgoStart(), endOfLastMonth(), endOfLastWeek(), endOfLastYear(), endOfNextMonth(), endOfNextYear(), endOfThisMonth(), endOfThisQuarter(), endOfThisWeek(), endOfThisYear(), getErrorMessages(), hoursAgo(), hoursAgoEnd(), hoursAgoStart(), monthsAgoStart(), quartersAgoEnd(), quartersAgoStart(), setRedirect(), yesterday()
GlideSPScriptable getCatalogItem() has another parameter.
UserCriteria setRoles(), setUsers(),setDepartments(), setLocations(), setCompanies(), setAdvanced(), setScript(), setName(), setGroups(), setActive(), setMatchAll(), create(), read(), update(), deleteRecord()
Table 2. New global classes and additional methods for existing classes
Class Methods
CMDBTransformUtil getError(), getOutputPayload(), hasError(), logTransformStats(), setDataSource()
GlideEncrypter encrypt(), decrypt()
GlideEvaluator evaluateScript(), getVariable(), putVariable()