While loop not leveraging user approval and endlessly loops

Tried to set up a simple while loop that would generate content, ask for my approval, and set the state to end the loop if approved, but it is endlessly looping without asking for my approval.

Anyone else seeing this?

1 Like

Thank you for sharing your workflow, super helpful. This is a known bug. Right now, if you place a user-approval node inside a while loop, it won’t actually pause for input and just loops endlessly. The team has confirmed it and is working on a backend fix so workflows can suspend and resume correctly within loops.


For now, move the approval step outside the loop or replace the while loop with a conditional branch that checks a state variable. That should stop it from running forever while we work on a fix!

4 Likes

Thank you for the reply! I tried setting up your suggestion, but am getting the below:

1 Like

This issue is still not fixed

Sorry that you are still facing the error. Let us review this with our team and get back to you very shortly. Thank you!

1 Like

This issue is still not fixed - please prioritize it!

Hey everyone, We worked with our engineering team and the current workaround would be to use state variables to move the approval node outside of the loop. In long term this should be fixed but we do not have the timeline to share at the moment. Thank you!