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.

Report
All responses (
Answers (