@servicenow/sdk — Release Notes
Version: 4.5.0
Availability: npm — https://www.npmjs.com/package/@servicenow/sdk
🚀 Overview
Version 4.5.0 adds new Fluent APIs and fixes some more bugs!
New Fluent APIs
Instance Scan Records
New APIs are available for configuring Instance Scan checks for detecing anomalies on your instance.
Scheduled Script
The ScheduledScript (sysauto_script) API can be used to execute custom scripst at specified times or on a recurring basis.
ServicePortal
More APIs have been added for creating Service Portal items to round out the existing Fluent APIs that already exist.
SPPagefor creating pagesSPThemefor creating themesSPWidgetfor creating widgetsSPMenufor creating menus
Now Assist Skill Kit
Adds a Fluent API NowAssistSkillConfig for creating NowAssist Skill configurations
AI Agent Studio
The addition of Fluent AI Agent Studio Fluent APIs enable the create and manage AI agents and workflows!
- Adds new Fluent APIs
AiAgentfor creating AI Agent definitions - Adds new Fluent API
AiAgentWorkflowthat allows for creating dynamic agentic workflow definitions
New Features
Flows
- All Flows and Subflows installed from the SDK will now be auto published as part of now-sdk
install. Use flag-skip-flow-activationto disable this if needed. - NOTE: This requires version
4.1.1or later of the ServiceNow IDE installed on your instance.
Changes
- Removed eslint dependency from projects and updated internal reference to v9. After upgrading to
4.5.0of@servicenow/sdkyou can remove the dependency on@servicenow/eslint-plugin-sdk-app-pluginfrom your projects package.json initcommand no longer prompts for credentials unless converting from the instance- Fix metadata folder content copy for binary files being copied as utf8
FieldListColumnaccepts eitherdependentorattributes.table- Fix
EmailNotificationnot correctly escaping encoded values - Fix CatalogItem checkbox selection required field mapping missing
- Fix dev server watching HTML and CSS asset files
- Fix unable to create global app with UI customizations
- Flow fixes:
setFlowVariabletransform issues- SubFlow complex object transform issues
- Trigger
createOrUpdateconverting to wrong type on transform - Flow
runAsdefaulting touserinstead ofsystem - Issues with diagnostic errors on
setFlowVariablesnot working