Announcements
After enabling the New Analysis Engine in a Canvas App, a complex logic stopped behaving consistently between Editor (Studio) mode and Published mode.
Originally, all logic was implemented in OnStart. For better control and testing, I moved this logic to a button on the first screen.
Important: the variables and collections originally initialized in OnStart are used throughout the entire app (across multiple screens and components), being a core part of the application’s behavior. Additionally, this is a highly complex app with a large number of rules and data dependencies.
In the Published app:
In Power Apps Editor (Studio):
Clicking the same button causes the app to enter an infinite loading state
It becomes impossible to interact with the interface (no options can be clicked)
A browser refresh is required to use the app again
Consistent execution in both Editor and Published app
All collections properly populated
The issue started after enabling the New Analysis Engine
The same logic worked correctly before
The behavior suggests a possible inconsistency in the engine execution
Is there any additional setting that must be enabled along with the New Analysis Engine to ensure the Editor correctly processes complex logic?
Thanks for the insight!
Just to clarify: the code was originally in OnStart. To be able to edit the app using the New Analysis Engine, I opened it with the flag canvasDesignerFlags=SkipSendingDataRequests in the URL, so it wouldn’t trigger data source calls.
canvasDesignerFlags=SkipSendingDataRequests
Because of that, I temporarily moved the OnStart logic to a button to prevent it from running automatically.
As mentioned, when pressing the button, the same infinite loading behavior that happens in OnStart is replicated. In the published version, the app continues to work normally — the infinite loading only occurs while editing the app.
This is a fairly complex app, and we’re already taking steps to simplify and optimize it. The issue started after Microsoft enforced the use of the New Analysis Engine this year for apps using modern controls, which led us to this workaround.
Appreciate your help!
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Jump in, show your community spirit, and win prizes!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Valantis 424
WarrenBelz 355 Most Valuable Professional
11manish 290