Notifications
Announcements
Hi,
Lets say I have EditForm1. I have a button that submits EditForm1. OnSuccess of EditForm1 I have emails sent out based on if conditions on a few fields.
I want the users to just have the option to save fields and not send out these emails. Can this be done?
any suggestions?
Hi @wonka1234 ,
You would need to give them the option before the form is submitted. For example if you had a Check Box on the screen (not in the Form) called ckEmail and if checked, send an email, you code OnSuccess would be
If( ckEmail.Value, Office365Outlook.SendEmailV2( . . . . . . ) )
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
MVP (Business Applications) Visit my blog Practical Power Apps
@WarrenBelz thanks. I like that. anything else that would work in that situation?
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 717 Most Valuable Professional
Michael E. Gernaey 329 Super User 2025 Season 2
Power Platform 1919 268