Skip to Main Content
Return to Navigation

Setting Up and Maintaining Message Errors

This section discusses how to:

Warning! Effective with the PeopleTools 8.48 release, the Integration Broker Service Operations Monitor supersedes the Error Handling utility.

Creating Error-Correction Pages

Use PeopleSoft Application Designer to create error-correction pages and components.

Note: The Header Details page and the Error Details page are applicable only if data resides in the messaging queues. Use one Header Details page and one Error Details page for each field.

When creating error-correction pages, follow these guidelines:

  • Use EO_EIP_CTL as the main header table if you use staging tables.

    Developers can use unique EIP_CTL_ID generator functions (Generate_EIP_CTL_ID and Increment_EIP_CTL_ID) available in the FUNCLIB_EOEIP.EIP_CTL_ID FieldFormula event.

  • Use the generate EIP_CTL_ID function to generate a unique key value for EIP_CTL_ID, based on the subscription process instance.

    The EIP_CTL_ID function is the sole key in the EO_EIP_CTL header table.

  • Hook to EO_EIP_CTL to use the Error Handling utility for staging-table-based error handling.

    See Data Maintenance Page.

  • Modify the record PeopleCode in the derived work record EO_EIP_CTL_WRK.

    The derived work record called EO_EIP_CTL_WRK contains most of the processing logic for the utility. Although most of the codes are generic, you must write application-specific codes for the return button field (EIP_RETURN_BTN).

  • Add codes to return the user to the main Error Handling page.

    Use the EO_EIP_CTL_WRK derived record in your component and write component PeopleCode for the record to handle any unique requirements.

    Note: This unique code belongs only to your component and cannot be shared.

FUNCLIB_XXEIP Codes

Functions are created and stored in product-specific FUNCLIB_XXEIP records, with XX representing the product. Application developers can look up these function libraries for possible use as templates.

Common integration-related functions are placed in the FUNCLIB_EOEIP record.

EIP_DETAIL_BTN FieldFormula

Function Copy_Detail_Errors (&WRK_FIELD, &J, &WRK_ROWSET) copies edit errors to a generic error subpage.

Function BuildQueueRowset (&WRK_ROWSET1 As Rowset, &WRK_ROWSET2 As Rowset, &MSG_ROWSET As Rowset, &SCROLL, &RECORD_FROM, &RECORD_TO) generically builds the queue-based transfer page. This function is useful for single record messages.

FUNCLIB_EOEIP.EIP_CTL_ID FieldFormula

You need an EIP_CTL_ID every time that you process a message to maintain error handling. Use Function Generate_EIP_CTL_ID and Increment_EIP_CTL_ID to create EIP_CTL_IDs based on a new subscription process instance. For the Generate_EIP_CTL_ID function, invoke method 4 from the list of process instances.

Note: Although in some cases a random number generator is used for creating a new EIP_CTL_ID by calling Generate_EIP_CTL_ID(1), you should use the subscription process instance if possible. Generate_EIP_CTL_ID(4) uses the identifier number of the message subscription process. Remember to activate this on the message subscription properties by selecting the Generate Subscription Process Instance check box.

Warning! The Generate_EIP_CTL_ID and Increment_EIP_CTL_ID functions call other functions in FUNCLIB_ININTFC (an FDM record). You must re-create these additional functions whenever you use Generate_EIP_CTL_ID and Increment_EIP_CTL_ID within applications.

Data Maintenance Page

Use the Data Maintenance page (EO_EIP_CTL_SETUP1) to set up the Error Handling utility and correct message errors.

Image: Data Maintenance page

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

Data Maintenance page

Use this page to set up the Error Handling utility and correct message errors.

Workflow/Security Page

Use the Workflow/Security page (EO_EIP_CTL_SETUP2) to set up row security.

Image: Workflow/Security page

This example illustrates the fields and controls on the Workflow/Security page. You can find definitions for the fields and controls later on this page.

Workflow/Security page

Use this page to set up row security.

Setting Up Workflow Notification in PeopleSoft Application Designer

You can set up an EO_WF_ERR Application Engine process to scan the EO_EIP_CTL table periodically to look for rows with ERROR status. When the system finds errors, it generates workflow notifications and routes them to the role users that you designated in the User ID field on the Data Maint Setup1 page. Clicking the worklist item in the workflow notification transfers the user to the Error Handling/Data Maint (error handling/data maintenance) page.

To set up workflow notification:

  1. Open an instance of PeopleSoft Application Designer.

  2. Select File, Open.

  3. Select Business Process from the Definition drop-down menu.

  4. Open business process EC_MANAGE_ERRORS.

  5. Right-click the MANAGE ERRORS icon and select View Definition.

  6. Double-click the Correct Errors icon to open the Step Definition dialog box.

  7. Click the Attributes button to open the Step Attributes dialog box.

  8. Complete the required navigation information to the error correction page in the Step Attributes dialog box and click OK.

Data Maintenance Page

Use the Data Maintenance page (EO_EIP_CTL_MAINT) to test the error handling utility.

Test subscription processes must error out. Create a message subcontract with Error status, or create a stage-based incoming transaction with a status value of 1 (Error).

Image: Data Maintenance page

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

Data Maintenance page

Use this page to test the error handling utility.

Test subscription processes must error out. Create a message subcontract with Error status, or create a stage-based incoming transaction with a status value of 1 (Error).

Note: Error conditions depend on processes that are specific to the application.

The Review Centralized Error page features the following page elements: