I've come across a weird issue. My flow creates a signature file from a Powerapp which I then want to attach to the SP list that it belongs to. Problem being it consistently attaches it to the before last record. It's like it references the wrong ID. Has anyone come across this behavior before?
My Powerapp formula is:
'Signatureworkflow2-2'.Run(Mid(JSON(PenInput3.Image,IncludeBinaryData),24,Len(JSON(PenInput3.Image, IncludeBinaryData)) - 24),Last([@'Employee Injury Report']).ID);SubmitForm(EditForm1);ResetForm(EditForm1);
Txs!