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!
Yes that worked! So simple. Thankyou @EricaBao !!
I see in your fomula, you are updating the image to the last record ID of the sharepoint list. However when you update the image, the form in powerapps (which is to create the new item, I suppose) has not been submitted yet.
Can you try put the function SubmitForm(EditForm1) before the flow launching function?
Regards,
Erica
WarrenBelz
146,522
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,890
Most Valuable Professional