How to iterate through the fields of a single record in a Quickbase pipeline?
Hello,
I'm currently attempting to create a pipeline which converts a list of construction parts and their quantities that are contained in a single row of a build "Activities" table into a set of records in a different "Build Parts" table. By this I mean that a single row of this Activities table has a series of fields labeled "Part 1", "Quantity 1", "Part 2", "Quantity 2", "Part 3", "Quantity 3", etc. There are 50 pairs of these fields, so I would like to find out a way to iterate through the fields of this single record and create up to 50 distinct records in a different table.
My current thoughts on how to do this would be to convert this record into a JSON format and use Jinja to extract the field data, though I am not entirely sure how I could do this.
I would like to avoid needing to create 50 individual add record steps to the pipeline if possible, as I am to believe that I would need to call multiple different pipelines in order to do this (due to the max step count for a single pipeline), which is not optimal for my application.
Please note that I am new to Quickbase and Jinja, so there may be some gaps in my understanding.
Thank you,
Zach Lancaster
------------------------------
Zachary Lancaster
------------------------------