Bug: sys_transform_entry with use_source_script=false is transformed as scripted mapping #77
Unanswered
johncaruso
asked this question in
Help and Questions with SDK or Fluent
Replies: 0 comments
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.
-
Bug:
sys_transform_entrywithuse_source_script=falseis transformed as scripted mappingSummary
When transforming a
sys_transform_mapthat has descendantsys_transform_entryrecords, the SDK appears to treat a direct field mapping as a scripted mapping if the entry contains the platform default placeholdersource_script, even whenuse_source_scriptis explicitlyfalse.This changes runtime behavior from copying
source_fieldtotarget_fieldinto running a placeholder script that returns an empty string.Minimal repro: https://github.com/johncaruso/sdk-transform-map-repro
Environment
@servicenow/sdk:4.7.1v24.14.011.12.1Repro Steps
git clone https://github.com/johncaruso/sdk-transform-map-repro.git cd sdk-transform-map-repro npm install npm run transform npm run assertBeta Was this translation helpful? Give feedback.
All reactions