Forum Discussion
You can use mapper to change structure. Something like below:
I did changes for 2 fields only
- bill_sturdivant8 years agoNew Contributor III
Thank you for the mapper but my need is to do this dynamically. The data coming in to the mapper will not always be the same format. I’ll need to do this for a possible 850 salesforce objects all with different column names. I was thinking that a script snap would work but I’m not that strong in javascript, python, etc.
I am not following when you say dynamically.
Can you please elaborate with example.
- bill_sturdivant8 years agoNew Contributor III
The pipeline starts by listing all objects in salesforce and creates a SOQL statement for each object. The output from each object is different from the SOQL snap. In the above example data the Address field is not flat but in the second SOQL statement that runs could have 3 different fields that need to be flattened.