Real Time Update of the Notification bell
Hi all,
we have added the solution of Send Notification to our solution, the bell icon and then added the automation shape.
It is almost working all the way, however the real time update does not happen and the only way to get the number correct on the bell icon is to refresh the portal.
If you click on the bell even if zero but there was an update, the notification is there as well. Therefore it seems like it's almost working correctly.
I have added the below to prconfig
<env name="server-push/transport" value="long-polling"/>
<env name="server-push/enabled" value="true"/>
and restarted the application.
Does perhaps anyone know what else could be missing?
If it helps, we are using UI Kit version 8.7.3.
Thank you in advance.
@RenataC5 To enable real-time updates for the notification bell in Pega (UI Kit 8.7.3), you’ve already taken key steps by enabling server push with long-polling. However, for real-time notification count updates, you also need to ensure that the pulse or channel services (used for server push) are running correctly in your environment. Check that WebSocket or long-polling connections are not blocked by proxies or firewalls. Also, confirm that the pxNotify activity or the Notify plugin is properly triggering the update when a notification is sent. In some cases, real-time badge updates on the bell icon might also depend on a custom data page refresh or JavaScript handler that listens for incoming server push messages and updates the UI accordingly. If those handlers are not in place, the notification list might refresh, but the count won’t until manual refresh. As a workaround, you can add a small JavaScript polling script that refreshes the notification count every few seconds until real-time is fully functional.