Forum Discussion

ThomasLeick's avatar
ThomasLeick
Qrew Member
3 years ago

For Loop in Pipelines

Hi,

Is it possible to make a for loop within pipelines? I want to be able to create a number of child records depending on a variable in the parent table.

For example if the parent table says it wants 4 children, the pipeline would then create 4 child records.

Thanks

------------------------------
Thomas Leick
------------------------------

4 Replies

  • Hi Thomas, 

    This should be something you can do with a callable pipeline calling itself. Something along the lines of what was shared in the Empower session "API Pagination with Callable Pipelines".

    Essentially looking up how many children there are vs the target in each pass.




    ------------------------------
    Sharon Faust (QuickBaseJunkie.com)
    Founder, Quick Base Junkie
    https://quickbasejunkie.com
    ------------------------------
    • TomLeick's avatar
      TomLeick
      Qrew Member
      Thank you! That is a good idea!

      ------------------------------
      Tom Leick
      ------------------------------