
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-01-2018 11:33 AM
Long story short: I have data that needs to make records on multiple tables but it's all given to me in a single excel sheet.
Can I make the TM somehow say "Column A" goes to this table, "Column B" to this table and so on?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-01-2018 12:08 PM
Depending on the data, it may be easier to do multiple transforms on the same data source. Each transform map would point to a separate table. You can set an order value to the transform maps so that they run in a particular order. Then if they run on a schedule, you would import the data and then it would run through all the rows for the first transform map and then the second and continue on for however many transform maps you set up for the data.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-01-2018 12:31 PM
Yeah I was hoping to avoid that but it may just have to be how it's done.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-01-2018 01:28 PM
It actually is helpful when putting data in separate tables to break it into separate transform maps. Especially if it is a simple matter of column A goes in table 1 and column B goes in table 2. It seems like a lot of work, but it is usually pretty straightforward and makes it easier to figure out what you were doing when you or someone else has to come back and update something in a year or whenever.
The exception is if your data requires a lot of scripting to make it go from the original data source to the target tables. If you are already manipulating and massaging the data, then it may be easier to combine that together and just script everything in the single transform map. You can create an onBefore script that will run for each row in the data source and then use GlideRecord queries to find and update all the information you need to change for that row of data.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-01-2018 12:11 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-02-2018 08:39 AM
Thank you for the screenshot of what @McSteve was saying, I appreciate the additional insight!