Each business protocol may involve a sequence of one or more business document flows that can be related or associated to each other. For example, in cXML a given request document may have multiple asynchronous responses. Business Integration Connect provides the capability to view associated documents. The document viewer for Business Integration Connect displays all the business documents that flow through the system. If a particular document has associated documents, they are displayed in the associated document section of the document viewer. A document can have one or more associated documents.
If the business protocol has the concept of associated documents, you can use user exits to provide information to Business Integration Connect so that for a given business document, the Business Integration Connect document viewer can display associated documents in the associated document section. The user exits need to have their own mechanism to determine whether the business document which they are currently processing is associated with any other business document flow. If it is, then a user exit can set one of the following attributes on the business document:
These attributes can be set in handlers of the workflow steps or in the steps of the actions. After executing the flow for this business document, Business Integration Connect will see whether any of these attributes are set. If they are, Business Integration Connect updates Business Integration Connect activity logs so that the document viewer can display the association correctly, as shown in the following figure: