If Coalesce failed record should not create
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2023 02:23 AM
I have a requirement. We should not create a single record when coalesce fails(coalesce for update only )
That should be updated only.
I created onBefore with
if(action == 'insert'){
ignore=true}
//Still it's creating new records
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2023 03:01 AM
ignore = true should work
Is it always inserting when coalesce is not found?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2023 03:08 AM
Yes @Ankur Bawiskar
I already unchecked @Mohith Devatte
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2023 03:14 AM
share the complete script along with screenshots.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2023 03:05 AM
Hello @SANJEEV4 ,
Script looks good to me .
Can we give it a try by unchecking "Run business rules check box" in the transform map?
Hope this helps
Mark my answer correct if this helps you
Thanks