Subscribing to Web Socket Notifications
Notification published from the server side can be subscribed on client side. You must subscribe to the same topic on the client side.
Example: Subscribe to the WebSocket in a UI Widget
Steps:
Open a UI Widget and click on Load Script in the Property Panel. Then click On Load Script > Before Processing Script to open the editor.
Write the script using
subscribeToTopicand click OK.Click SAVE.


