import data :: skip a record from import set

ggg
Giga Guru

I am importing record. I have a Data Source with a Field Map that uses a script.

the script uses the input data to find a user from sys_user.

If the user does not exist I want to skip that record.

How do I do that?

 

1 ACCEPTED SOLUTION

I didn't know whether you put it in the Field Map script or the Transform Script OnBefore.

I found that if I do it in the On Before I get the desired result.

View solution in original post

2 REPLIES 2

Sebastian R_
Kilo Sage

If you are within a script you can set the following line to skip/ignore a record:

ignore = true;

I didn't know whether you put it in the Field Map script or the Transform Script OnBefore.

I found that if I do it in the On Before I get the desired result.