# Flex Repeater with Dynamic Instances

**URL:** <https://forum.inductiveautomation.com/t/flex-repeater-with-dynamic-instances/62736>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [August 5, 2022, 7:46pm UTC](https://forum.inductiveautomation.com/t/flex-repeater-with-dynamic-instances/62736 "2022-08-05T19:46:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jwilliams](https://avatars.discourse-cdn.com/v4/letter/j/c2a13f/32.png) [@jwilliams](https://forum.inductiveautomation.com/u/jwilliams)\
**Post date:** [August 5, 2022, 7:46pm UTC](https://forum.inductiveautomation.com/t/flex-repeater-with-dynamic-instances/62736/1 "2022-08-05T19:46:49Z")

</div>

Is it possible to bind the instances PROP of a Flex Repeater component to a query to pull the total number of jobs from a table (in order to always have an updated list of jobs in the Flex Repeater) while also filtering the instances by state (0, 1 ,2) so that the state 2 jobs are at the bottom of the instance list? The state of a job would have to come from each respective jobs tag state value.  
I have not yet gotten to try this but plan to soon if I can ever find the time, I am just looking for opinions on if it would even be possible considering some of the data is coming from a database and other data is coming from a tag. I also do not have any experience in ordering instances, I am assuming this would have to be accomplished through a Query binding with transforms.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [August 5, 2022, 7:49pm UTC](https://forum.inductiveautomation.com/t/flex-repeater-with-dynamic-instances/62736/2 "2022-08-05T19:49:25Z")

</div>

Definitely seems possible. I would agree that a query binding with transforms is the way to go.
