AnsweredAssumed Answered

Loop with counter

Question asked by maju123456 on Jul 20, 2016
Latest reply on Jul 20, 2016 by maju123456


I would like to loop through a given range of values, so I set a counter variable as integer, added a loop with a few actions and as last action added a math operation to increase the counter by 1. Somehow the loop does not work, it gets stuck after having gone through the actions the first time.

This may be because I set my conditions wrong.

The conditions I tried are

Workflow data counter not equals 23

Workflow data counter is less or equal 22

For both I got stuck with a workflow in Progress with nothing happening for minutes until I terminated the workflow.

What is the reason for this behaviour, where am I going wrong?

Is there another better way to do a loop a defined number of times?

I appreciate your help!

Best regards