Transform script log update
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-14-2017 12:08 PM
Hi,
I need help with the transform script logs. Currently I am updating a bulk of assets and I need to put in logs to check.
I need logs to check which assets have been updated and which assets have not been updated in the transform.
Any suggestions are welcome.
ty.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-14-2017 01:02 PM
Your import set log (insert/update/skipped) should tell you the number of updated rows. For more detailed logging, you can do an 'onAfter' transform script . onAfter scripts run after transforming each row http://wiki.servicenow.com/index.php?title=Transform_Map_Scripts#gsc.tab=0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-15-2017 03:38 AM
Hi Karthik,
Thanks for the reply.
I am aware of the thing you have mentioned.
But what I am looking here is something that helps me keep track of the updated records through logs in the transform script so that it is easy to track the duplicate records.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-15-2017 01:21 PM
Hi Roger,
I am not sure, if i understand your request. Shouldn't your transform map omit the duplicate records? Can you explain a little more on what you mean by tracking duplicate records?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-16-2017 03:07 AM
Hi Karthik,
The requirement is to put a log to know all the updated records. Yes, it can be known through import set but I need a log so that I can export the log of updated records and keep it as reference.
Please let me know if need any further explanation.
Thanks.