I have a Power Apps form that i want to trigger an email alert when the user submits data. The email will contain information from the submitted form, such as name, incident #, etc. Below is the formula i am using:
Office365Outlook.SendEmailV2("Mike.Smeltz@BlickCenter.Org", "MUI Submitted", "The following MUI has been submitted for:" & (DataCardValue1) & "Incident #:" & DataCardValue29)
This formula is on the new form of my app. The email comes through but without any information from the DCV's 1 and 29. DCV 1 is the name field, and DCV29 is the incident # assigned by the SQL database.
Here is the email msg i get: The following MUI has been submitted for:Incident #:
The DCVs are what's missing from the message.
Also on the form i have an edit form, which is where the app takes the user once the new form has been submitted. This edit form contains all the info that was submitted and allows the user to make any corrections before closing the app.
If i put the email formula on the submit icon on the edit form, it gives me data from the DCV's but they are the ones from the previously submitted entry, which could have been days or weeks ago; not the current one that was just submitted by the user.
Any thoughts?
Thank you very much.