Skip to main content

Notifications

Power Automate - Building Flows
Suggested answer

Replacing ForAll command in Power Apps

Posted on 14 Dec 2024 20:08:12 by 2
I have a gallery in Power Apps where I would like to update all the items in the gallery using Power Automate instead of a ForAll command.
 
All the items are to have the same value in a specific column. Thats all... ;-)
 
I have tried with this flow...
And this command to call the flow...
UpdatePOlineitems.Run(Gallery2.AllItems;JSONFormat.Compact)
 
But I cannot get it to work... Help please... 
  • Suggested answer
    SpongYe Profile Picture
    SpongYe 5,334 on 14 Dec 2024 at 21:42:29
    Replacing ForAll command in Power Apps
     
    Try this code:
    UpdatePOlineitems.Run(
        JSON(Gallery2.AllItems; JSONFormat.IgnoreUnsupportedTypes)
    )
    
    Hope this helps!

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

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #7 Community Profile Tips…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,595

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 64,098

Leaderboard