Copying sysiD from old instance to new
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
Hello,
I was trying to do transform map of work type records from old instance(A) to the new instance (B). We need sysIDs to be copied to the new instance. Below is the onBefore transform script. However, this isn't working. Anything wrong with my code? Any help or direction to resolve this would be greatly appreciated.
(function runTransformScript(source, map, log, target /*undefined onStart*/ ) {
if (action == "insert") {target.setNewGuidValue(source.sys_id); }
})(source, map, log, target);
0 REPLIES 0