How do I stop my flow from being interrupted?

(Francis Cleofe) #1

Is there a way to make a flow uninterruptable?

I made a flow that uses API’s to connect to our system and says “give me one moment while i get that for you” then executes a code and uses a webhook the proceeds to give the information to the user in a message. Last night, after the “one moment” line the user responded and said OK and was captured by the catch all making that flow run instead of continuing with the original flow.

Thanks in advance.

(Daniel Beckett) #2

Hi @FrancisC,

Just before executing your code you could set an attribute, e.g. waiting = true. On your catch-all flow you can then have a filter set for the waiting attribute not equalling true. Make sure to clear the waiting attribute after your code has ran though :slight_smile:

(Francis Cleofe) #3

Hi @DanielBeckett!

Thanks for the quick response i’ll try to implement this and test the results.