Can we load the Data in the target table without field mapping through transform map runscript
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2025 04:30 AM - edited 01-24-2025 04:38 AM
Hi Team,
Without using field mapping, I want to load the data in the target table with the transform map runscript. I am trying with this script but it is not working out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2025 04:39 AM - edited 01-24-2025 04:40 AM
Hi @Munna1 ,
Can please make use of try cache block and write your code in it, will be helpful to understand what actual error is.
(function runTransformScript(source, target) {
try {
// paste code here.
}
catch (e) {
// Log any error that occurs
gs.error('Error in Transform Script: ' + e.message);
}
})(source, target);