ServiceNow SDK 4.9.0
SDK 4.9.0
++++**************
Changes
- Added protectionPolicy support to AiAgent/AiAgenticWorkflow.added
- Added support for additional LLM providers: Now LLM LTS Generic, Google Cloud Vertex AI (alias of Google Gemini), and Amazon Bedrock (alias of AWS Claude) — plus new model options (gpt-5-mini, gemini_small, claude-haiku-4-5, llm_generic_small_v2-lts).added
- Added federatedId support to Role.added
- Added the missing allow_high_security_roles field to the Flow type definition, fixing transform failures.added
- Added a fallback to the Record API when Flow/Action hoisting can't be detected.added
- Fixed a transform crash on legacy sn_aia_agent_config XML that was missing public or agent_learning boolean fields.fixed
- Fixed a descendant-only table transform that emitted an invalid shape and could fail the build.fixed
- Fixed missing advanced_mode field handling so agent configs without it no longer error.fixed
- Fixed a wrong default value in the built-in new-record-form activity definition that could cause a cycle and out-of-memory error during transform.fixed
- Fixed provider resolution during transform for skills where multiple providers (e.g. Azure, Google, Bedrock) share a single capability definition — each configuration's own provider now resolves correctly instead of falling back to the definition's default.fixed
- Preserve the order field on ClientScript transform/build instead of resetting it.fixed
- Preserve field values for all event types, and downgraded an overly strict error diagnostic to a warning.fixed
12 more lines
- Fixed the Look Up Record action's compiled output emitting its parameter under the wrong internal name (dont_fail_flow_on_error).fixed
- Fixed action table definitions creating multiple records instead of updating a single record.fixed
- Fixed record-format flow files splitting companion records between sys_hub_flow and sys_hub_flow_snapshot model references, which could produce a "Corrupted flow" error. Introduced main_snapshot support so Flow/Action definitions no longer generate a new snapshot on every rebuild.fixed
- Fixed action step sequence numbering not starting from 1 in the Workflow Studio canvas for adapter subflows.fixed
- Fixed endFlow used inside "Do the following in parallel" throwing build errors.fixed
- Fixed wfa.flowLogic.elseIf steps not rendering after build.fixed
- Fixed a complex object input issue for Spoke actions.fixed
- Fixed inline scripts inside TemplateValue being converted to a plain string in both the build and transform directions.fixed
- Fixed FieldListColumn's dependent attribute not honoring its non-mandatory setting.fixed
- Fixed Subflow/Action inputs and outputs of type Choice changing from "Dropdown with None" to "Dropdown without None".fixed
- Fixed internalName handling for Flow and Action definitions.fixed
- Fixed the Flow "post install" hook to publish only the flows in the project instead of all flows in the scope.fixed
6 maintenance lines (dependency bumps, CI, tests, docs)
- Numeric and reference fields in ImportSet and SLA no longer silently revert to their default value when a valid value is provided.maintenance
- Fixed invalid gzip data produced when transforming a bad/corrupted attachment.maintenance
- Fixed use_reference_qualifier not defaulting to simple when unset on input XML.maintenance
- Fixed the column plugin dropping the "edge encryption" attribute during transform.maintenance
- Fixed FieldListColumn transform and added missing parent table definitions for sys_report.maintenance
- ScheduledScript: fixed invalid run_time (and run_period/max_drift/offset) output when executionTime, executionInterval, maxDrift, or offset were passed as plain objects (e.g. { hours: 9, minutes: 30 }) instead of the Time()/Duration() helpers — both forms now produce correct output.maintenance
30 lines5 added19 fixed6 maintenancetyped from the source notes