Discussions

Expand all | Collapse all

For Loop in Pipelines

  • 1.  For Loop in Pipelines

    Posted 3 days ago
    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
    ------------------------------


  • 2.  RE: For Loop in Pipelines

    Posted 3 days ago
    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.


    Empower Slide


    ------------------------------
    Sharon Faust (QuickBaseJunkie.com)
    Founder, Quick Base Junkie
    https://quickbasejunkie.com
    ------------------------------



  • 3.  RE: For Loop in Pipelines

    Posted 2 days ago
    Thank you! That is a good idea!

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