- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2024 12:59 AM
Hi,
the log which is written in the onComplete Transform Script is before the Date completed Date in the Import Set?
Is this right?
So the "onComplete" Scripts runs before the import ist reall completed right?
Can we see when the this happens? So which time is really the Starting point of the "onComplete" scirpt or is this only possible with a log?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2024 01:05 AM
Hi @Meloper
the onComplete transform script runs after all the records in the import set table have been processed during an import set transformation. It runs after the import set table has been loaded with data but before the actual import of records into the target table.
So, to answer your questions:
Is the log written in the onComplete Transform Script before the Date completed Date in the Import Set?
Yes, typically the log generated by the onComplete transform script would be written before the completed date in the import set. This is because the completed date is updated when the import process completes, which includes the transformation and the import of records into the target table.
Does the "onComplete" script run before the import is really completed?
Yes, the onComplete script runs after all records have been transformed but before they are actually imported into the target table. It gives you the opportunity to perform additional processing or validation before the import is finalized.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2024 01:05 AM
Hi @Meloper
the onComplete transform script runs after all the records in the import set table have been processed during an import set transformation. It runs after the import set table has been loaded with data but before the actual import of records into the target table.
So, to answer your questions:
Is the log written in the onComplete Transform Script before the Date completed Date in the Import Set?
Yes, typically the log generated by the onComplete transform script would be written before the completed date in the import set. This is because the completed date is updated when the import process completes, which includes the transformation and the import of records into the target table.
Does the "onComplete" script run before the import is really completed?
Yes, the onComplete script runs after all records have been transformed but before they are actually imported into the target table. It gives you the opportunity to perform additional processing or validation before the import is finalized.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2025 11:38 PM
I beg to differ on your #2
I believe onComplete script will run AFTER all rows are imported into the target table.
From docs:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2024 01:13 AM - edited 03-06-2024 01:14 AM
An easy to understand chart :
More info >https://john-james-andersen.com/blog/navigating-transform-scripts-in-servicenow.html
☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2024 09:03 AM
Hi thanks, but that's not my question, I'm aware of the order.
I wanted to know if there is a traceable time stamp, when the on complete script really starts and if I can see it without a log.