- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2023 02:03 PM
I have created an import set and transform map to update bulk records on the table.
I have set an unique column as Coalesce but I want to skip creating new record if record is not found.
When it find the record it updates it but created new record when unable to find it that I want to skip.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2023 12:52 AM - edited 01-05-2023 12:53 AM
Hi @gaurav72 ,
I think you can on the Transform Map Click On "Run Script" and use below code.
if (action == 'insert' ){
ignore = true;
}
This code can also be written on the onBefore transform script as well.
This will ignore creating a new record in the transform table.
Let know if this solves your issues.
Mark helpful if it helps in solving the issues
Johns M P

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2023 08:04 AM
I would try what Johns MP recommended but also there is a "Create New Record on empty Coalesce fields" field on the transform map that may need to be set to false as well
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2023 03:59 AM
Tried Johns Mp suggestion it worked for me, thank you !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2023 12:52 AM - edited 01-05-2023 12:53 AM
Hi @gaurav72 ,
I think you can on the Transform Map Click On "Run Script" and use below code.
if (action == 'insert' ){
ignore = true;
}
This code can also be written on the onBefore transform script as well.
This will ignore creating a new record in the transform table.
Let know if this solves your issues.
Mark helpful if it helps in solving the issues
Johns M P
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2023 03:58 AM
Tried it in onBefore Script and it worked. - Thank you !!