Get current iteration count inside a loop

2
Given I have integer N. I have a loop in a microflow and inside that loop I want to do something specific on the Nth iteration and do something else on other iterations. Is there a way to easily get the current iteration count or do I need to create a new integer variable and add 1 to it at each iteration?
asked
1 answers
1

You have to to create a new integer variable and add 1 to it at each iteration

answered