How to Customize the Subject Line of Error Notification Emails

15-8 Infrastructure Components and Utilities Users Guide

15.3.2 How to Customize the Subject Line of Error Notification Emails

Objective Customize the subject line of error notification emails. 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. Actor Integration administrator To customize the subject line of error notification emails: 1. Access the AIAEHNotifications.xml file located in AIA_HOMEaia_ instancesINSTANCE_NAMEAIAMetaDataconfig. 2. To customize the subject line used in error notification emails to Actor roles, edit the values in the EMAILSUBJECT element. To customize the subject line used in error notification emails to FYI roles, edit the values in the FYI_ EMAILSUBJECT element. You can customize the subject line text to include multibyte characters for translation to other languages. The encoding used is UTF-8. Once customized, the file must be uploaded to Oracle Meta Data Services MDS. For more information about uploading content to MDS, see Updating MDS in Oracle Fusion Middleware Developers Guide for Oracle Application Integration Architecture Foundation Pack. 3. To customize the AIA fault message schema value being displayed in the subject line, edit the XPATH value to use a different token. The token notation should use this format: XPATH.{ACTUAL_XPATH_VALUE}. Error notification functionality will parse this file and replace the tokens with dynamic content. Enter as many or as few tokens as needed. Example 15–6 is an example of how to customize the subject line of error notification emails. Example 15–6 Customizing the Subject Line 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 AIAXPATH. {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 Using Error Notifications 15-9 BODYAn error has occurred during the processing of AIA Integration Error in AIAXPATH. {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 instancedetails 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 ============================================================== Please access the task in the Worklist Application : ============================================================== 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 subject line 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.3 How to Customize the Body Text of Error Notification Emails