You have to toggle reset back to false after you toggle it on with true. The momentary setting to true will run the timer. It wont run the second time if you dont turn it back to false.
Set( wait, true ); ClearCollect( WHFilterResults, FilterTest.Run(0) ); Set( wait, !true ); Navigate( BrowseScreen, None )
That's an example from a PA I have. This is tied ot a Button OnSelect, which then triggers a Flow to filter a Sharepoint document library and create a collection from it. By setting the "wait" variable to true, then setting it false after the collection gets created, it delays the Navigate accordingly. This then, takes the user to the BrowseScreen only after contents are populated there.
An alternative to using timers is having the flow return something to the PowerApp. This way, the app will call your flow and wait until a result is returned before proceeding to the next operation.
Inside your flow, use either the Response or Respond to PowerApp actions.
Hope that helps.
Fill out a quick form to claim your user group badge now!
Find out where you can attend!
Features releasing from October 2019 through March 2020
The largest Power BI, Power Platform, and Data conference in New Zealand