Hi,
I've created a loop action to run on the user collection.
Before the loop I add the UID to a component state variable to stop it from being included, the loop condition is then "UID is not in List" for example.
for the actions I query a single document, use a custom action to calculate the distance between the app user and the document, then create a record with the distance and other data. I then update the state variable with the UID and the loop should start all over again!
After the loop I update a non persisted variable to say the loop is finished (does nothing - just left in there from old work)
however it only runs on for 3 documents then stops? where am i going wrong?
Thanks, Ross (picture below)