Hi, I have a form in a modal. The form is a Post with a server connect. On the submit button of the form I have 4 flow steps. I wish to execute them before the server connect of the form is called.
However, when the submit button is clicked the form seems run its server connect first, then the 4 flow steps.
I have tried to use the server connect available on the app side of the fence, whilst keeping the form as post, making the button ‘default’ instead of ‘submit’ and removing the server connect off the form itself. This does not seem to work because the Post variables are not updated in the server connect.
I’m pretty sure flow steps don’t run in order. So what I would do is setup the flow to run each once then a condition to check previous has completed then once the final completed run form.
Updated as I wrote this incorrectly while on mobile.
Run actions on flows go asynchronous so you can’t control their order.
So you have to find an alternative solution to what you want to do.
You should either do everything in a flow without run actions but just asking variables values within the flow or place your logic in the app connect components and trigger events like form submit.
Hi George, I think I understand what you mean, which makes things a bit more tough. As an experiment to get an understanding I inserted a toast between each Run to see if they would go out of sequence compared to their order defined in the flow.
However the Runs executed in the exact expected order. Is this always the case or have the toasts forced the Runs into the correct order? Which would be an interesting effect of toasts.