While loops not working
I for the life of me can not get a while loop to run ever. I have tried messing with variables, javascript formulas, and more with no success. It is extra frustrating because conditional logic branches and log outputs all return true but my while true loops get skipped no matter what.

3 Replies
Processing...
🤖 Sifting through digital archives. 🗄️ this might take a couple of minutes... beep boop
🤖 AI Response
BuildShip provides loop functionality through its Loop Node, which is designed to iterate over arrays of items rather than using traditional while loop syntax. The Loop Node allows you to process multiple elements sequentially or in parallel batches, making it ideal for workflows that need to repeat actions across collections of data.
For scenarios requiring conditional repetition similar to a while loop, you can implement recursive logic by combining the BuildShip Trigger node with conditional branching. This approach enables a workflow to call itself repeatedly until a specified condition is met, effectively simulating while loop behavior within BuildShip's execution model.
The Loop Node specifically excels at iterating over lists, arrays, or JSON objects and executing a set of tasks for each element. You can also configure batch processing—for example, setting the loop to process 15 items concurrently rather than one at a time, which significantly improves performance when handling large datasets.
When building your workflow, you reference variables from one node in another to create connections. Within a loop, you can access individual items using the loop's variable context (such as
record.email for accessing specific fields from each iteration), allowing you to customize actions for each element without rewriting the node logic.
If you're working with BuildShip's database or other integrations, you can combine loop operations with query nodes to fetch data and then iterate through the results, creating powerful automation workflows without requiring traditional programming constructs.
🔗 References:
1. https://buildship.com/integrations/apps/buildship-workflows-and-loops
2. https://buildship.com/integrations/linear
3. https://buildship.com/integrations/apps/loops-and-linear
4. https://www.youtube.com/watch?v=cKNcVRfPI30
5. https://buildship.com/integrations/apps/loops-and-buildship-database
6. https://buildship.com/integrations/apps/buildship-workflows-and-buildship-database
7. https://www.youtube.com/watch?v=Ok66Ttt3eK8
8. https://buildship.com
9. https://support.buildship.com/m/1196721027309371413
10. https://buildship.com/blog/buildship-v2BuildShip AI Support
@itsnatem Sorry for the issues with the While Loop node. It actually wasn't supposed to be released since it's in test mode. We'll release a fixed and working version soon.