Forum Discussion

AngelRodriguez's avatar
AngelRodriguez
Qrew Assistant Captain
4 years ago

Pipelines Variables

I get that we can use a Pipelines for each loop based on a record found, but is there a way yet to add a variable as a counter to run the loop based on the variable instead of the '1' record count? I'm trying to search the record, capture the qty ordered and run the loop that many times to create that number of records in another table.  I also really want to avoid having to create a code page to do this and make a bunch of API calls. Thanks!



------------------------------
AR
------------------------------
  • AngelRodriguez's avatar
    AngelRodriguez
    Qrew Assistant Captain

    I know it's been quite some time since I asked this question but here's the solution. It is possible to use a bucket in Pipelines to create a row for each user in a User List field. The key is to break the User List into individual users and loop over them, creating a record for each item in the bucket.