Hi community,
I am trying to build a flow which upload the attachment along with other values submitted on MS forms to Sharepoint.
I am referring to post @yashag2255 at below link but getting Json Parse error:
https://www.bythedevs.com/post/working-with-files-on-ms-forms-in-ms-power-automate
Solved! Go to Solution.
Hi @Mishatandon ,
You have to set Input of Apply To each loop as Body from Parse Json. Remove another apply to each loop. Just add Get file content and use Id from Parse JSON.
Thanks
Hi @Mishatandon ,
The JSON you are referring here should be used as Schema as it is . Do not use generate from sample and provide this json.
Thanks
@ManishJain thanks that worked but gave error on the subsequent step.
Unable to process template language expressions for action 'Apply_to_each' at line '1' and column '2857': 'The template language expression 'body('Parse_JSON')?['items']?['properties']?['id']' cannot be evaluated because property 'items' cannot be selected. Array elements can only be selected using an integer index. Please see https://aka.ms/logicexpressions for usage details.'.
Hi @Mishatandon ,
In Apply to each loop you should select Items as this is array. Then inside the loop for getting file content you should be using
items('Apply_to_each')?['id']
Thanks
Further made changes and getting error:
The execution of template action 'Apply_to_each' failed: the result of the evaluation of 'foreach' expression '@items('Apply_to_each_2')['id']' is of type 'String'. The result must be a valid array.
Made the changes as per suggestion but getting error.
Screenshot:
Hi @Mishatandon ,
You have to set Input of Apply To each loop as Body from Parse Json. Remove another apply to each loop. Just add Get file content and use Id from Parse JSON.
Thanks
Hello @ManishJain
I am using the process in this blog to create my own flow : https://techcommunity.microsoft.com/t5/microsoft-teams-blog/building-low-code-no-code-approval-workf...
I am creating 2 flows, where first flow creates a message card
And then when the user approves or rejects the other card, the second flow gets activated.
But I am getting this error in the Parse JSON 2:
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Announcing a new way to share your feedback with the Power Automate Team.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
72 | |
27 | |
22 | |
15 | |
13 |
User | Count |
---|---|
139 | |
42 | |
42 | |
35 | |
30 |