Hi,
I have a button that submits my form, then on sucess it sends an email, however it is sending the details of the previously submitted form.
Can anyone help with this?
OnSuccess -
Set(gblRecordID, Self.LastSubmit.ID);
Office365Outlook.SendEmailV2(Self.LastSubmit.'Lead_three',"Please review - 2024-" & Self.LastSubmit.ID & " - " & Self.LastSubmit.Segment_two.Value,
"Hi " & Self.LastSubmit.'Lead_three' & "," &
"<br><br>A request was created for your review:<br><br>
<b>Ticket Number:  </b>"&DataCardValue54.Text&" <br><br>
<b>Type of Request:  </b>"&DataCardValue15.Selected.Value&" <br><br>
<b>Request Details:  </b>"&DataCardValue26.Text&" <br><br>
Thanks.
", {Cc:Self.LastSubmit.Requestor_Email_two})
where am i going wrong?