cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
svijay_001
Level: Powered On

Passing the PowerApps Collection to MS Flow

I was actually looking for a way to pass the entire collection that was there in the PowerApps to the MS Follow for subsequent action to be taken based on data at each row of the collection.

 

There is no direct way to achieve it at this point of time.

Doing a forall & concatenate seemed slow and complicated respectively.

 

I found an easy way to achieve the above. 

 

Here's what I did : 

  1. Converted the collection to the JSON
    • Set(JSONName, JSON(CollectionName ))
    • The collection was now formatted to JSON and got stored in the variable JSONName
  2. Created a flow which parses the JSON which is gets passed from the PowerApps
    Powerapps_FLowcollection.png
  3. From PowerApps you can pass the JSON Formatted Collection (JSONName)
    Flowname.Run(JSONName)

 

Now you can manipulate collection data at the flow end like anyother JSON data. 

 

Note/Tip & Trick :

For the schema of the JSON that needs to be provided at the flow end in the Parse JSON step.

You can set the text value of label as the Json Variable(JSONName). Copy paste the content of the label  in the Parse JSON flow step.

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Passing the PowerApps Collection to MS Flow

Hi @svijay_001 ,

Thanks for your sharing!

The new function of JSON is quite useful.

Here's a doc about how to use json:

https://powerapps.microsoft.com/en-us/blog/json-for-canvas-apps/

 

Best regards,

Community Support Team _ Phoebe Liu

 

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Super User
Super User

Re: Passing the PowerApps Collection to MS Flow

@svijay_001 

Two thumbs up for the new JSON function!!

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.
Community Support Team
Community Support Team

Re: Passing the PowerApps Collection to MS Flow

Hi @svijay_001 ,

Thanks for your sharing!

The new function of JSON is quite useful.

Here's a doc about how to use json:

https://powerapps.microsoft.com/en-us/blog/json-for-canvas-apps/

 

Best regards,

Community Support Team _ Phoebe Liu

 

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

Top Kudoed Authors
Users Online
Currently online: 332 members 2,956 guests
Please welcome our newest community members: