Hello, I am using the Outlook Connector Send Email action to send an email. Within the onSubmit action, the email is sent, then the item is updated, and the user is navigated back home. The issue is that if the email fails to send, the item is still updated, and user is navigated back home. Is there some type of code/function I could add to only do the other two items if the email sent successfully? So wondering if there is a IsValid or send equals to true or something?
Here's my formula that I am currently using.
Office365Outlook.SendEmail(To_TI.Text,Subject_TI.Text,EmailBody_HTML.HtmlText,{Bcc:BCC_TI.Text,Cc:CC_TI.Text,From:From_TI.Text,Importance:"Normal",IsHtml:true,ReplyTo:"email@address.com"}); Patch(DATASOURCE,LookUp(DATASOURCE,ID =Gallery.Selected.ID),{Datasource Column:"Value"})