SDK 4.3.0 #33
Replies: 5 comments 9 replies
-
|
This is awesome news! I am specifically interested in how it works with module imports between apps. I just tried it out, but I guess there is something I am missing. I have two SDK 4.3.0 apps: Here's what I did: The build succeeds — the SDK resolves the import and bundles everything fine. However, at runtime the Glide module system throws:
The module files from test-utils are definitely deployed on the instance (I can see them in sys_module), but the runtime require() can't resolve the package. Any help is appreciated. |
Beta Was this translation helpful? Give feedback.
-
|
This is huge, excited to start leveraging this. Flow and Catalog will be game changers for daily work for our customers. It looks like Workspace bootstrapping will be much easier by way of Fluent too! |
Beta Was this translation helpful? Give feedback.
-
|
Very excited for this release, I can't wait to try out the Flow support! Also a big thank you for removing the Keytar dependency, I have verified that the SDK now works in the environment that it didn't work in before. |
Beta Was this translation helpful? Give feedback.
-
Flow API:
|
Beta Was this translation helpful? Give feedback.
-
|
sdk-examples repo is now updated with Flow and Service Catalog samples |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
@servicenow/sdk— Release NotesVersion: 4.3.0
Availability: npm — https://www.npmjs.com/package/@servicenow/sdk
🚀 Overview
Version 4.3.0 introduces the highly anticipated Flow API, significant build and transform performance improvements, expanded Service Catalog support, and several new platform capabilities.
This release focuses on enabling workflow-as-code, improving developer productivity, and strengthening type safety across UI and automation development.
✨ New Features & Enhancements
Trusted Modules
A new
trustedModulesproperty has been added tonow.config.json.This property allows 3rd party module dependencies to be explicitly marked as trusted for Glide code execution. This enables more typical Node style dependency package development for packaging and sharing code as a dependency with sys modules, instead of using another ServiceNow app.
Example:
Type Checking for UI Builds
UI builds using TypeScript now perform diagnostic validation during the
buildphase..tsand.tsxfiles are type-checkedCredential Storage Changes
keytarhas been replaced with@napi-rs/keyringdue to deprecation of keytar, maintenance, and compatibility issues.Note for Windows users: Existing stored credentials will re-authentication after upgrading due to storage changes
Performance Improvements
Internal optimizations to the build and transform phases deliver:
Performance work will continue in future releases, as we aim to drastically bring down build and transform times!
Improve Error Diagnostics
Expose missing mandatory properties when using the
RecordAPI when using the Fluent Language Extension🎊 New Fluent APIs
Flow API (MVP)
The Flow API enables building ServiceNow workflows entirely in code using Fluent. Please try this out if you are a Flow user, and give us feedback in the discussions area, we plan to keep enhancing Flows in the next few releases!
Benefits include:
Supported Capabilities
Flow Definition
Triggers
created,updated,createdOrUpdateddaily,weekly,monthly,repeat,runOnceinboundEmail,remoteTableQuery,knowledgeManagement,slaTaskActions
Flow Logic
if,elseIf,else)forEach,exitLoop,skipIteration)Data & Types
wfa.dataPill()data referencingMVP Limitations
The following capabilities are planned for future releases:
StringColumnworkaround)Example
An incident severity alert flow — triggers on incident creation, branches by severity, notifies stakeholders, and sets state to In Progress.
🧾 Service Catalog Enhancements
Added support for Service Catalog and supporting entities:
catalog_script_client)sc_cat_item)catalog_ui_policy)item_option_new)item_option_new_set)sc_cat_item_producer)Catalog Variables
Fluent provides 31 different types of catalog variables to support a wide range of form input needs. Each variable type has a specific function that creates a properly configured variable object.
Example
Email Notification
Creates an Email Notification (
sysevent_email_action) in ServiceNow.Workspace
Configure a Workspace record (
ux_workspace) for managing business entities in ServiceNow. A Workspace provides automatic page generation, standardized navigation, and table integration with landing, list, and detail pages.Integrating with Dashboard (
par_dashboard)Sla
Add support for ServiceNow SLA definitions (
contract_sla)Example:
✅ Summary
Version 4.3.0 delivers a major step forward in Fluent-based development with workflow automation, stronger type safety, improved performance, and expanded platform coverage.
We look forward to continued iteration and feedback in upcoming releases.
For more comprehensive samples be sure to check the sdk-examples repository.
For help or support please visit the SDK Github discussions
This discussion was created from the release SDK 4.3.0.
Beta Was this translation helpful? Give feedback.
All reactions