@v-bofeng-msft , the example i followed all the steps, on the flow the attachment is seem uploading fine, but on sharepoint there is no file attached, column is set to single line and have create on the flow trigger for this. I did refreshed both sharepoint datasource on power apps and flow, still its not and this my code on the button, maybe i am not using ForAll but on Advance mode set the property to Parent.DisplayMode.Edit only, but i can see MaxAttachment on my form is set 6.
SubmitApproval.Run(Finding_desc.Text, Text(Due_Date_Details_Calendor.SelectedDate, "yyyy-mm-dd"),
Root_Cause_txt.Text, Corrective_Action_txt.Text, Prevent_Action_txt.Text,
Status_Details_dropdown.Selected.Value, {contentBytes:First(File_Attachment.Attachments).Value,
name:First(File_Attachment.Attachments).Name});
NewForm(Corrective_Action_Form);
SubmitForm(Corrective_Action_Form);
Notify("Corrective and Preventative submitted for Approval",NotificationType.Success);
