I've got a PowerApps application built on a SharePoint list. When the application loads, it runs a Flow to determine SharePoint group membership and sits at a "Please Wait" screen while that runs. Once completed, the form logic will display a form screen determined by the Status column in the SharePoint list.
Here is what is happening. When I go to the list and click "NEW," the form loads, runs the Flow, and then sends the form to the "NEW" screen. I complete the form and submit it. After the submission is complete, I immediately click "NEW" again. At this stage, the Flow does not seem to run and the "Please Wait" screen is skipped - the form goes right to the "NEW" view. It's as if the rules in the OnStart parameter of the App are being skipped - almost like the previous view was cached.
Any thoughts? I want the rules in the OnStart event of the App to run EVERY time.
The New button is the embedded New button in the SharePoint list's ribbon. I can't control that.
If I click that new button, fill out a form, and a submit closes the form, then why isn't it running the OnStart event again when I launch the app?
Thanks, I appreciate the help. Would this issue still be present if I tried to convert this to a Canvas app? Also, is the order of operations for rules on a SharePoint List PowerApp as follows?
1. App OnStart
2. SharePoint Integration
3. Individual screen rules
You've been a great help. I'm still having issues but hopefully I'll find time to resolve them this week.
Is there any guidance on converting a PowerApps List Form to Canvas App? For anyone who has done it, how long does it generally take?
Unfortunately, you must start over again to convert from list form to canvas app. See the relevant forum post below.
Link To Relevant Forum Post
Please click "Accept as Solution" if my response helped to solve your issue so that others may find it more quickly. If your thought the post was helpful please give it a "Thumbs Up."
Thanks so much for your help. I'm on the right track and think I have a fix. I just need to do some more regression testing tomorrow, as the form is very complex and the fixes I implemented were pretty substantial.
Check out the News & Announcements to learn more.
Did you know that you can visit the Power Query Forum in Power BI and now Power Apps
Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.
Check out our new Discover Your Career Path blog post series and get all the details.