
Announcements
Hi,
I am trying to append variabe to array by doing a control "do until" by getting the attachments of the emails and append it to an array by doing the below:
{
"content": {
"$content-type": @{items('Append_To_Array_Approval_Attachment_Variable')?['contentType']},
"$content": @{items('Append_To_Array_Approval_Attachment_Variable')?['contentBytes']}
},
"Name": @{items('Append_To_Array_Approval_Attachment_Variable')?['name']}
}
and i am using this array in the attachment for a wait for approval however the attachment are always corrupted and cant be opened and i noticed the content bytes are showing "null:
I am attaching some screenshots to give more details..
thanks in advance.
Hi @najwan ,
Please recreate the flow, and when the When a new email arrives trigger is created, go to the classic designer.
Then build the remaining steps.
Like this:
Please check this test:
My Flow Overall Preview:
My Flow Parameters Configuration:
{
"Name":,
"ContentBytes":
{
"$content-type":,
"$content":
}
}
My Outlook Inbox:
Best Regards,
Sunshine Gu