All,
In my PowerAutomate – I’m trying to get three attachments from a MS Form and put them into a list.
The MS Form has some branching logic and one of the branches has the requirement for one attachment while the other branch has the requirement for two attachments.
The below semi-works in that it sometimes does take the first file and place it into the list – but then errors on this condition with: Action 'Parse_JSON_Upload_PO' failed
Therefore, any ideas of what my logic needs to be to get the attachments into the list.
Note – my Parse JSON payload schema looks as such:
{
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"link": {
"type": "string"
},
"id": {
"type": "string"
},
"type": {},
"size": {
"type": "integer"
},
"referenceId": {
"type": "string"
},
"driveId": {
"type": "string"
},
"status": {
"type": "integer"
},
"uploadSessionUrl": {}
},
"required": [
"name",
"link",
"id",
"type",
"size",
"referenceId",
"driveId",
"status",
"uploadSessionUrl"
]
}
}
Solved! Go to Solution.
Hello @koneill2020 ,
I was trying to find a better solution but the only one seems to be to add a 'Condition' before each attempt to save an attachment - check if the attachment is available, and if it's not there, skip the attachment processing steps. If you expect 3 attachments in 3 different places you'll need 3 conditions in your flow.
Hello @koneill2020 ,
I was trying to find a better solution but the only one seems to be to add a 'Condition' before each attempt to save an attachment - check if the attachment is available, and if it's not there, skip the attachment processing steps. If you expect 3 attachments in 3 different places you'll need 3 conditions in your flow.
User | Count |
---|---|
88 | |
43 | |
21 | |
18 | |
16 |
User | Count |
---|---|
132 | |
47 | |
42 | |
36 | |
28 |