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 / Very slow work forAll ...
Power Apps
Unanswered

Very slow work forAll in DropDown

(0) ShareShare
ReportReport
Posted on by

Hi, I have a problem with a very slow ForAll operation in the dropdown in the onChange property. I have a json file that I process in the application and upload to the collection. I create it using flow, which parameter is user mail. I have the same code on OnStart and it executes within 5 seconds, but the problem occurs with a certain dropdown control executes terribly long and suspends my applications. Can you help? I have no idea what to do about it anymore.

 


UpdateContext({_varLoading: true});
Clear(colRekl);
Set(
varPHTEL,
'[RS]GetPHTEL'.Run(ComboBox1.Selected.rs_Email).items
);
ForAll(
Table(ParseJSON(varPHTEL)),
Collect(
colRekl,
{
rs_Type: Text(ThisRecord.Value.Type),
rs_text1: Text(ThisRecord.Value.text1),
rs_text2: Text(ThisRecord.Value.text2),
rs_text3: Text(ThisRecord.Value.text3),
rs_text4: Text(ThisRecord.Value.text4),
rs_text5: Text(ThisRecord.Value.text5),
rs_text6: Text(ThisRecord.Value.text6),
rs_text7: Value(ThisRecord.Value.text7),
rs_text8: Value(ThisRecord.Value.text8),
rs_Date: Text(
DateTimeValue(ThisRecord.Value.Date),
"dd.mm.yyyy"
),
rs_text9: Text(ThisRecord.Value.text9),
rs_text10: Text(ThisRecord.Value.text10)
}
)
);
UpdateContext({_varLoading: 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 401 Most Valuable Professional

#2
11manish Profile Picture

11manish 201 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard