[New Feature] New Event: Do when condition is true

Hi @josh - I am having problems using this event. I’ve reported the problem in another problem I am having (save entries from a repeating group to the database) - see Repeating Group problem

In a nutshell:
I want to read and then save the entries from a repeating group X-number of times. Where X = the total number of entries that are listed in the repeating group.

To do this:

  1. I set a counter Y that increases as each entry is saved.

  2. Then I check if the Y <= X using the “Do when condition is true” event

  3. Save the entry Y in a table

But for some reason I can’t get the “Do when condition is true” to run more than once. As soon as it finds the condition to be true the first time it stops and ignores the fact that the counter has increased and therefore the condition is no-longer true…

Could this be because you turned on the safety precaution you mention above.
If so, can you recommend a different way to approach this?
My only other option is to hard code the process to repeat a number of times but I don’t want to do that as the number X changes each time I run the app. :worried:

I very much appreciate your help!

Cheers,
Toby