cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

Problems with Sending email and push notification

Hi,

 

I have an app that when the user clicks on a button a record is supposed to be saved in a data base, then an email and push notification are sent to the people specified in the record information... the main problem is that when you create for first time that record the Sending email and push notification functions do not work, but when you go the saved records in the app and then you click save changes, the Sending email and push notification functions work perfectly. In the other hand, those functions work perfectly in edit mode, but when in Live mode, they don't... please, users are complaining about this, need rapid help.

 

Regards

2 REPLIES 2
ragavanrajan
Super User
Super User

Hi @GreenRedBlue13 , If my understanding is correct, the reason why it is not sending email and push notification on first time is because the record was not saved but you are triggering flow without any data.  This is purely a workaround and the design change. You can check the below post how to capture success and failure until the record is saved. 

https://powerusers.microsoft.com/t5/Power-Apps-Portals/Load-web-page-untill-data-is-sent-to-CDS/m-p/... 

 

So basically once you set the successful and failure capture.  

 

Below are the steps 

 

1. Add a little image on top of the Send Email button 

2. Add a little spinner GIF on the image 

3. Based on the flow successful / failure flag hide/unhide your image. 

 

Until the record is saved your "Send email button will not be shown to the user" . 

 

Hope you got the idea. 

 

Hope it helps. 

------------

 

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Hi @ragavanrajan ,

 

Good point, but what can you tell me about that in edit mode it works perfectly and in live mode doesn't. And i am not using any flow to perform any action in that app, just using Outlook and powerapps send push notification function.

 

Regards.

Helpful resources

Announcements
Carousel Community Blog

Check out the Community Blog

Read all about the most recent blogs in the community!

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Carousel News & Announcements

What's New in the Community?

Check out the latest News & Events in the community!

Users online (6,302)