Coalesce not matching records as expected

michaelrodway
Tera Contributor

I have a transform map where i only want to issue an update to records where there is a coalesce mapping on the ID field.

There is an onBefore script where i specify ignore = true if the action is insert

If the 3rd party calls the SN webservice and inserts records into the import table, then the action on the transform map is insert and the row is ignored. Even though there is a record in the target table.

However, If I reprocess the import set and transform the data, then all works as expected??

The coalesce is on the ID field in the transform map,

Import Row

find_real_file.png

The record i am trying to match:

find_real_file.png

I output the values in the onBefore Script:

find_real_file.png

When manually re-process the import set, I get the proper result (notice the comments still show the initial ignore):

find_real_file.png

Coalesce on the transform map

find_real_file.png

3 REPLIES 3

Michael Fry1
Kilo Patron

Is the target tabled indexed? If yes, try rebuilding the index.


Unfortunately that didn't work



On Thursday, 18 August 2016, Michael.Fry <community-no-reply@servicenow.com>


brian_degroot
ServiceNow Employee
ServiceNow Employee

Hey Michael,



Can you check to see if there are any before-query business rules on the target table that might be altering the query in a way that would exclude records with a matching coalesce value from being looked at?