- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2020 06:59 AM
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?
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2020 10:02 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2020 07:53 AM
If you are within a script you can set the following line to skip/ignore a record:
ignore = true;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2020 10:02 AM
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.