Hello, I am confused and trying to understand why everything in this code below works accept if I choose Assigned as an option it will only send the email not submit the form. I also assume there is a more streamlined way to write this code out.
Any help would be appreciated!
If(
DataCardValue14.Selected.Value = "Assigned", Office365Outlook.SendEmailV2("......","Your request has been accepted and is being worked on”","Body");
DataCardValue14.Selected.Value = "New", UpdateContext({DenialPopUpVIS:false});
DataCardValue14.Selected.Value = "Assigned", UpdateContext({DenialPopUpVIS:false});
DataCardValue14.Selected.Value = "Complete", UpdateContext({DenialPopUpVIS:false});
DataCardValue14.Selected.Value = "Denied", UpdateContext({DenialPopUpVIS:true});
({DenialPopUpVIS:false}), SubmitForm(Form1))