I have stored my data in simple Sharepoint List. I use Power Apps for the UI. The UI access data in Sharepoint via Power Automate, by using the Get Item function.
A user click a button. Power Apps execute Power Automate flow. Power Automate flow acquire data from Sharepoint and returns it back to Power Apps via JSON. Power Apps acquire the JSON format, auto-parse it, then I can easily extract any data from it in Power Apps. It's a very simple process and straightforward.
The problem is there's a change in how Power Apps execute that function. Previously, Power Apps will wait & stop further execution until the whole data from Power Automate is retrieved. It will execute every single function in a sequence. But about 1-2 months, ago, Power Apps no longer block execution and proceed immediately to the next instruction, even though it has not finished acquiring all data from Power Automate. It behave as if the execution is done in paralel.
This new mechanics ruin a lot of things. The UI buttons were supposed to remain disabled before all data was retrieved. But with this new mechanics, all button immediately became enabled, while loading is in progress. Hence users keep on clicking other buttons and cause some data corruption due to non-linear execution.
How to revert back to the old mechanics?