I'm trying to create an email which has all attachments related to a list item, I'm using the following, which I have seen on multiple guides
However I'm getting the following error:
The variable 'AttachmentArray' of type 'Array' cannot be initialized or updated with value of type 'Object'.
The variable 'AttachmentArray' only supports values of types 'Array'.
Any help would be most appreciated.
Solved! Go to Solution.
Is the initialize variable set for an array, an object, or a string. It needs to be an array and the action above needs to be Append to Array, not set variable.
Hello @Ben_C
Could you add a " character before and after the display name and attachment_content values ?
{
"Name": "....",
"Content": "...."
}
Hope it helps!
Ferran
Thanks for the response, sadly this doesn't fix the issue. It's annoying as this flow was working before.
Is the initialize variable set for an array, an object, or a string. It needs to be an array and the action above needs to be Append to Array, not set variable.
Hi @Pstork1 thanks for the heads up, I had a set variable rather than append to array variable.
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 |
---|---|
70 | |
24 | |
18 | |
16 | |
13 |
User | Count |
---|---|
133 | |
43 | |
32 | |
32 | |
28 |