When clicking the approve button in my app I am getting the below error.
My code on the button for "on select" is
Patch('LY General Imprest (Test)',
varRecord,
{
Status:
{
Value: "Approved - Supervisor",
'@odata.type': "Microsoft.Azure.Connectors.Sharepoint.SPListExpandedReference"},'Approval Comments':TxtComments.Text
}
);
Office365Outlook.SendEmailV2(varRecord.'Created By'.Email, "Approved by your Supervisor","Your request of " & varRecord.Subject & " has been approved. The comments were: <br>" & TxtComments.Text);
What could be the problem?
