cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Advocate II
Advocate II

Send PowerApps Push Notification While PowerApps is Open

I've been able to create a flow that will send a push notification to iOS users, but only when PowerApps is not open. Is there any way to send a notification while the app is open?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Dual Super User III
Dual Super User III

Re: Send PowerApps Push Notification While PowerApps is Open

Hi @BegeNCSU 

 

This is not doable directly as power apps cannot be notified of any such notification. 
 
As a workaround for this, what you can do is, create a list/entity in any data source which will hold this notification text. Now, create a timer(let's say which runs every five minutes) on the PowerApps and checks if data exist on this list/entity. The idea here is to use list/entity as a temporary storage for notification and flow will save this value in the list, then there will be a delay of 6 mins and the record will be deleted when the delay is completed. This delay will be greater than powerapps timer so that once the message is displayed, the same gets removed from the list using the flow. 
 
Timer Config:
Auto-Start -> true
Repeat -> true
 
Expression to be used on "OnTimerStart" property of the timer:
Refresh(DataSourceName);If(CountRows(DataSourceName) > 0, Notify(First(DataSourceName).Title))
 
This will display a notification when there exist any record in the datasource.
 
Flow:MicrosoftTeams-image (67).png

 

 
Hope this Helps!

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

3 REPLIES 3
Highlighted
Dual Super User III
Dual Super User III

Re: Send PowerApps Push Notification While PowerApps is Open

Hi @BegeNCSU 

 

This is not doable directly as power apps cannot be notified of any such notification. 
 
As a workaround for this, what you can do is, create a list/entity in any data source which will hold this notification text. Now, create a timer(let's say which runs every five minutes) on the PowerApps and checks if data exist on this list/entity. The idea here is to use list/entity as a temporary storage for notification and flow will save this value in the list, then there will be a delay of 6 mins and the record will be deleted when the delay is completed. This delay will be greater than powerapps timer so that once the message is displayed, the same gets removed from the list using the flow. 
 
Timer Config:
Auto-Start -> true
Repeat -> true
 
Expression to be used on "OnTimerStart" property of the timer:
Refresh(DataSourceName);If(CountRows(DataSourceName) > 0, Notify(First(DataSourceName).Title))
 
This will display a notification when there exist any record in the datasource.
 
Flow:MicrosoftTeams-image (67).png

 

 
Hope this Helps!

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

Highlighted
Advocate II
Advocate II

Re: Send PowerApps Push Notification While PowerApps is Open

@yashag2255, you offered a really fun solution to this problem!

 

From a wider scope, what I'm trying to to do is provide a random pulse survey through Forms to users of the app so ask how well the app is working for them. Over time, I'm hoping this will give the development team an idea of how the users are feeling about the app.

 

What I might do is build on your idea and do a check to see if I've accumulated enough reponses for the day. If the total is below 10 for example, then I can use the Notify or a modal window to pop up and ask them to take the survey.

 

For anyone interested in a less roundabout solution, there an idea for PowerApp Push Notifications Appear When In The App

Highlighted
Dual Super User III
Dual Super User III

Re: Send PowerApps Push Notification While PowerApps is Open

Hey @BegeNCSU 

 

Interesting! At first I thought what could be a usecase of this thing but your reply just makes more sense now!

 

 

Helpful resources

Announcements
FirstImage

Microsoft Ignite 2020

Check out the announcement of Power Platform content at Microsoft Ignite!

thirdImage

Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (7,541)