How to access 'Data Iteration' value (from Data Bindings) within Test Case?

I am wondering if there is a way to access the ‘data iteration’ value within a Test Case.

I have an Excel sheet with my data in it.
I want to iterate over the rows within the sheet using Data Bindings and defining which rows to use with ‘Test Data -> data Iteration’ value.

Instead of defining variables and assigning them in the ‘Variable Binding’ Section, I have a method that will extract the data values from the Excel sheet [ ExcelData data = findTestData(“PlanSearchData”) ].

code: CustomKeywords.myfile.‘SearchPlan’(‘datafile’)

I want to use the ‘data Iteration’ value to determine which row within the file i am accessing

code: CustomKeywords.myfile.‘SearchPlan’(‘datafile’, row) // use ‘data iteration’ to select row

My attempt to make my test cases easier to write (for non technical people)
go from:

SearchPlan(param 1, param 2, param 3, … ) // where variables are created and assigned in ‘variable bindings’
FillOutForm(param 1, param 2, param 3, … )
For( x=0, …) {

more code…


SearchPlan(‘datafile’) // and access the ‘data iteration’ value in the method.
FillOutForm(‘datafile’) // and access the ‘data iteration’ value in the method.