Page Workflows (On Page Load) Not Working

I have a workflow set to run “On Page Load” on one of my pages, which is responsible for loading data from a collection. Recently, I noticed that when I load the application, the page load workflow is not being executed, which is breaking the expected screen flow.

I identified this issue today, but I have a production version from last week where this feature is working normally. This leads me to believe the problem was introduced recently, possibly due to a recent update on WeWeb that affected this functionality.

Steps to Reproduce:

  1. Create a workflow triggered “On Page Load” to load data from a collection.
  2. Load the application/page. (If you are in the WeWeb editor, use the “Reload Data” button. If it’s already in production, refresh the browser page.)
  3. Observe that the workflow is not executed as expected.

Expected Behavior:
The “On Page Load” workflow should trigger and load the data as defined.

Actual Behavior:
The workflow is not executed on page load, breaking the data flow and the screen logic.

Additional Info:

  • The same setup worked fine on a production version from last week.
  • The issue seems to have started recently, possibly after a WeWeb update.

Hi Belify, welcome to the community :waving_hand:

This sounds like a possible bug on your project, would you mind opening a support chat so we can take a better look at your case?

Remember to submit screenshots and code snippets so we have more context.