web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / First Button Press on ...
Power Apps
Unanswered

First Button Press on a ForAll(Patch()) takes time without any progress.

(0) ShareShare
ReportReport
Posted on by 18

Dear Community,

 

thank you for reading this! I have a problem I can not get arround. I have a ForAll(Patch))-Process which on first time usage does not trigger immediately. It takes a couple of seconds, sometimes longer before the code gets processed. Subsequent uses (patches) fire directly and fast. What can be the Problem here?

Warten is a Variable for a Waiting Screen so that users do not push buttons etc. while the patch is active. That loading screen is on first time usage not visible for the first seconds.

 

Here is the Code:

 

Set(Warten;true);;Patch(Lehrkörper;
ForAll(
Filter(Gallery_Lehrkörper.AllItems;
(CountRows(ComboBox3.SelectedItems) > 0) || (CountRows(ComboBox3_1.SelectedItems) > 0)
) As _item;
If(CountRows(ComboBox3.SelectedItems) > 0;
{ID: _item.ID;
'Dozent 1': Concat(_item.ComboBox3.SelectedItems; Result);
'Ampel 1': 0
};
{ID: _item.ID;
'Dozent 2': Concat(_item.ComboBox3_1.SelectedItems; Result);
'Ampel 2': 0
}
)
)
);;Set(Warten;false)

Categories:
I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 528

#2
WarrenBelz Profile Picture

WarrenBelz 426 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 306

Last 30 days Overall leaderboard