# Using Expression Structures in a flex repeater

**URL:** <https://forum.inductiveautomation.com/t/using-expression-structures-in-a-flex-repeater/98795>\
**Category:** Ignition\
**Tags:** scripting\
**Created:** [November 19, 2024, 5:22pm UTC](https://forum.inductiveautomation.com/t/using-expression-structures-in-a-flex-repeater/98795 "2024-11-19T17:22:46Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![David\_Stone](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/david_stone/32/79749_2.png) [@David\_Stone](https://forum.inductiveautomation.com/u/David_Stone)\
**Post date:** [November 20, 2024, 9:22pm UTC](https://forum.inductiveautomation.com/t/using-expression-structures-in-a-flex-repeater/98795/4 "2024-11-20T21:22:04Z")

</div>

Normally I would make a binding on the `instances` parameter in the flex repeater and get the list of parameters you will need to pass and generate an array of instances with the contained parameters using a script transform in this binding, then you will have a flex repeater with unique instances.

One example of this type of binding is:

> [@Flex Repeater, iterate through based on tag structure value](https://forum.inductiveautomation.com/t/flex-repeater-iterate-through-based-on-tag-structure-value/98752):
>
> I'm trying to use a Flex Repeater to iterate through a tag folder, look inside each tag folder, see if a particular tag is flagged on or off, and insert a template based on that status. My tag structure is set up as PLC Tags/Pumps/ and then inside Pumps is a UDT instance for each pump, called 1 through 6, and then another called Master. Inside the Pump UDT is a "Visibility" boolean element that reads a bit in the PLC. This bit designates if the pump is actually present or not. I have a template…

---

_[View the full topic](https://forum.inductiveautomation.com/t/using-expression-structures-in-a-flex-repeater/98795)._
