Hi Everyone,
I have a flow which gets executed at OnVisible of the screen in PowerApps. The flow takes selected user email from a combobox control bound to People/Groups column in Sharepoint List and returns corresponding data.
The flow gets triggered prior to loading of the combobox control (thus taking "" as argument) and fails. while navigating to the screen.
Is there any way hold the execution of Flow until the combobox is completely loaded?
Solved! Go to Solution.
Hi @Anonymous ,
Do you want to hold the execution of Flow until all controls on current screen are fully loaded?
Do you auto-fill the ComboBox within your app?
If you want to hold the execution of Flow until all controls on current screen are fully loaded, I afraid that there is no way to achieve your needs in PowerApps currently.
As an alternative solution, I think the Timer control could achieve your needs. You could consider use the Timer control to set a Delay time (e.g. 4 seconds), then execute your 'YourFlowName'.Run(...) formula.
1. Set the OnVisible property of the current screen to following:
Set(IsStart, true)
2. Add a Timer control (Timer1) within your app, set the Start property to following:
IsStart
Set the Duration property to following:
4000 /* <-- 4 seconds. You could specify this to a appropriate time value on your side */
Set the OnTimerEnd property to following:
'YourFlowName'.Run(...); /* <-- Type your flow execution formula here */ Set(IsStart, false); Reset(Timer1)
Set the Visible property of the Timer control to following:
false
Please consider take a try with above solution, then check if the issue is solved.
Best regards,
HI @Anonymous
Hi @Anonymous ,
Do you want to hold the execution of Flow until all controls on current screen are fully loaded?
Do you auto-fill the ComboBox within your app?
If you want to hold the execution of Flow until all controls on current screen are fully loaded, I afraid that there is no way to achieve your needs in PowerApps currently.
As an alternative solution, I think the Timer control could achieve your needs. You could consider use the Timer control to set a Delay time (e.g. 4 seconds), then execute your 'YourFlowName'.Run(...) formula.
1. Set the OnVisible property of the current screen to following:
Set(IsStart, true)
2. Add a Timer control (Timer1) within your app, set the Start property to following:
IsStart
Set the Duration property to following:
4000 /* <-- 4 seconds. You could specify this to a appropriate time value on your side */
Set the OnTimerEnd property to following:
'YourFlowName'.Run(...); /* <-- Type your flow execution formula here */ Set(IsStart, false); Reset(Timer1)
Set the Visible property of the Timer control to following:
false
Please consider take a try with above solution, then check if the issue is solved.
Best regards,