(Is) Configuring A BPM Scenario Using Fork and Correlation
This document describes a BPM scenario in XI that uses fork and correlation to merge two input files into a single output file. The key steps are:
1. Create data types, message types, and interfaces for the input and output files. Abstract interfaces are also created for use in the BPM.
2. Design an integration process with two receive steps in a fork to handle the two input files, a transformation step, and a send step.
3. Define a correlation to identify common fields between the input files.
4. Configure a configuration scenario, business service, communication channels, agreements, and determinations to connect the asynchronous applications.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
21 views26 pages
(Is) Configuring A BPM Scenario Using Fork and Correlation
This document describes a BPM scenario in XI that uses fork and correlation to merge two input files into a single output file. The key steps are:
1. Create data types, message types, and interfaces for the input and output files. Abstract interfaces are also created for use in the BPM.
2. Design an integration process with two receive steps in a fork to handle the two input files, a transformation step, and a send step.
3. Define a correlation to identify common fields between the input files.
4. Configure a configuration scenario, business service, communication channels, agreements, and determinations to connect the asynchronous applications.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 26
XI - BPM Scenario using Fork and correlation
By M.Leela Ratnam, Satyam Computer Services
INTRODUCTION We will design and configure a BPM scenario-using Fork, i.e. we will send messages to XI and XI will in turn merge the two messages to a single message. In our scenario both sender and receiver are Asynchronous applications. BPM was required for merging of two files. By this scenario you will know how to use Fork and correlation in BPM. Process Flow of the scenario is given below. We will send two files as input. These two files get merged into a single output. In the below diagram, File 1 and File2 are separate files. These two files got merged into a single file.
INTEGRATION REPOSITORY Create the software component in SLD and import the software component in the Integration Repository. Create the new namespace. DATA TYPES Create data type for File1.
Create data type for File2.
Create the output data type.
MESSAGE TYPES Create the message types for the corresponding data types you have created above. Create Message Type for File1.
Create Message Type for File2.
Create the Message type for Output.
MESSAGE INTERFACES Create outbound Asynchronous interface for File1.
Create outbound Asynchronous interface for File2
Click here to continue...
XI - BPM Scenario using Fork and correlation ...Previous Create the Inbound Asynchronous interface for the output file.
As we are using BPM, we need to create the abstract interfaces for the messages which we will use in BPM. It is so because Integration Process will not understand outbound/inbound interfaces. It will only understand Abstract Interfaces. The Abstract Interface is nothing but any other interface but it does not have any direction. Create the abstract interface for the File1.
Create the abstract interface for File2.
Create the abstract interface for the output file.
MESSAGE MAPPINGS Create N: 1 message mapping as the source is having 2 messages and the target is having 1 message.
The signature tab should be like below screenshot. (in 7.0, it is Message tab)
INTERFACE MAPPINGS Interface mapping is created based on the outbound asynchronous abstract interfaces and inbound asynchronous abstract interface.
INTEGRATION PROCESS Create the integration process as below. GRAPHICAL WORK FLOW DIAGRAM
Click here to continue...
XI - BPM Scenario using Fork and correlation ...Previous CONTAINER ELEMENTS The container elements are the variables used in BPM. We cannot use directly the abstract interfaces. So we need container elements.
Properties: The Receive step is used to receive messages. Here we are having two input messages, so we need to have two receive steps. We will two receive steps in Fork. You use a fork ) when you want to continue a process in branches that are independent of each other, for example, to communicate with two systems that are independent of each other. The branches of the fork join in a union operator. You can specify the required number of branches and then define whether the process must run through all branches, or just a particular number of branches. Furthermore, you can define an end condition for the fork. CORRELATION A correlation enables you to identify objects that belong together, for example, a quotation and the relevant sales order. This involves correlating the objects by using one or more common elements, for example, the quotation number. When you define a Workflow, you can specify the object that the Workflow must wait for, without having to enter the ID of the object. You define a correlation with the correlation editor. In the correlation editor, first you need to define the correlation name. Then Mention the container elements under correlation container. There you have to give the common field which is having in both the input files. Select the input messages interfaces in the involved messages. In the properties you need to mention the value. Select the value from the expression editor. Defining a Correlation
Below is the expression editor. You need to select the Xpath for the two input messages.(for File1 and File2)
Receive Step1
Receive Step2
Transformation Step If you want to collect messages, split messages you need to use Transformation step after the receive step that refers to N: 1 Interface Mapping or 1: N Interface Mapping created.
Send Step Once messages are received and processed, these processed messages are to send by the BPM using Send Step.
Save all the objects and activate it. Integration Repository part completed. Click here to continue...
XI - BPM Scenario using Fork and correlation ...Previous INTEGRATION DIRECTORY CONFIGURATION SCENARIO Create the Configuration Scenario.
BUSINESS SERVICES Create the Business Component. In that select the Sender interfaces and receiver interface.
Import the Integration process which you have created in the Integration Repository.
COMMUNICATION CHANNELS Create the sender communication channel for File1.
Create the sender communication channel for File2.
Create the Receiver communication channel for Output File.
SENDER AGREEMENT We need to have two sender agreements as we are giving two input files as input. Create the sender agreement for file 1.
Create the sender agreement for file 2.
Click here to continue...
XI - BPM Scenario using Fork and correlation ...Previous RECEIVER DETERMINATION We need to have three receiver determinations. Two for the source to the BPM and the other for BPM to the target Create Receiver determination for the source to the Integration Process. Here select the sender service as business service and the receiver service as Integration Process.
Create Receiver determination for the source to the Integration Process. Here select the sender service as business service and the receiver service as Integration Process.
Create Receiver determination for the Integration Process to the target. Here select the sender service as Integration Process and the receiver service as business service.
INTERFACE DETERMINATIONS We need to have three Interface determinations. Two for the source to the BPM and the other for BPM to the target Create Interface determination for the source to the Integration Process. Here select the sender service as business service and the receiver service as Integration Process Create the Interface determination from the sender service to the Integration Process. Here no interface mapping is specified since the BPM itself will contain the mapped data.
Create the Interface determination from the sender service to the Integration Process.
Create Interface determination for the Integration Process to the target. Here select the sender service as Integration Process and the receiver service as business service Create the interface determination from the Integration process to the receiver service.
RECEIVER AGREEMENT Create the Receiver Agreement for the Target.
Activate all the objects. TESTING INPUT FILE File1