
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2025 02:56 AM
I get the below error while trying to set same target field (Virtual) in 2 different target tables under the same transform map.
Error - "An existing map to this target field already exist"
My requirement is to set the target field "Is Virtual(virtual)" for 2 target tables in the same map. Below are the 2 target tables am trying to map the field to
cmdb_ci_lb
cmdb_ci_netgear
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2025 03:48 AM
you have only 1 transform map and you want to set 2 target fields with same source value?
If yes then system is blocking you?
If yes then why not use onBefore transform script for the 2nd field like this
target.fieldName = source.u_is_virtual;
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2025 04:14 AM
Hi Ankur,
Yes i have only 1 transform map and i want to set 2 target fields with same source value.
So in this case my onBefore transform script should be like below ? correct me if am wrong
target.Virtual = source.u_is_virtual;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2025 04:16 AM
correct, ensure source field name and target field name are correct.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2025 04:17 AM
how the target table is different if only 1 transform map is there?
1 transform map will have 1 target table and all field maps under it should be for the same target table as that of the table defined in transform map
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2025 03:52 AM
I believe you have 2 transform maps and each transform map is having same source field but different target field on those 2 separate tables?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader