Import set row transform ignored by onBefore script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-27-2017 10:12 AM
Hello!
Does anyone have any idea what could cause an import set row to ignore an onBefore script in the transform map?
Please see below screenshot. For the same record (but different row # in each night's import set), it is sometimes gets ignored by the onBefore script
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-27-2017 10:19 AM
That message is not saying that the onBefore script was ignored, it's saying that the row was ignored because of the onBefore script.
I'm assuming the script is doing some validation and under certain conditions you have set:
ignore = true;
Rows 1 and 5 met this condition.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-28-2017 08:52 AM
Jessica,
I hope you got the answer you needed for this thread.
The Customer Experience team is striving to ensure that customer queries posted from the HI Service Portal are answered in timely and accurate fashion.
If you feel your question has been resolved, please mark the appropriate reply in the thread as being the Correct Answer.
This enables other customers to learn from your thread as we go forward.
Thank you in advance.
Regards,
Teena Singh
Customer Experience: UX Strategy and Customer Insights
teena.singh@servicenow.com
ServiceNow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-01-2017 07:33 AM
Thanks for the guidance, all. Turns out the root cause was another import that had conflicting data. So the users' records were kept getting inactivated and activated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-13-2022 09:14 AM
Here is a correct KB article,
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0832040
Please press the helpful button below, if it really helps you,
Cheers!