How to use loops in appgyver

Hello, I am trying to make an app in which you can take photos and store them locally.
Till now I have been able to take one photo but I don’t know how to take multiple images. How do I use looping? Is there any other way? Please help

Hi, R_H. You would physically loop it with the visual logic. you will notice this is what’s happening by default with your data variables.

image

As you see if the record fails, it loops and tries again. The loop only occurs on failure the way I have it set up.

The way you set this up would depend on what you’re trying to do. I often use IF conditions during loops.

2 Likes