Hi, we're using Power Automate to send push notifications to our users when some new content is available in one of our PowerApps. We're setting this via parameters that the PowerApp grabs on the OnStart event of the main application which then navigates to the appropriate screen. This works fine if the app is closed but if it's already open it does nothing. I understand why because the OnStart event isn't triggered. Any ideas on how to handle this? We'd obviously like it to navigate to the correct screen whether the app is open or closed.
Thanks
Solved! Go to Solution.
Hi @UdayAdhikari ,
There is a mechanism by design that the parameter can only be passed when the App is being open, it has nothing to do with OnStart event.
Hence, if the app is open or suspended when you tap the notification, the parameters won't be passed into app.
If you want to enhance this function, please vote for this idea and submit your feedback.
Hope this helps.
Sik
Hi @Borgy - in that case, I would have created a separate Power Automate flow to monitor for new content (looks like you are using SharePoint so the trigger would be when a new item is created) and add push notification action. If you have some logic that you have in App OnStart then you can mirror the same in flow. I am guessing you have more to this 🙂 if so please add details and happy to help how I can.
Thanks
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.
Hi @UdayAdhikari ,
There is a mechanism by design that the parameter can only be passed when the App is being open, it has nothing to do with OnStart event.
Hence, if the app is open or suspended when you tap the notification, the parameters won't be passed into app.
If you want to enhance this function, please vote for this idea and submit your feedback.
Hope this helps.
Sik
@Borgydid yo know how to do it? to click and pass to the screen that you want?? how you put your params?
User | Count |
---|---|
258 | |
111 | |
95 | |
48 | |
41 |