No actions are performed after loop action! Stuck for 2 days!

Actions & Logic

Here's my action chain.

It consists of "Creating a document - DocA" and two loop actions to create two series of documents linked to DocA.

I have tried all different ways to run a loop action but haven't been able to run any actions past Loop 1.

If I switch the position of loops (i.e., run Loop 2 before Loop 1), Loop 2 gets executed, and any actions post that are NOT executed.

Expectation from the entire action chain:

- Create a Firebase Doc A - was able to successfully execute it

- Run Loop 1 - was able to successfully execute it

- Run Loop 2 - unable to execute it

- Navigate to the page - If I put this before Loop 1, then it is executed, after Loop 1, it does not get executed.

Any help would be appreciated ๐Ÿ™

What have you tried so far?

- Running both the loops in parallel: Unsuccessful! Only the one on the left was getting executed.

- Making one loop's action non-blocking: It did not matter! Still was not able to execute the rest of the actions after the first Loop.

- In all my tries, I have successfully created all the documents in the first loop, irrespective of which loop I ran.

Did you check FlutterFlow's Documentation for this topic?
Yes
2
6 replies