Ignore a field when the value is not a serial number in a transform map
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2023 06:25 AM
Hi
I have a issue where serial numbers are been overwritten by blank values when running a transform
e.g.
CI has serial number 'abc'
Import Set has nothing in the serial number
Transform runs
CI serial number is blank
What is best way to Skip\Ignore the transform from overwriting the value. However, I still want the other fields to update and not to skip the full row. I don't think its an Empty field as I have the 'Copy empty fields' unticked.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2023 07:26 AM - edited 05-30-2023 07:28 AM
I have done this and it has stopped overwriting the serial field with a blank value.
However, now when a serial number is present in the import set it does not update the serial number.
The name of the filed on the import set is u_serialNumber. i updated your script to:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2023 08:15 AM
Glad to know.
it should update actually.
Are you sure the serial number on target is not getting overriden with some other value because of some BR etc
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2023 09:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2023 08:12 PM
any update to this?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
