Hello @private_matter
If youa re using the while loop then you have to use the counter variable.
suppose if the condition is i<10
i is an integer variable declared as 0 and in the while loop as the last step you need to increase the value of i.
Use assign activity-> i=i+1
Thanks