cancel
Showing results for 
Search instead for 
Did you mean: 

Add a "while" statement into powerapps

This is quite a self explanatory idea (a statement to run whilst the condition stated is true) as is a fairly basic command in most languages and i feel is missing in PowerApps.

 

The ForAll statement can replace a while in SOME situations but not all. For example, if you want to check if a table has been refreshed - a ForAll loop doesn't really help you! 

 

A while loop would greatly improve efficiency for me instead of having to use longwinded workarounds which waste both a lot of time on myside writing it, and on the users side as it is resource heavy. Please add this feature as it is a common sense command that would aid a lot of people!

Status: Under Review

Upgrading to under review and adding @GregLi to take a look.

 

 

Comments
rc
Power Apps
Power Apps
Status changed to: Under Review

Upgrading to under review and adding @GregLi to take a look.

 

 

Anonymous
Not applicable

Note that as an alternative to this (and perhaps being more general), providing an option to force ForAll() to be performed SEQUENTIALLY may alleviate this.

baarsd
Helper I

Hi,

 

just checking in to see whether this idea has gained any traction? Maybe it’s stuck in a while loop? 🙄

 

PauloRech
Advocate IV

I can't active this goal in the code... there is no way to use a WHILE condition in the middle of the code.

 

POWER APPS is weird... 

Some news?