Troubleshooting the Notifications Configuration
If events are not appearing in the Notification window, check the following items:
-
Verify that the web profile passwords are consistent between the web server domain and the application server domain.
-
Verify that your browser, web server, and any reverse proxy servers used all support WebSocket technology.
To troubleshoot the notification configuration for push notifications published from a Process Scheduler domain, you also need to consider the following:
-
After booting up the domains, you can verify the configuration by ensuring that the domains have connected to each other. To verify the connection, you need to open the TUXLOG file for application server and Process Scheduler domains from their respective domain LOGS folders. You will see an entry in the file that the connection is established between the domains.
-
If you do not see connections being established, then reboot the domains after clearing IPC resources for the domains. Use the Clean IPC resources of this domain option in psadmin and then reboot the domains.
Testing Push Notifications Published from the Application Server Domain
To test the push notifications published from an application server domain:
Note:
Use these steps to verify push notifications that are defined with data type key-value.-
Select
-
Search and select Portal Object Name: PTSVRTESTEVENTS_GBL.
-
In the Content Reference Message Events grid, click the Map icon for SERVEREVENTTESTA.
-
On the Map Event Data to Page Elements Modal window, click OK, and click Save.
Note:
You need to complete this only once on a new installation.
-
Using two different browser sessions navigate to
-
Enter test values in the Event Data field and click Publish on one browser session.
-
On the other browser session, confirm that the values you just entered appear in the Event Targets fields.
Testing Push Notifications for PeopleCode Rowset Data Type
Before performing this test, complete steps 1 – 4 described in the Testing Push Notifications Published from the Application Server Domain topic.
Then perform the following steps:
- Navigate to the Server Side Events Test Page and select the Server event test for grid tab.
- Click View all to show all rows in the grid.
- Click Publish.
If some of the values in the Salary Accepted column change, then it means push notification events raised with rowset data are working as intended. If not, review the configuration steps.
Testing Push Notifications for Event Collections
Use these steps to verify push notification event collections. A valid subscriber to a push notification event collection will receive notifications for each event in the collection whenever they are published.
Before performing this test, complete steps 1 – 4 described in the Testing Push Notifications Published from the Application Server Domain topic.
Then perform the following steps:
- Open two browser sessions for simultaneous testing.
- In one browser session, navigate to Server Side Events Test Page and select the Server event test for fields tab.
- In a separate browser session, navigate to Server Side Events Test Page and select the Server event collection test tab.
- In the first browser session, enter sample text in the Event data field, and click Publish.
- Verify the results in the second browser session.
If event data is delivered to the second browser session, then push notification event collections are working as intended. If not, review the configuration steps. The event data is displayed in a table with information such as:
- Event name
- Collection name
- Event data type
- Event payload in JSON