# Use Repeat Iteration value

**URL:** <https://forum.opentap.io/t/use-repeat-iteration-value/329>\
**Category:** Technical\
**Created:** [June 1, 2021, 8:23pm UTC](https://forum.opentap.io/t/use-repeat-iteration-value/329 "2021-06-01T20:23:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![GoranJohnsson](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opentap.io/goranjohnsson/32/140_2.png) [@GoranJohnsson](https://forum.opentap.io/u/GoranJohnsson)\
**Post date:** [June 1, 2021, 8:23pm UTC](https://forum.opentap.io/t/use-repeat-iteration-value/329/1 "2021-06-01T20:23:49Z")

</div>

How can I assign the Repeat steps Iteration output to an input?  
Iteration is an Output parameter:  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/opentap/original/1X/d3b0c5c6321edc051fc2fe22daae626ffd3f93f7.png)

But Assign Output is disabled on child:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/opentap/original/1X/0b58c6739805069d442b2275a115dfae824448da.png)

---

<div class="post-metadata">

**Author:** ![brennen\_direnzo](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opentap.io/brennen_direnzo/32/6_2.png) [@brennen\_direnzo](https://forum.opentap.io/u/brennen_direnzo)\
**Post date:** [June 1, 2021, 8:31pm UTC](https://forum.opentap.io/t/use-repeat-iteration-value/329/2 "2021-06-01T20:31:03Z")

</div>

The Outputs have to share the same types as the Input. For Repeat Iteration that is a string. You could use something like Log Message, but you won’t be able to pass that to Delay, since that input is a Double:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/opentap/original/1X/2582bde3e167edaa0f91e6353d5d244f47470719.png)

---

<div class="post-metadata">

**Author:** ![GoranJohnsson](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opentap.io/goranjohnsson/32/140_2.png) [@GoranJohnsson](https://forum.opentap.io/u/GoranJohnsson)\
**Post date:** [June 1, 2021, 8:37pm UTC](https://forum.opentap.io/t/use-repeat-iteration-value/329/3 "2021-06-01T20:37:10Z")

</div>

Its a string? Didn’t expect that… Is there an easy way to findout an output’s or input’s type?

---

<div class="post-metadata">

**Author:** ![brennen\_direnzo](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opentap.io/brennen_direnzo/32/6_2.png) [@brennen\_direnzo](https://forum.opentap.io/u/brennen_direnzo)\
**Post date:** [June 1, 2021, 9:02pm UTC](https://forum.opentap.io/t/use-repeat-iteration-value/329/4 "2021-06-01T21:02:47Z")

</div>

Yeah it’s a string because you get the entire “N of M”. There really isn’t a good way to identify the types in the UI today, but it is stored in the Test Plan.
