Hello, I have an issue with my Power App and I hope someone would be able to advise.. I have a Sharepoint list connected to the App and it is basically adding/adjusting records in the FTE database, all working correctly. I need to add a functionality that would send an email with the record added/adjusted on the submit. I tried to add in the OnSuccess property of the form the following:
Office365Outlook.SendEmailV2("my@email.com","Notification - Change in Training",
"Name: "& EmpName1.Text&
"<br> Username: "&Username1.Text&
"<br> Training Assigned: <br>"&Concat(TrainingAssigned1.SelectedItems, Value & " <br>"))
And I indeed receive an email notification on submit, but everytime with values from a different record (last accessed or first from the list), not the one submitted! I checked the Sharepoint list and everything is fine there, just the email contains random data.. any idea how to fix this please?