cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Pitfrog1
Level: Powered On

Re: Delay navigate screen

@PK_Honghow can i set a context variable in START, i typed in {go:true} but it gives me an error "Expected boolean type"?

 

how to set context variable?

 

BR
Pitfrog

Pitfrog1
Level: Powered On

Re: Delay navigate screen

even in play mode this wont work for me. it only works when i first created the timer. after the first attempt the timer will start @martinav 

Super User
Super User

Re: Delay navigate screen

@Pitfrog1 ,

 

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.

Highlighted
leizhaoyn
Level: Powered On

Re: Delay navigate screen

Saw this in @mrdang's article on how to return an array to Powerapps from Flow and there's a way to delay an operation until the Flow or whatever previous operation finishes:

 

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.

haniel
Level 8

Re: Delay navigate screen

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.

Helpful resources

Announcements
thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (5,016)