How to Customize Additional URLs Provided in Error Notification Email Body Text

Using Error Notifications 15-11 ============================================================== http:managedHost:managedPortintegrationworklistappfaceshome.jspx ============================================================== EXT_URL AIAEHNotification For more information about the AIA fault message schema, see Configuring Oracle AIA Processes for Error Handling and Trace Logging in Oracle Fusion Middleware Developers Guide for Oracle Application Integration Architecture Foundation Pack. 4. If you have implemented fault message schema extensions, you can customize the body text to use these schema values as well. For more information about extending the fault schema, see Configuring Oracle AIA Processes for Error Handling and Trace Logging in Oracle Fusion Middleware Developers Guide for Oracle Application Integration Architecture Foundation Pack. 5. Reload updates to the AIAEHNotifications.xml file. For more information about reloading updates to AIAEHNotifications.xml, see Building AIA Integration Flows in Oracle Fusion Middleware Developers Guide for Oracle Application Integration Architecture Foundation Pack.

15.3.4 How to Customize Additional URLs Provided in Error Notification Email Body Text

Objective Customize additional URLs provided in error notification email body text. Prerequisites ■ Ensure that error notification functionality is enabled. By default, error notifications are enabled. To verify that this functionality is enabled, access AIAConfigurationProperties.xml located in AIA_HOMEaia_ instancesINSTANCE_NAMEAIAMetaDataconfig. Ensure that the EH.INVOKE.NOTIFY property value is set to true. ■ As delivered, error notification email body text includes a link to the Oracle BPM Worklist. To enable users to access AIA-related error tasks in the Oracle BPM Worklist, ensure that Oracle BPM Worklist functionality is enabled. For more information about enabling Oracle BPM Worklist to work with AIA error handling, see Section 16.2, How to Enable the Oracle BPM Worklist. Actor Integration administrator To customize application links in body text of error notification emails: 1. Access the AIAEHNotifications.xml file located in AIA_HOMEaia_ instancesINSTANCE_NAMEAIAMetaDataconfig. 2. To customize the URLs provided in the error notification email body text, edit the values in the URL and EXT_URL elements. 3. As delivered, the URL element provides a link to flow trace details for the composite instance in the Oracle Enterprise Manager Console for your AIA 15-12 Infrastructure Components and Utilities Users Guide implementation. The flow trace provides details about all of the services, references, and components across composites that are participating in the flow. For more information about viewing flow trace details in Oracle Enterprise Manager, see Viewing the Audit Trail and Process Flow of a BPEL Process Service Component in Oracle Fusion Middleware Administrators Guide for Oracle SOA Suite and Oracle Business Process Management Suite. Figure 15–4 shows a sample error notification email text, which provides a link to flow trace details in the Oracle Enterprise Manager console. Figure 15–4 Sample Error Notification Email Text Providing a Link to Flow Trace Details in the Oracle Enterprise Manager Console Figure 15–5 is an example of fault details being displayed on the Oracle Enterprise Console Flow Trace page. Figure 15–5 Fault Details on the Enterprise Manager Console Flow Trace Page We deliver the following parameters that enable this drill-down into the Oracle Enterprise Manager Console: ■ PROPS.{compositeName} Using Error Notifications 15-13 ■ PROPS.{compositeRevision} ■ PROPS.{compositeDN} ■ PROPS.{compositeInstanceID} For system errors configured in fault policy files, these parameters will be automatically derived to build the URL for inclusion in the error notification email. Specifically, by default, remote and binding faults are configured in the fault policy file. For business errors, you must configure impacted processes to populate the fault message with the execution context ID ECID. Error notification functionality will derive these parameters to build the URL based on this ECID value. For more information about programming guidelines to populate fault messages with ECID value, see Configuring Oracle AIA Processes for Error Handling and Trace Logging in Oracle Fusion Middleware Developers Guide for Oracle Application Integration Architecture Foundation Pack. 4. As delivered, the EXT_URL element provides a link to the Oracle BPM Worklist, as shown in Example 15–8 . If you are not using Oracle BPM Worklist as a part of your AIA implementation and do not want error notification emails to include this link to Oracle BPM Worklist, access AIAConfigurationProperties.xml located in AIA_HOMEaia_ instancesINSTANCE_NAMEAIAMetaDataconfig and set the EH.INVOKE.HWF property to false. This setting will remove any content expressed in the EXT_URL element, including the Oracle BPM Worklist default link, from error notification emails. Example 15–8 Customizing Application Links in Body Text of Error Notification Emails ?xml version=1.0 encoding=UTF-8? AIAEHNotification xmlns=http:schemas.oracle.comaianotify version=1.0 EMAIL SUBJECTError in AIA XPATH.{default:Faultdefault:FaultNotificationdefault: FaultingServicedefault:ID} ProcessSUBJECT BODYAn error has occurred during the processing of AIA Integration Error in AIA XPATH. {default:Faultdefault:FaultNotificationdefault:FaultingServicedefault:ID} Process requires your attention. Please access the details from the url mentioned below.BODY EMAIL FYI_EMAIL SUBJECTError in AIA XPATH.{default:Faultdefault:FaultNotificationdefault: FaultingServicedefault:ID}Process FYISUBJECT BODYAn error has occurred during the processing of AIAIntegration Error in AIA XPATH. {default:Faultdefault:FaultNotificationdefault:FaultingServicedefault:ID} Process requires your attention. Please access the details from the url mentioned below.BODY FYI_EMAIL URL ================================================================================== Please click on the following URL To view the instance details in the em console : ================================================================================== http:adminHost:adminPortemfacesaisoamessageFlow?target=Farm_ domainNamedomainNametargetServerPROPS.{compositeName}+[PROPS. {composite Revision}]26type=oracle_soa_composite26soaContext=PROPS. {compositeDN}PROPS.{compositeInstanceID} ================================================================================== URL EXT_URL 15-14 Infrastructure Components and Utilities Users Guide ============================================================== Please access the task in the Worklist Application : ============================================================== http:managedHost:managedPortintegrationworklistappfaceshome.jspx ============================================================== EXT_URL AIAEHNotification 5. Reload updates to the AIAEHNotifications.xml file. For more information about reloading updates to AIAEHNotifications.xml, see Building AIA Integration Flows in Oracle Fusion Middleware Developers Guide for Oracle Application Integration Architecture Foundation Pack.

15.4 Disabling Error Notifications