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 / POWER APPS COLLECTION ...
Power Apps
Answered

POWER APPS COLLECTION TO POWER AUTOMATE

(0) ShareShare
ReportReport
Posted on by 195

Hi Everyone, 

Good day ! 

I need help passing a collection in power automate so that I can parse it.  The code used below is . 

ForAll(
 colMarketsImpacted,
 Collect(
 colSMR,
 If(
 IsBlank(
 LookUp(
 Filter(
 colServiceRegionMarket,
 Service.Id = PrimaryServiceInput.Selected.ID,
 Market.Id = colMarketsImpacted[@Country].Id
 ),
 MarketRegion.Id = colMarketsImpacted[@Region].Id
 )
 ),
 If(
 IsBlank(
 LookUp(
 Filter(
 colServiceRegionMarket,
 Service.Id = PrimaryServiceInput.Selected.ID,
 Market.Value = "All"
 ),
 MarketRegion.Id = colMarketsImpacted[@Region].Id
 )
 ),
 If(
 IsBlank(
 LookUp(
 colServiceRegionMarket,
 Service.Id = PrimaryServiceInput.Selected.ID && MarketRegion.Value = "Global"
 )
 ),
 LookUp(
 colServiceRegionMarket,
 Service.Value = "Unknown"
 ),
 LookUp(
 colServiceRegionMarket,
 Service.Id = PrimaryServiceInput.Selected.ID && MarketRegion.Value = "Global"
 )
 ),
 LookUp(
 Filter(
 colServiceRegionMarket,
 Service.Id = PrimaryServiceInput.Selected.ID,
 Market.Value = "All"
 ),
 MarketRegion.Id = colMarketsImpacted[@Region].Id
 )
 ),
 LookUp(
 Filter(
 colServiceRegionMarket,
 Service.Id = PrimaryServiceInput.Selected.ID,
 Market.Id = colMarketsImpacted[@Country].Id
 ),
 MarketRegion.Id = colMarketsImpacted[@Region].Id
 )
 )
 )
);
Set(jsoncolSMR, JSON(colSMR, IncludeBinaryData));
SendEmailtoPPLTest.Run(jsoncolSMR);

 

Power automate result. Only limited with 

YamiteKudasai_0-1652689007612.png

 

result only contains account name photo. But What I want is to get all the field values from the collection. 

How to obtain such result.? Thanks in advance for your help.

 

Categories:
  • Verified answer
    v-liwei-msft Profile Picture
    Microsoft Employee on at

    Hi @YamiteKudasai ,

     

    In PowerApps, the JSON function converts the table to a string type.

    You can insert compose into the flow and use the JSON function to convert the string back into an array .

    I have made a test for your reference:

    vliweimsft_0-1652954193616.png

     

    vliweimsft_1-1652954193621.png
     

    Beat Regards,

    Levi

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 234 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 207 Most Valuable Professional

#3
timl Profile Picture

timl 122 Super User 2026 Season 2

Last 30 days Overall leaderboard