# Quick tips - Looping!

**URL:** <https://community.tulip.co/t/quick-tips-looping/3735>\
**Category:** Show and Tell\
**Created:** [October 5, 2021, 1:37pm UTC](https://community.tulip.co/t/quick-tips-looping/3735 "2021-10-05T13:37:45Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![freedman](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tulip.co/freedman/32/107_2.png) [@freedman](https://community.tulip.co/u/freedman)\
**Post date:** [October 5, 2021, 1:37pm UTC](https://community.tulip.co/t/quick-tips-looping/3735/1 "2021-10-05T13:37:45Z")

</div>

Hey everyone! Just wanted to share a quick video for how to accomplish looping. It can be a pretty powerful technique.

[![](https://us1.discourse-cdn.com/flex020/uploads/agilemfg/original/2X/3/36df8cb3bf0276f25e6a6a01d84b9e31bf133e27.jpeg "Quick tips - Looping") ](https://www.youtube.com/watch?v=qUpbd6yDlZE)

---

<div class="post-metadata">

**Author:** ![Nolsie](https://avatars.discourse-cdn.com/v4/letter/n/59ef9b/32.png) [@Nolsie](https://community.tulip.co/u/Nolsie)\
**Post date:** [October 7, 2021, 7:29pm UTC](https://community.tulip.co/t/quick-tips-looping/3735/2 "2021-10-07T19:29:08Z")

</div>

Hi @freedman

Is it possible to use a similar technique If I have a work orders table.  
What I am wanting to achieve is to create a dispatch app where there is a single table with all sales orders and corresponding work orders. So a sales order may have 10+ lines of work orders.  
Is it possible to create a feature that loops through and marks all lines of a sales order as packed (one of the fields in a table)?

---

<div class="post-metadata">

**Author:** ![freedman](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tulip.co/freedman/32/107_2.png) [@freedman](https://community.tulip.co/u/freedman)\
**Post date:** [October 7, 2021, 7:42pm UTC](https://community.tulip.co/t/quick-tips-looping/3735/3 "2021-10-07T19:42:12Z")

</div>

@Nolsie definitely - the above technique can be used to do all sorts of things within the loop. The scenario you are bringing up is almost identical to the one in this video. Looping has a limit of 100 cycles so that should work fine in your scenario.

There are methods you can use to increase the limit if needed.

---

<div class="post-metadata">

**Author:** ![Pete\_Hartnett](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tulip.co/pete_hartnett/32/3678_2.png) [@Pete\_Hartnett](https://community.tulip.co/u/Pete_Hartnett)\
**Post date:** [June 13, 2022, 1:46pm UTC](https://community.tulip.co/t/quick-tips-looping/3735/4 "2022-06-13T13:46:46Z")

</div>

Hey All!

We just released a [Widget Plugin](https://tulip.co/platform/plugins/) to make looping incredibly simple in Tulip apps. Check it out here:

> **[Looper Unit Test | Frontline Operations Platform](https://tulip.co/library/apps/looper-unit-test/)**
>
> The Looper Widget Unit Test adds a widget that can loop through a list of actions in an application. Define a list of items and events and the widget will run a trigger for each item on the list.

Pete

---

<div class="post-metadata">

**Author:** ![RussWaddell](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tulip.co/russwaddell/32/3774_2.png) [@RussWaddell](https://community.tulip.co/u/RussWaddell)\
**Post date:** [June 15, 2022, 3:46pm UTC](https://community.tulip.co/t/quick-tips-looping/3735/5 "2022-06-15T15:46:24Z")

</div>

some references here for best practices are out of date based on the looper library widget, although existing looping methods still work fine. Closing this topic; please refer to and comment on [Looping in Tulip Apps just got EASY](https://community.tulip.co/t/looping-in-tulip-apps-just-got-easy/5530)

---

<div class="post-metadata">

**Author:** ![RussWaddell](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tulip.co/russwaddell/32/3774_2.png) [@RussWaddell](https://community.tulip.co/u/RussWaddell)\
**Post date:** [June 15, 2022, 3:46pm UTC](https://community.tulip.co/t/quick-tips-looping/3735/6 "2022-06-15T15:46:31Z")

</div>


