Hello. Could anybody help me understand why this patch doesn't work correctly please?
Patch
('SharePoint List',First
(Filter(' SharePoint List',ID = ApprovalPage_Form.Selected.ID)) ,
{Status:{'@odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",Id:1,Value:"Rejected",
'Reason For Rejection': ReasonForRejectionTextInput.Text}})
;
Office365Outlook.SendEmailV2(ThisItem.'Created By'.Email, "Form request has been rejected", "Hi" & "<br>" & "<br>" &
"Text " & Textbox.Text & " has been rejected due to: " & ReasonForRejectionTextInput.Text & ". Please address this issue before we can proceed with your request.")
;Reset(ReasonForRejectionTextInput)
It all patches fine, apart from the reason for rejection text input. The SharePoint column is set to text. It just doesnt bring that through in the first bit of code. It does come through with the send email part.
Any suggestions please?
Thank you