ServiceNow SDK 4.7.0
SDK 4.7.0
+++++++***********
Changes
- Adds support for configuring role-based access on NowAssist Skills via two fields (at least one field must be defined):added
- Added augment property. Use this when augmenting an existing table that is not part of the application scope. This can be used when you need to add properties.added
- Added createAccessControls for creating default access controlsadded
- Added userRole to wire the tables auto-generated access controls to a given user role.added
- Added protectionPolicy to all APIs that have sys_policy support in metadata.added
- Transform by table — The transform command now supports targeting one or more specific tables at a time. Records are filtered to the metadata directory on transform, and transformed XML files are cleaned up automatically.added
- Performance - The CLI startup time has been substantially reduced, particularly for commands that don't load the project such as explain, help, version, etc.added
- OAuth client_credentials auth for CI install — The install command now supports OAuth client_credentials flow via environment variables for CI/CD pipeline authentication. New env variables are available to configure this, see ci integration docs.added
- Init in current working directory — The init command can now be run directly in the current working directory without requiring a new subdirectory.added
- Fixed datapill becoming empty in script step input for custom action.fixed
- Fixed an empty annotationType causing a build error after transform.fixed
- Fixed a missing action_status element mapping when wfa.errorEvaluation() is present.fixed
24 more lines
- Fixed internal_name being regenerated from name during Fluent→XML transformation.fixed
- Fixed sys_dictionary records not being set to active as part of component output.fixed
- Fixed calculated and reference field qualifier handling.fixed
- Fixed callerAccess had incorrect default valuefixed
- Fixed choice on column componentns had incorrect default valuefixed
- Fixed the UI Policy plugin dropping sys_ui_policy_action and sys_ui_policy_rl_action records.fixed
- Fixed Column readOnly and readOnlyOption handlingfixed
- Fixed default values for service catalog records.fixed
- Fixed carriage returns not being escaped, which caused data loss during round-trips on Windows.fixed
- Fixed transform generating invalid Fluent for ACL, ScriptInclude, and Test records in some situations.fixed
- Fixed ScheduledScript weekly frequency validation to accept either dayOfWeek or daysOfWeek.fixed
- Flow Stages — Flows now support stage definitions, with diagnostics and the ability to use stages inside tryCatch blocks.other
- TryCatch — Flows can now define try/catch logic blocks for structured error handling.other
- DoInParallel — A new flow logic block enables parallel execution of steps within a flow.other
- AppendToFlowVariables — A new action appends values to existing flow variable collections.other
- Action Outputs and Error Evaluation — Flows can now evaluate action outputs and error states as part of flow logic.other
- RoleList made optional, roleMap added — Both DataAccessConfigType (AiAgent) and DataAccessConfigWorkflowType (AiAgenticWorkflow) now accept either roleList (legacy role sys_ids) or the new roleMap (role names stored in M2M sys_agent_access_role_mapping records). At least one must be non-empty at build time. Customers on ZP10 or later should prefer roleMap.other
- AgentDescriptor field added to AiAgent — New optional field ('require_caller_id' | 'created_by_ai_agent_advisor' | 'created_by_build_agent' | '') written to sn_aia_agent_config.other
- RoleMap recommended for ZP10 and AP3+other
- RoleRestrictions pre ZP10 and AP3 instancesother
- Corrected the lookUpRecord core action property from snc_dont_fail_on_error to dont_fail_flow_on_error.other
- Fluent linting level for server modules is now overridable via new linter property in now.config.jsonother
- Scope prefix is now validated against the instance vendor code during init command if auth is configured.other
- Improved build times for large projects by reducing garbage collection pressure.other
36 lines9 added14 fixed13 othertyped from the source notes