pass variables in transform map
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-10-2017 02:57 PM
Can we pass variable/arrays within transform map field maps or from onStart scripts to field maps?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-10-2017 08:48 PM
Hello Ravali,
Try building your array in Transform Map script (instead of onStart) where you can also perform the field mapping action by passing values from your array to target field respectively. Let me know if it helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-15-2019 08:43 AM
Hi ryadavalli,
Did you get your answer. I read in another community post that, instead of setting variables to use later in the transform map for fields or onBefore scripts on the "target" record to be imported, the script of the transform map can directly set the target values. That brings me to you same place that I think stopped you. I want the transform map to call a Script Includes so I can reuse the code. That does not work. If you answered your question them please let me know how. If not then I can post more details of what stopped me.