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 :
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.
Solved! Go to Solution.
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
Two thumbs up for the new JSON function!!
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
Hey!
Is there any way you could post more on what you have in the schema and the contents of your collection? I'm working on adding the same type of functionality, but when I display the variable it gives me a hard coded response on what is in the collection. My app is intended to act as a form that will be sent to sql server, so the inputs are going to vary. I'm wondering how I would call the values if they're going to be changing.
Thanks!
I did not understand your questions ? Can you please elaborate ?
Thank you for the post, it really helped! We found out that embedding the JSON format directly into the Flow Param works as well (just in case you don't want to have to initiate another variable).
'SampleFlow'.Run(JSON(colSampleCollection, JSONFormat.IgnoreBinaryData))
@Anonymous, the following schema should allow you to parse the JSON input with keeping the flexibility on the properties:
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.
User | Count |
---|---|
203 | |
106 | |
56 | |
51 | |
41 |
User | Count |
---|---|
272 | |
156 | |
85 | |
81 | |
56 |