Transform Map coalesce field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-16-2025 03:08 AM
In a transform map for user table, there are 2 coalesce fields with an OR condition. If the source user_id is found in the user table, then update the record. If source user_id is not found, then check for source email. If source email is found in the user table, then update the record. If neither source user_id is found, nor source email is found in the user table, then create a new record.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-16-2025 03:10 AM
Hi @SohamJ
here is working:
When coalescing on multiple fields, all coalesce fields must be a match for there to be a collision. Matching some coalesce fields but not all does not produce a match.
- If a match is found using the coalesce fields, the target record is updated with the information imported from the staging table.
- If no match is found, a new record is inserted in the database.
- If no fields are coalesce fields, records are always inserted on import.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-16-2025 03:14 AM
HI @SohamJ
Coalesce field doen't works like this.
Please chcek the reposne from @Dr Atul G- LNG .
You should plan accodingly.
Regards,
Siva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-16-2025 03:22 AM
Hi @SohamJ ,
For more info & detail understanding you can refer the solution of this Thread
https://www.servicenow.com/community/itsm-forum/what-is-coalesce-explain-with-example/td-p/2341075
Mark it helpful if this helps you to understand. Accept solution if this give you the answer
Chandan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-16-2025 03:35 AM
You cannot handle it via Coalesce field.
Don't have field map for this.
Handle this using onBefore transform script.
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