Iteration_number_variable as index-number?

loop
list-variable
index

#1

Hi,

I just tried to make a Constant Value variable with “set value” as

${number_list2[${iteration}]}

  • iteration is a number-variable, but it does not really work. Is there a solution for this or is it just not possible?

Best regards :grinning:


#2

${number_list2[iteration as Integer]}

https://kb.workfusion.com/display/RPAe/Get+Value+from+List+by+Index


#3

Thanks! :+1: So “iteration as Integer” can not be a number-variable?


#4

iteration is a Number variable

as Integer is a construction that removes decimal part


#5

Sorry - did not understand that part. Thanks! :grinning: