SDK 4.6.0 #49
Closed
venkat-kaluva
announced in
Announcements
Replies: 1 comment
-
|
Glad to see custom actions being supported, do we know if integrationhub actions are also on the roadmap? (REST actions, JSON parser, kafka producer, etc..) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
@servicenow/sdk— Release NotesVersion:
4.6.0Availability: npm — https://www.npmjs.com/package/@servicenow/sdk
🚀 Overview
Version 4.6.0 adds several new Fluent APIs, Custom Action support, improvements to AIAF and NASK, and a range of bug fixes.
Note
✨ New: ServiceNow SDK AI Skills
Build, edit, and deploy Fluent applications using external AI coding assistants like Claude Code or Kiro — outside the ServiceNow IDE. The
now-sdk-explainskill (powered by theexplaincommand in this release) gives your AI assistant real-time access to live SDK documentation, so it always works from current API signatures and platform patterns rather than outdated training data.Requires
@servicenow/sdkv4.6.0 or newer. Learn more →New Fluent APIs
Custom Actions & Flow Enhancements
This release significantly expands Flow and Subflow authoring capabilities:
Inbound Email Actions
The new
InboundEmailActionAPI enables declarative creation of inbound email action records (sysevent_in_email_action).Service Portal
Additional Service Portal APIs have been added to round out existing coverage:
SPHeaderFooterfor creating header and footer recordsSPPageRouteMapfor defining page-to-page redirect mappings within a portalForm
The
FormAPI is now available, enabling declarative configuration of forms directly in Fluent.Note
Using the Form API on the ServiceNow IDE (sn_glider) requires a minimum version of IDE 4.2.4. This restriction does not apply when using
@servicenow/sdkvia the local terminal, VS Code, or any other local editor.Updates to Existing APIs
AI Agent Framework (AIAF)
Automatic ACL Generation for AI Agents
AiAgentandAiAgenticWorkflowAPIs now automatically generate the required security ACL records as part of the build. Developers no longer need to define ACLs separately for their agents.Now Assist Skill Kit (NASK)
Auto-generated Standard Outputs
When the
outputsarray is omitted from aNowAssistSkillConfig, the five standard skill outputs (response,provider,errorcode,status,error) are now automatically generated. Only defineoutputswhen adding custom outputs beyond these defaults.Expanded Input Data Types
Skill input attributes now support additional data types:
glide_record,simple_array,json_object, andjson_array— in addition to the existingstring,numeric, andbooleantypes. AtableNameis required when usingglide_record, and an optionaltruncateflag is available for scalar types.New Features & Changes
Stricter sys_id Conflict Detection
The build now distinguishes between two types of sys_id conflicts:
.now.tsfiles defining the same record) always produce an error.--errorOnConflictflag.explainCommand ImprovementsThe
now-sdk explaincommand has been significantly improved:--listdisplays the full index of available topics.--format=rawoutputs raw Markdown.--peekshows a brief summary without opening the full document.Other Changes
TableAPI now supports creating dictionary override records (sys_dictionary_override) directly, without needing a separate API.ScheduledScriptscript fields now support modules.tsconfigrelocated tosrc/, unnecessary index file removed, and ajsconfigadded for JavaScript templates.Bug Fixes
Now Assist Skill Kit (NASK)
activeflag not being correctly applied during build.Service Portal
CatalogItemRecordProducerthat were already supported onCatalogItem(hideAddToCart,hideAddToWishList,hideDeliveryTime,hideQuantitySelector,hideSP,image,model,mobilePictureType).Front-end Framework Support
url()references.Flows & Custom Actions
Transform
"GUID"was not recognized as a valid flow data type.Build
<operators or HTML literals.Configuration
tableDefaultLanguageinnow.confighas been renamed todefaultLanguage. The old name continues to work but is deprecated.Fluent Language Extension v2.1.2 — VS Code Marketplace · Open VSX
This discussion was created from the release SDK 4.6.0.
Beta Was this translation helpful? Give feedback.
All reactions