Configuring the System for Push Notifications

This topic contains an overview and discusses:

  • Enabling push notifications on the web server.

  • Configuring an application server domain for push notifications.

  • (Optional) Configuring the Process Scheduler domain for push notifications.

  • (Optional) Completing inter-domain configuration.

  • (Optional) Configuring Process Scheduler system settings for push notifications.

  • Managing system settings for the Notification window.

  • Configuring push notifications in a cluster.

  • Troubleshooting the notifications configuration.

To receive push notifications on a PeopleSoft system, you have to enable push notifications on the web server and for the server domains where the events are being published. Events are published from the application server domain and optionally from the Process Scheduler domain. By enabling push notifications within a domain, the Tuxedo Event Broker will be started in the domain, which is the TMUSREVT server process.

Note: Events raised in a Process Scheduler domain are ultimately routed through application server domain. For these inter-domain events, you have to set inter-domain configurations for both the application server and the Process Scheduler.

This topic assumes you have a working knowledge of PeopleSoft server administration. For more information on managing PeopleSoft servers, see Using PSADMIN.

By default, push notifications are not enabled on the web server. Even if push notifications are enabled on the server domains, you must also enable push notifications for the web server.

To enable push notifications for the active web server:

  1. Select PeopleTools > Web Profiles > Web Profile Configuration.

  2. Search for and select the active web profile.

  3. Select the Custom Properties page.

  4. Add the custom property, EnablePNSubscriptions, and set it to true.

  5. Save the web profile changes.

  6. Restart the web server for this change to take effect.

Each application server domain that will trigger and publish events must be configured for push notifications using psadmin.

To enable push notifications in an application server domain:

  1. Run psadmin.exe.

  2. Select the application server domain.

  3. Select Configure this domain.

  4. Enter 13 (Push Notifications) to enable push notifications from the Quick-configure menu.

    The push notifications option is set to No (disabled) by default.

  5. Optionally, if the Process Scheduler domain will also trigger and publish events, then inter-domain configuration between the server domains is also required. Enter 12 (Domains Gateway) on the quick-configure menu.

  6. Enter 14 to load the modified configurations settings.

  7. Boot (or reboot) the domain and verify that the TMUSREVT server process starts along with the other domain server processes. In addition, if the domains gateway was enabled, verify that the GWTDOMAIN process is also started.

Each Process Scheduler server domain that will trigger and publish events must also be configured for push notifications using psadmin.

To enable push notifications in a Process Scheduler domain:

  1. Run psadmin.exe.

  2. Select the Process Scheduler domain.

  3. Select Configure this domain.

  4. Enter 4 (Domains Gateway) on the quick-configure menu.

  5. Enter 5 (Push Notifications) to enable push notifications from the Quick-configure menu.

  6. Enter 6 to load the modified configurations settings.

  7. Boot (or reboot) the domain and verify that the TMUSREVT and GWTDOMAIN server processes start along with the other domain server processes.

Note: After the Process Scheduler server is configured with a Domains Gateway, additional configuration of both servers is required to complete inter-domain configuration.

To complete the inter-domain configuration, you need to copy the Process Scheduler access point ID to the application server’s configuration. Then, you need to copy the application server access point ID to the Process Scheduler’s configuration. By default on PeopleSoft systems, the Process Scheduler listens on port 8988 for inter-domain connections; and the application server listens on port 7988. After rebooting both domains, check the Tuxedo log files to ensure that the inter-domain connection has been established.

As a first step as described in previous tasks, you must configure the application server and Process Scheduler domains to generate the inter-domain events configuration (interdom.gbb files for each domain).

Image: Inter-Domain Event Configuration

This example illustrates how the configuration settings for inter-domain events can be coped from a Process Scheduler domain to an application server domain and vice versa. The access point IDs and port values must match on both domains to ensure successful transactions.

Inter-Domain Event Configuration

Configuring the Process Scheduler Domain for Inter-Domain Events

To enable inter-domain events for a Process Scheduler domain:

  1. Run psadmin.exe.

  2. Select the Process Scheduler domain.

  3. Select Configure this domain.

  4. Enter the 7 the Custom configuration option.

  5. Press the Enter key for Do you want to change any values (y/n/q)? [n], and continue to press the Enter key until the Values for config section – Inter-Domain Events appear.

  6. Review and modify as needed the values in inter-domain events:

    Values for config section - Inter-Domain Events
        Process Scheduler Port=8988
        Application Server Credentials=APPDOM1|localhost:7988

    Field or Control

    Definition

    Process Scheduler Port

    Specify the port through which this Process Scheduler domain sends event notifications.

    Note: You can leave the port value as is if you are configuring a single Process Scheduler domain. If you are configuring inter-domain events for multiple Process Scheduler domains on the same machine, then specify a unique port number for each domain.

    Application Server Credentials

    Specify the application server domain to which this Process Scheduler domain will send event notifications in the format:

    Application Server Credentials=ACCESS_POINT_ID|HOST_NAME:AS_port
    • ACCESS_POINT_ID: Open the PS_CFG_HOME\appserv\DOMAIN_ID\interdom.gbb file for the application server domain. Locate the section in the file that is similar to the following:

      *DM_LOCAL
      "AS_T85704AA_41162" GWGRP=GWTGROUP ACCESSPOINTID="T85704AA_41162"

      Note: The ACCESSPOINTID must be 30 bytes or fewer in length—that is, it must be 30 characters or fewer (including the trailing Null character).

    • HOST_NAME: The host name of the machine, which is running application server domain.

    • AS_port: The port number provided in the interdom.gbb file for the application server domain. You can leave the default value of the port as is.

    The completed configuration values for the application server will look similar to the following example:

    Application Server Credentials=T85704AA_41162|SERVER01:7988
  7. Enter q to return to the PeopleSoft Domain Administration menu and load any configuration changes.

  8. Boot the Process Scheduler domain.

Note: If you have multiple Process Scheduler domains on the same machine, then this configuration needs to be completed on each of the Process Scheduler domains.

Configuring the Application Server Domain for Inter-Domain Events

Note: When your environment consists of multiple application server domains, you can configure any one of the application server domains for inter-domain events.

To configure inter-domain events for the application server domain:

  1. Run psadmin.exe.

  2. Select the Process Scheduler domain.

  3. Select Configure this domain.

  4. Enter the 15 the Custom configuration option.

  5. Press the Enter key for Do you want to change any values (y/n/q)? [n], and continue to press the Enter key until the Values for config section – Inter-Domain Events appear.

  6. Review and modify as needed the values in inter-domain events:

    Process Scheduler Credentials=PRCS1|localhost:8988
    Application Server Port=7988
    

    Field or Control

    Definition

    Process Scheduler Credentials

    Specify the credentials for each Process Scheduler domain from which notifications will be received in the format:

    Process Scheduler Credentials=ACCESS_POINT_ID|HOST_NAME:PS_port
    • ACCESS_POINT_ID: Open the PS_CFG_HOME\appserv\prcs\DOMAIN_ID\interdom.gbb file for the Process Scheduler domain. Locate the section in the file that is similar to the following::

      *DM_LOCAL
      "PRCS" GWGRP=GWTGROUP1 ACCESSPOINTID="PRCS_SERVER01_PSNT1234"

      Note: The ACCESSPOINTID must be 30 bytes or fewer in length—that is, it must be 30 characters or fewer (including the trailing Null character).

    • HOST_NAME: The host name of the machine that is running Process Scheduler domain.

    • PS_port: The port number provided in the interdom.gbb file for the Process Scheduler domain. Each Process Scheduler domain must have a unique port number.

    The completed configuration values for the Process Scheduler domain will look similar to the following example:

    Process Scheduler Credentials=PRCS_SERVER01_PSNT1234|SERVER01:8988

    Note: If there are multiple Process Scheduler domains from which you want to receive push notifications, then provide the configuration for each domain separated by a comma. For example:Process Scheduler Credentials=PRCS_SERVER01_PSNT1234|SERVER01:8988,PRCS_SERVER01_PSNT5678|SERVER01:8999

    Application Server Port

    You can retain the port number as is.

  7. Enter q to return to the PeopleSoft Domain Administration menu, and load any configuration changes.

  8. Boot the application server domain.

  9. View the TUXLOG files to verify that the inter-domain configuration is valid and that the domains are connected to each other:

    • PS_CFG_HOME\appserv\DOMAIN_ID\LOGS\TUXLOG.TODAY

    • PS_CFG_HOME\appserv\prcs\DOMAIN_ID\LOGS\TUXLOG.TODAY

  10. Search for GWTDOMAIN nearest the end of the log file and evaluate the log entry to determine the status of the connection:

    • Success:

      225241.EDVMR1P0!GWTDOMAIN.19188.12196.0: LIBGWT_CAT:1128: INFO: Connection accepted from domain (domainid=<PRCS_EDVMR1P0_PRCS1809>)
      
    • Failure:

      182236.EDVMR1P0!GWTDOMAIN.14416.23000.0: LIBGWT_CAT:1073: ERROR: Unable to obtain remote domain id (PRCS_EDVMR1P0_PRCS1809) information from shared memory
      182236.EDVMR1P0!GWTDOMAIN.14416.23000.0: LIBGWT_CAT:1509: ERROR: Error occurred during security negotiation - closing connection

Use the Notification Settings page to enable or disable notifications for specific Process Scheduler status changes on a system-wide basis.

Image: Process Scheduler - Notification Settings page

This example illustrates the fields and controls on the Process Scheduler - Notification Settings page. You can find definitions for the fields and controls later on this page.

Process Scheduler - Notification Settings page

When a status option is enabled and inter-domain communication has been configured, the notifications for that status change are propagated from the Process Scheduler server through the application server to the following channels: Notification window, pop-up notifications, and email.

For pop-up notifications, in addition to system-wide settings, each user must enable pop-up notifications as well as specific status options in My Preferences. However, each user does not need to configure the Notification window to receive notifications from the Process Scheduler.

This topic discusses:

  • Setting system configuration options.

  • Managing business event notifications.

  • Enabling the two-panel action view.

Setting System Configuration Options

Use the System Configuration page to configure the Notification window for all users system wide.

Image: System Configuration page

This example illustrates the fields and controls on the System Configuration page. You can find definitions for the fields and controls later on this page.

System Configuration page

The table describes the names and definitions of fields in the System Configuration page.

Field or Control

Definition

Max Notification Items

Enter the default number of maximum notification to be displayed to the user.

Note: Users can personalize the Notification window by specifying a different maximum number. See Personalizing the Configuration of the Notification Window.

Notification Items to Load

Enter the number of records that get loaded to the system when the notification window is loaded. The default value for this option is 100. This configuration can be used to tune the performance of the Notification window.

From Date, To date

Set the period to archive or purge data.

Category Name

Select a notification category for archiving or purging.

Note: If no category is selected, notifications from all categories will be archived or purged.

Archive

Click to archive the data based on the date range and selected categories. When notification items are archived, the data is copied into the archive table. Archiving the data at regular intervals improves the system performance because the number of notification items in the table gets reduced on archival.

Purge Data

Click to purge the data based on the date range and selected categories. You cannot retrieve purged data. Purging the data at regular intervals improves the system performance because the number of notification items in the table gets reduced on purging.

Managing Business Event Notifications

Use the Manage Notification page to enable or disable workflow event notifications selectively based on the business process, activity name, event name, and worklist name.

Image: Manage Notification page

This example illustrates the fields and controls on the Manage Notification page. You can find definitions for the fields and controls later on this page.

Manage Notification page

Field or Control

Definition

TriggerBusinessEvent

Select Yes to enable business event notifications.

Object Owner ID

Select an object owner ID to filter the results in the grid.

Enable

Select Enable to enable or disable the notification feature for that business process combination.

Notification Message Set/Message Number

For each combination of business process, activity, event, and worklist, specify the message set ID and number to form the notification message and notification category.

Enabling the Two-Panel Action View

Use the Action View page to enable the two-panel action view for all users system wide.

Important! Review the following important considerations before enabling the two-panel action view on your system.

Image: Action View page

This example illustrates the fields and controls on the Action View page.

Action View page

The two-panel action view uses the master/detail architecture. A user’s list of notifications (the master) is displayed in the left panel, while the actionable transaction (the detail) is displayed on the right. The action view master/detail component has both AJAX transfers and the slide-out left panel enabled.

Image: Action view master/detail component

The following diagram illustrates the relationship of the items in the action view master/detail architecture:

  • The action view master/detail component is the container.

  • The master list of notifications is displayed in the left panel.

  • If the notification target content includes an inner left panel, then the left panel collision handling that is set on the action view master/detail component enables the slide-out left panel.

  • The component for the notification target is displayed on the right.

Action view master/detail component

Any component and page that could be displayed as a detail transaction in the action view must conform to the general restrictions on being displayed within a master/detail component as described in Guidelines and Limitations for Master/Detail Components.

In addition to these general guidelines, evaluate each target component and page that could be displayed in the action view as the result of a notification:

  • If the target is a fluid activity guide, another master/detail component, or a fluid navigation collection, it cannot be displayed within the action view; however, it can be set to display in a new browser window. You must add the &ICDisplayNotify=N query string parameter to the notification when it’s published.

  • Pages in the target fluid component cannot include an “application header”—that is, any of the Custom Header group box types (Left, Right, Middle, or Bottom) must be hidden when displayed in the action view.

  • Since the action view master/detail component controls the title in the fluid banner, for each page defined within the target component, you should add a group box of type Page Title that is defined to be visible when the page is rendered within a master/detail component. This Page Title group box provides context that is lost when the page title is not displayed in the fluid banner. To hide this page title if the page is rendered outside of a master/detail component, use the psc_hideinmode-notmd style.

  • If the target content is a fluid component that employs the 8.54 two-panel construct (that is, it was built from the PeopleTools 8.54 PSL_TWOPANEL layout page or it was designed with an internal left panel similar to PSL_TWOPANEL), your implementation must ensure that the internal two-panel is initialized (using initializeTwoPanel) so that left panel collision handling can occur.

A cluster of PeopleSoft systems consists of:

  • A system designated as the portal (or hub).

  • One or more content provider systems.

As of PeopleTools 8.56, any PeopleSoft application can be designated the portal system for configuration of unified navigation. PeopleSoft Interaction Hub is no longer required.

To create a cluster configuration:

  1. Configure the integration gateway on each system.

  2. Configure the integration network on each system.

  3. Configure single signon (SSO) on each system.

See the steps outlined in The Configure Unified Navigation Center for information on how to create a cluster configuration.

Then, configure the cluster so that push notifications are propagated from the content providers to the designated portal system:

  1. Add the ps_theme custom property to the active web profile on each content provider system to point to the default local node and URL for the portal system. Use the following format to set the value of this property:

    DEFAULT_LOCAL_NODE:http://my_server.my_domain:port_no/psp/SITE_NAME/
    

    For example:

    PS_NODE:http://server01.example.com:8000/psp/MYSITE01/

    For more information on setting custom web profile properties, see Configuring Custom Properties,

  2. Configure routings for the PTPN_ASYNC_PUBLISH service operation on each system:

    • Outbound on each content provider.

    • Inbound on the portal system.

    For more information on configuring service operations, see Adding Routing Definitions.

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.

  • If you reboot the application server domain or Process Scheduler domain after a successful configuration, the domains may not connect to each other any longer. This happens because the ACCESSPOINTID, which you had entered for the inter-domain configuration changes during a reboot. In this case, review the configuration for the domains and provide the correct ACCESSPOINTID.

Testing Push Notifications Published from the Application Server Domain

To test the push notifications published from an application server domain:

  1. Select PeopleTools > Portal > Inter Window Communication.

  2. Search and select Portal Object Name: PTSVRTESTEVENTS_GBL.

  3. In the Content Reference Message Events grid, click the Map icon for SERVEREVENTTESTA.

  4. 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.

  5. Using two different browser sessions navigate to PeopleTools > Utilities > Debug > Server Side Events Test Page.

  6. Enter test values in the Event Data field and click Publish on one browser session.

  7. On the other browser session, confirm that the values you just entered appear in the Event Targets fields.