Configuring Messages for Approvals Data Services

After you have identified and prepared all the approval notification content that you want to display in the Approvals app, use the approvals data services configuration tool to configure the message metadata for use with the approvals data services. For each message, follow this configuration process:

  1. Search for the message.

  2. Configure header attributes based on workflow message attributes and response actions.

  3. Configure regions for header attributes based on data from underlying application tables, for body details, and for action history.

  4. Review and verify the message configuration.

Note: The configuration that you perform in the approvals data services configuration tool does not affect the appearance of the workflow notifications in the Worklist pages or in e-mail. However, if you made changes in your workflow definitions, Oracle Application Framework view objects, or PL/SQL procedures to prepare the approval notification content, then those changes can affect the appearance of the workflow notifications in the Worklist pages and in e-mail.

arrow icon   Customization Levels:

You can use the configuration tool to define your custom message configurations and to modify message configurations seeded by Oracle E-Business Suite that are defined to allow customizations. Most components of a message configuration are assigned a customization level that determines whether you can update the component's definition. Oracle Workflow uses the customization levels to protect Oracle E-Business Suite seed data and to preserve your custom configurations and customizations in an upgrade.

Components in a message configuration can have one of the following customization levels:

The following components of a message configuration have customization levels assigned to them:

In seeded message configurations, for regions, the views that belong to those regions, and the view attributes that belong to those views, the customization level of the higher-level component determines the possible customization levels for the lower-level components. That is, a region's customization level determines the possible customization levels for its views:

Similarly, a view's customization level determines the possible customization levels for its attributes:

When you view a seeded message configuration, the configuration tool displays some fields as read-only fields and hides some options according to the customization levels of the components.

In custom message configurations that you define, all components are always assigned a customization level of User.

Note: You can add a custom region in the configuration for any message, including seeded configurations. For example, you can add a custom details region to a seeded message to show content from a custom view object. You can also hide a seeded details region that has a customization level of Limit and replace it with a custom details region.

arrow icon   To manage message configurations:

  1. Navigate to the Worklist Data Services Configuration - Search page from the Oracle E-Business Suite Navigator by choosing either Workflow Administrator Web Applications: Approvals Data Services Manager > Configuration or a custom responsibility and menu path specified by your system administrator.

  2. Search for the messages you want to configure by selecting the workflow item type that contains those messages. You can enter the internal name for the item type directly, or select the workflow item type display name, in which case the internal name is populated automatically. You can also specify the following optional search criteria:

  3. To configure a message for use with approvals data services, or to review and update an existing configuration, choose the configuration icon for that message. Perform the following tasks to configure a message:

  4. To test an existing configuration for a message using a notification ID, choose the test icon for that message. See: To review and verify a message configuration.

  5. To delete a message configuration that you no longer require, choose the delete icon for that message.

    Note: Do not delete message configurations seeded by Oracle E-Business Suite.

arrow icon   To configure headers and response actions for a message:

  1. Navigate to the Headers page by choosing the configuration icon for a message from the Worklist Data Services Configuration - Search page. The page shows the display name and internal name for the item type to which the message belongs, as well as the display name and internal name for the message. The page also displays the message body definition as specified in Oracle Workflow Builder.

  2. Review the list of message attributes as defined for the message in Oracle Workflow Builder. Any header attributes whose internal names begin with #HDR_ are automatically marked to be included as headers in the first-level details screen in the Approvals app. Additionally, if you defined the special message function WF_NOTIFICATION(ATTRS,...) to include a table of message attributes in the message, then those attributes are automatically marked to be included as headers in the app as well. You can optionally select the Render option for any additional message attributes with a customization level of Limit or User that you want to display as headers in the app.

    Note: You cannot change the Render option setting for message attributes with a customization level of Core.

    Note: You can also display data from application tables as headers in the app. However, you perform the configuration for such data in the Regions page rather than in this page.

  3. Select the result attributes for the message that you want to map to the Approve and Reject response actions in the app. You can optionally update the labels that will appear for these actions in the app.

    Note: You can only choose two results to use as response actions within the app. To respond with other results, users must access messages through the Worklist web pages or through e-mail.

  4. Choose Next to navigate to the Regions page.

arrow icon   To configure regions for a message:

  1. To begin defining a new region in the Regions page, choose the Add a Region icon.

    For existing regions, the customization level determines what updates you can make.

  2. Enter a title for the region. In the app, the approver can tap the region title for body and action history regions to drill down to the associated details.

  3. Enter optional instruction text to provide more guidance to the approver.

  4. The configuration tool automatically generates a unique key to identify the region. You can optionally update the key.

  5. Enter a sequence number to specify the position in which the region appears relative to other regions of the same type.

    Note: Each region type has a separate sequence. For instance, you can define a sequence number of 1 for a header region, sequence numbers of 1, 2, and 3 for details regions, and a sequence number of 1 for a history region.

  6. Select the region type:

  7. Select the Root check box if this region should appear in a second-level details screen in the app. Deselect this check box if this region should appear in a third-level details screen in the app. A region that is not a root region must be associated with a view in a parent region that is a root region, from which the approver can drill down to the third-level details screen for the non-root or child region.

  8. You can optionally define a rule to control whether this region appears in the app based on a runtime condition. To do so, select the rule icon for the region.

  9. In the Customized Regions list, select the status for the region, either Enabled or Disabled. Only enabled regions appear in the Approvals app.

  10. To define the views for the region that retrieve data from the underlying application tables, select the details icon for the region.

    You can define new views only for regions with a customization level of User.

    For existing views, the customization level for the view determines what updates you can make.

  11. For a child or non-root region, select the root region that is the parent of this child region. Then select the view within the parent region from which approvers should drill down to this child region.

    Note: Each view in a parent region can allow drilldown only to one child region. Consequently, if you define multiple child regions for the same parent region, the list of values in the Parent Region View field includes only those views that are not already assigned to another child region.

  12. To begin defining a new view, choose the Add a View icon in the Views page. Then enter information for the view as follows:

  13. To configure the input parameters to be passed to the initialization method, select the Configure Parameters icon for the view.

  14. In the Views list, select the status for the view, either Enabled or Disabled. Only enabled views appear in the Approvals app.

  15. Next, expand the details for the view to configure the attributes for the view. The list displays all the attributes associated with the view object.

    The customization level for a view attribute determines what updates you can make.

  16. To specify the order in which the views appear in the details screen in the app, select the Reorder Views button. Use the arrow buttons to move the views into the order you want.

  17. To delete a view that you no longer require, select the delete icon. You can only delete views with a customization level of User.

  18. After you finish defining views, choose Return to navigate back to the Regions page.

  19. To delete a region that you no longer require, select the region and select the Delete button. You can only delete regions with a customization level of User.

  20. After you finish defining regions, choose Next to navigate to the Review page.

arrow icon   To review and verify a message configuration:

  1. In the Review page, review the message configuration you defined. You can return to previous pages to update any details you want to change. When you are satisfied with the message configuration, choose Submit to save it.

  2. After you save a message configuration, the confirmation dialog lets you choose whether to verify the configuration. Choose Yes to proceed to the Verify page.

  3. The Verify page shows the display name and internal name for the item type to which the message belongs, as well as the display name and internal name for the message. The list of values for the Notification Subject field includes the subject lines of any existing open notifications in your Oracle E-Business Suite instance that were sent using this message. Select the notification you want to use to verify the message configuration. The Verify page displays the notification ID and recipient for the selected notification. Choose Go to display the test output.

  4. The Output region displays the approval notification content that the approvals data services return for that notification using the message configuration you defined. This output is the same content that is returned to the Approvals app. Review the XML content, and verify that it matches your expectations. You can update the message configuration to adjust the output if necessary.

    Note: The HTML View is reserved for future use.