Transform map, skip record rather than ignore

sndev1099
Giga Expert

Hi, 

I need my transform map to skip records rather than ignore them if the user ID doesn't exist in the system. 

find_real_file.png

 

find_real_file.png

16 REPLIES 16

Hi Slava,

I have tried using it that way but it still inserts a new record into the sys_user table which I don't want to happen if the ID doesn't exist in the system.

find_real_file.png

Import set:

find_real_file.png

Hi,

you already have field map then don't use transform script

1) you have choice action as reject so if value not found then it would reject the row

2) did you set the reference value field name as user_name as incoming value is user's user id

set Referenced value field name as user_name

find_real_file.png

If my answer solved your issue, please mark my answer as Correct & 👍Helpful based on the Impact.

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi Ankur, 

Yes, please see below. Just tried with an ID that doesn't exist and it still inserts it

 

find_real_file.png

 

find_real_file.png

Hi bracken91,

Can you please make sure that create new record on emptry colasce field on the transform map is unchecked as shown below 

The create new record on emptry colasce field will appear in the transform map level.

 

find_real_file.png

 

Uncheck the create new record on empty colasce fied as shown above.

 

Please mark helpful and correct.

Thanks,

CB

 

Hi CB, 

This is already unchecked