| Fusion Message Content Guidelines |
Version 2.0.0.0 |
| Contents | |
| Fusion Applications Message Types | |
For information on the visual treatment and interaction of messages supported by the Application Developer Framework (ADF) components and Rich Client User Experience (RCUX) specifications, see the Fusion Message Pattern Set. There are no design patterns for product-specific messaging or for back-end messages. Fusion Applications supports these five message types:·
The following examples illustrate the five message types: Error Messages
Figure 1: Page-level Error Message The error message type tells users about incorrect data or formats when they complete a field, save a page, or perform actions that trigger validation. Error messages tell users how to correct the situation so that they can continue with their task. Error messages also tell users about any serious problem with the application or process that they cannot recover from without help desk intervention. Message authors use different combinations of message components to deliver the right information. This combination depends on the nature of the error and whether end users can resolve the error on their own (the User components) or require help desk intervention (the Admin components). In many cases, error messages are easily actionable by end users themselves. The message author writes such a message using the Message Text component. Most messages will fall into this category. For example:
In other cases, additional, more detailed information, or the cause of the error is supplied as well as the action that end users or the help desk must take. In these cases, more components are used:
See the section on Message Components for more information. Examples
Warning Messages
Figure 2: Page-level Warning Message with Confirmation The warning message type tells users about a data validation or application situation that requires their acknowledgement or decision before they can continue. The warning message describes the reason for the warning and any potential consequence of proceeding. Warnings are especially important for any situation that could be potentially destructive orirrecoverable, resulting in a loss of productivity or data. A question may be posed with the warning, or the warning can take the form of a statement. The message author writes the question along with the warning text, shown in a dialog, and gives the users a choice of action buttons to respond with, coded by the applications development team. In Fusion 2.0, teams may compose their own questions and action button responses. For warnings, the components that can be used are:
See the section on Message Components for more information. Examples
Information Messages
Figure 3: Page-level Information Message The information message type tells users about changes in in the application, a page, or a business object. These messages are not triggered by the same users, and no immediate action from them is required in response. The message is entered in the Message Text component. Examples
Processing Messages
Figure 4: Page-level Indeterminate Processing Message The processing message type tells users that an action they requested or that the application had scheduled is currently in progress. The message is entered in the Message Text component. Examples
Confirmation Messages
Figure 5: Page-level Inline Confirmation Message The confirmation message type tells users that an action they performed, or requested, has completed. The message is entered in the Message Text component. Examples
|
|
| Message Names |
Every message must have a unique name within a product area. The name takes the format of <APPLICATIONSHORTNAME>_<LBA/SUB-LBA>_<MESSAGE DESCRIPTION >. Use the following guidelines:
Examples
|
| Message Components | |
|
The possible message components by message type are shown in the following table:
* If you specify a Message Cause component, then specify a Message User Action, a Message Admin Action, or both. Component Concepts
The message components entered as text by the message author are: Message TextThis component is a statement, generally a single sentence, of the error or warning that has occurred, or information that application users need to know in order to know what action to take or to understand what is happening. Message authors must always provide a Message Text for all message types. Message Text is always seen both by end users and the help desk. Most messages will use only the Message Text component. Examples
Message User DetailThis component is a more detailed explanation of Message Text, stating why the message occurred, or communicating additional information useful only to end users in understanding how to resolve the issue themselves. Message User Detail text may consist of more than one sentence. Examples
If specified, the Message User Detail text is seen both by end users and the help desk. Message Admin DetailThis component is a more detailed explanation of Message Text, stating why the message occurred, or communicating additional information useful only to the help desk in understanding how to resolve the issue so that end users can proceed. Message Admin Detail text may consist of more than one sentence. Examples
If specified, only the help desk sees the Message Admin Detail text. Message CauseThis component is a concise explanation of what caused an error or warning message. Message Cause provides the reason why the message is seen, for example a prerequisite that was not met by the user, incorrect data inputs made, an anticipated but incorrect action, and so on. It may consist of more than one sentence.
The Cause heading is prefixed automatically to the beginning of the Message Cause text at run time. Message authors do not enter the word Cause. Examples
Message Cause text is seen both by end users and the help desk. Message User ActionThis component states the response that end users must perform in order to be able to continue and complete their tasks in response to an error or warning message. Message User Action text may consist of more than one sentence.
The Action headingis prefixed automatically to the beginning of the Message User Action text. Message authors do not enter the word Action. Examples
If specified, only the help desk sees the Message Admin Action text. Message Admin ActionThis component states the response that the help desk and administrators perform in order for end users to be able to continue to complete their tasks in response to an error or warning message. Message Admin Action text may consist of more than one sentence.
The Action heading is prefixed automatically to the beginning of the Message Admin Action. Message authors do not enter the word Action. Examples
If specified, the Message Admin Action text is seen by the help desk only. Translator NotesTranslator notes are intended to help translators understand the run-time context of the message text, should a translator query arise. The Translator Notes component text is not seen by end users or the help desk. This contextual information is also veryuseful to internal application developers and reviewers of message content. Use Translator Notes text to help clarify how and whe n the message is shown, tokens, untranslatable words, or other points that might not be obvious anyone who must look at the message text and try and understand its use without the benefit of a run-time application. Examples
It is recommended that the following types of messages provide translator notes:
|
|||||||||||||||||||||||||||||||||||||||||||||||||||
| Declaring and Using Tokens | |
Message authors must write message text as concisely as possible. Tokens should and must be used in our applications, as they allow for efficient application development by replacing the tokens with variable information in the message text at run-time. This also facilitates re-use of the message text itself. Message authors must declare (enter) the tokens used in each message. All message components, with the exception of Translator Notes, support the use of one or more tokens. Use tokens when your message needs to include variable information for:
Message authors and application developers decide if the token is used to replace at run time a varying date, number, or text for a server name, file name, program name, system username, environment variable, field label, and so on. This saves the need to write a different message to accommodate every possible variant of the date, number, or text. Enter the token name between curly brackets {} in the APM messages collaborative worksheet or MRT, following the token naming convention:
Examples
Because of the varying grammatical rules of different languages, message authors must take care when constructing any message with a token. Different gender, possessive, and singular and plural rules for languages mean that unless care is taken, it is impossible to translate the English message and token replacement text so that the complete message makes sense at run time. Text tokens that work in English can be very problematic when used as text in other languages. For example, take an error message with the token {OBJECT_TYPE} representing different nouns and the token {PERFORM_ACTION} representing a verb. Follow these rules when using tokens:
Examples
Decision Table About How to Use Tokens
|
| Message Numbers and Incident Numbers |
The number takes the format of Application Shortname+Number and is placed within parentheses after the Message Text component text for error and warning message types messages. For example: Descriptive flexfields do not support unit of measure-enabled segments. Support teams use these numbers to look up reference information in knowledge bases. The number remains the same in translated versions of the message, so international support analysts can search for solutions in English, too. An incident number is automatically generated every time an incident is raised for a particular message. Every time the message is raised an incident number is generated. This number is not entered by the message author, but created when an incident is raised. |
| Supportability: Incident Processing and Diagnostic Logging | |
Incidents and diagnostic logging are described for application developers in the Oracle Fusion Applications Developer's Guide section on Supportability: Logging and Diagnostics in a Development Environment. The information in this guideline is intended for use during the design phase using the APM collaborative messages workbook and MRT. IncidentsAn incident must be created when users experience an error that they cannot resolve without help desk intervention. Incident creation relies on the application and platform technology diagnostics to automatically collect the necessary information associated with the incident and to inform the help desk (figure 6).
Figure 6: Help Desk Management View of Incidents and Diangostic Log Creation Based on the incident information and associated diagnostics, the help desk can then diagnose the issue. When the help desk cannot solve the root cause of the incident directly, it can be sent to Oracle Support, forming a service request. Note: In Fusion applications, use the term incident, not alert, when referring to the informing the help desk about issues with applications. From a message authoring perspective, incidents require no special considerations once the content guidelines for components and for phrasing are followed. However, product managers must also set the loggable_alertable flag, message type, severity and category attributes in the APM collaborative messages workbook or MRT, and coordinate with the application developer and supportability point of contacts (POCs) to ensure that the application code creates the incident as required, either implicitly or explicitly. Incidents can be created implicitly or explicitly:
In both cases, an authored FND message type of Error, Warning, or Information is needed. Set the message attributes as follows for each type of incident. For an implicit incident:
For an explicit incident:
Diagnostic Logging Diagnostic logging occurs when a message is delivered in a formatted ODL diagnostic log file (figure 7). The Fusion Applications administrator, who can determine the logging level or module using profile options, controls diagnostic logging. These diagnostic logs enable the help desk to diagnose and debug any Fusion application failures.
Figure 7: Test Diagnostic Log Showing Incident, Error, Warning, and Information Messages As with incidents, the messages are authored according to guidelines. Product managers again must also set the loggable_alertable flag, message type, severity and category attributes in the APM collaborative messages workbook or MRT, and coordinate with the application developer and supportability POCs to ensure that the application code creates the diagnostic log as required, either implicitly or explicitly. Logs can be created implicitly or explicitly:
In both cases, an authored FND message type of Error, Warning, or Information is needed if the logging coding level is set to SEVERE, WARNING or INFO (other levels do not use FND_MESSAGE content and are not translatable.) Set the message attributes as follows for each type of log created: For implicit logging:
For explicit logging:
The following section provides information on the message severity and message category attributes, needed for incident-related and diagnostic log messages. Severity Message authors select one of the following values:
Category An administrative category must also be set. Message authors select one of the following values:
Examples
When the Help Desk Is Notified Implicit Incidents When an implicit incident message is triggered for an error level failure, in addition to the Message Text specified, the end user sees the following text, automatically generated and appended to the formatted message in each case: If an implicit incident is created in the middle tier (if Java, BPEL or C):
If an implicit incident is created in the database tier (if PL/SQL):
Message authors do not need to add this text. Explicit Incidents When an explicit incident message is triggered for an error level failure the developer must append the following notification to the original message:
Alternatively you may consider adding this text as part of the original message. Application development teams are responsible for the raising of the relevant token values. References to Help Desk When something goes wrong, do not explicitly tell users to contact a system administrator, or that a system administrator was informed. Instead, use the incident creation framework to do that for them (figure 8).
Figure 8: Application Error Message with Incident Text Use the term help desk instead of support representative, service desk, Oracle Support, Global IT, and so on. Although rare, if a message makes reference to a functional user being contacted as a way of resolving a problem (for example, a benefits administrator), then make sure that the role applies to your product and that it is a role that can take corrective action. Roles are written in lower case. See the Use the Supportability Framework and Phrases section of this guideline for more information. |
| General Message Content Principles | |
Use the following principles and content guidelines in when designing messages using the Applications Process Model (APM) collaborative messages workbook or the MRT. Remember to:
|
| Guidelines for Writing Messages | |
Follow these specific guidelines when writing messages:
1. Keep Within the Allowed Lengths for Each Message Component The development process enforces the following length restrictions, so keep these lengths in mind when composing and reviewing text:
2. Write a Complete Sentence with Approved Words
Examples
3. Write for the Intended Audience Message authors determine whether a message is intended for end users or the help desk. Remember the differences in the nature of the message content that these two different audiences need:
Examples
4. Use User Interface References When Necessary
Examples
5. Use the Active Voice When Appropriate When appropriate , use the active voice. If the message refers to a specific person (such as the end user) having to act, then the message should actively refer to that person. When writing about system or application-performed actions, however, use the passive voice (for example, "Profile was updated."). You do not need to use the word application (or equivalent) to avoid using the passive voice if it is clear that the application (or relevant part of the technology stack) is acting or has acted. Note: In the case of back-end messages that report on application or system activity and so on, or if it's clear the application is acting in response to a user action, it is acceptable to use passive voice as the user is not acting. Examples
6. Avoid Unapproved Symbols, Abbreviations and Acronyms, or other "Shortcuts"
Examples
7. Reserve "You Must" for Mandatory Actions/Required Fields
Examples
|
8. Use the Supportability Framework and Phrases
|
|
The Fusion Message Pattern Set specifies the designs and interactions for messages rendered using the Rich Client User Experience (RCUX) visual specifications and Application Development Framework (ADF) component and validation framework. The patterns do not provide designs for product-specific and back-end messages. Back-end messages are defined as messages that are designed and developed by teams for specific product use cases and business rules. This covers messages created by PL/SQL or C programs, Fusion Applications supportability-related diagnostic logging, messages that are triggered by the application's integration with other systems, services or third-party software, or other messages that appear as text-based log output (figure 9) instead of on the page or in a dialog. There may be other types of back-end messages; the examples in this document are for guidance only. Back-end messages generally are not shown to casual, analyst or executive roles, but are shown to more functional, administrative, or implementation type of roles or to the help desk, though there may be exceptions. For back-end messages, work closely with your application developers and support teams to understand how and when they are created, recording the details in the APM collaborative messages workbook and MRT. In general, consider the following points when designing back-end messages:
|
|
| Related Information | |