cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Selecting columns from the payload dynamically

darshthakkar
Valued Contributor

Hi Team,

Iโ€™m uncertain of the no. of columns in the payload that I would be receiving from upstream system, how can I ensure that Iโ€™m fetching all those columns dynamically? Rationale behind this is that I need to ingest this dynamic payload into a database so fixing a structure in snapLogic (using mapper snap) and creating a table in my database wouldnโ€™t help.

For instance, in todayโ€™s payload, I have 10 columns, tomorrow it may be 12, day after tomorrow it may be 8 so how can I handle this dynamic behavior?

Thanking in advance for your inputs.

Regards,
Darsh

1 ACCEPTED SOLUTION

darshthakkar
Valued Contributor

Tested with a sample file and with the mapper settings as below:
image

Closing this thread as the solution worked.

View solution in original post

1 REPLY 1

darshthakkar
Valued Contributor

Tested with a sample file and with the mapper settings as below:
image

Closing this thread as the solution worked.