# Flex Repeater - Figure out which instance that is firing an event

**URL:** <https://forum.inductiveautomation.com/t/flex-repeater-figure-out-which-instance-that-is-firing-an-event/35752>\
**Category:** Ignition Early Access\
**Created:** [June 17, 2020, 1:39pm UTC](https://forum.inductiveautomation.com/t/flex-repeater-figure-out-which-instance-that-is-firing-an-event/35752 "2020-06-17T13:39:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kleppe85](https://avatars.discourse-cdn.com/v4/letter/k/c4cdca/32.png) [@Kleppe85](https://forum.inductiveautomation.com/u/Kleppe85)\
**Post date:** [June 17, 2020, 1:39pm UTC](https://forum.inductiveautomation.com/t/flex-repeater-figure-out-which-instance-that-is-firing-an-event/35752/1 "2020-06-17T13:39:29Z")

</div>

Hi,

Is it possible to have a change script on the “props.instances” on a flex-repeater, and use this to identify which instance[?] that fired an event?

---

<div class="post-metadata">

**Author:** ![jpark](https://avatars.discourse-cdn.com/v4/letter/j/a88e57/32.png) [@jpark](https://forum.inductiveautomation.com/u/jpark)\
**Post date:** [June 17, 2020, 1:58pm UTC](https://forum.inductiveautomation.com/t/flex-repeater-figure-out-which-instance-that-is-firing-an-event/35752/2 "2020-06-17T13:58:57Z")

</div>

Pass in a unique value like Index or ID to each instance. Use that to identity it.

---

<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:** [June 17, 2020, 3:50pm UTC](https://forum.inductiveautomation.com/t/flex-repeater-figure-out-which-instance-that-is-firing-an-event/35752/3 "2020-06-17T15:50:24Z")

</div>

Flex repeater children will also automatically be sent an `index` parameter - just have a named input parameter `index` on your view, and it’ll automatically be supplied an index by the flex repeater:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/c/cf7689e2d20d07bf55b2b25cf8b99684ad5fd22b.png)
