Workflow does not complete when i navigate to new page

Hello,

Some of my workflows have several API requests to update data in Xano. Will the workflow complete itself even if the user navigates to a new page before the completion of the workflow? Or do I need to make it so that the user cannot navigate to a new page while the workflow is being completed so that all data is being updated and nothing is missing.

I’m not sure, but I will recommend you to terminate the workflow before because it can have unattended effect. For exemple if one of your workflow is using a component variable it will not be available anymore after changing page.

What do you mean terminate the workflow?
How could I make it so that any action on the page is disabled until the workflow is complete? E.g., they cannot input into a form, press buttons to change variables etc while a workflow involving those variables is in progress

The best way would be to display a loading popup so your users can’s click anywhere. Its easier than adding a path through everywhere

By terminate I mean make sure to finish the workflow before navigating away.

Could you ask the WeWeb technical team wether a workflow will continue to execute when navigating to anouther page?

It doesn’t make sense to have a user wait for a backend action to complete. For example, if I’m loading a series of collections after login and a user navigates to anouther page, I want that user’s collection to continue loading in parallel to any other processes.

A great example of this might be a dashboard, where you could load project data on the dashboard landing page, so that the user can navigate to other views.

Hi,

Yes a workflow will continue even after changing a page

Awesome, thanks!

I had a need for this and my experience was different. Once the page changed, the workflow was terminated. But I got around this by creating some variables, setting them to preserve on navigation, and then continuing the workflow on page load (on the new page). It depends on the use case anyway, but that’s how I made it work on mine.