- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-01-2021 04:54 PM
I need to create a script on the transform map to ignore certain rows with specific values.
The idea is to solve this by using a field source script, but I am just beginning in ServiceNow and I don't if this is possible or I need to use transform script instead.
I already checked other forum topics but I only found this solution by using ignore=true on the transform script when the condition is met but I want to make sure if this can be done using the field source script.
Thanks!
Solved! Go to Solution.
- Labels:
-
Service Portal Development

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-02-2021 12:32 AM
Hi Daniel,
You cannot use ignore=true in Field Source script:
You can use it only in onStart scripts, this variable aborts the entire transformation process. In onBefore scripts, this variable only skips the current row being transformed.
Thanks,
Anil Lande
Thanks
Anil Lande
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-03-2021 04:19 PM
Hello Anil!
Thanks for your answer.
Best Regards!