Discussions

 View Only
  • 1.  For Loop in Pipelines

    Posted 06-10-2021 12:19
    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 06-10-2021 17:25
    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 06-11-2021 09:54
    Thank you! That is a good idea!

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



  • 4.  RE: For Loop in Pipelines

    Posted 06-14-2021 16:38
    @Tom Leick, let me know how it works out for you 😃​

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



  • 5.  RE: For Loop in Pipelines

    Posted 06-14-2021 16:43
    Yes it did!

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