UCM 11g and BPEL Integration
The prerequisites for the integration are:
- Oracle Content Server: Oracle Content Server 11g or higher should be installed.
- Oracle BPEL Process Manager: SOA Suite 11g should be installed.
Either UCM in a domain that has been extended by SOA or they are in deployed independently. Finally enable the BPEL integration component
Creating Connections (BPEL Connection and Process Configurations)
BPEL Connection (Connection Configuration):
A connection to the BPEL server is created as show in the screen shot below:
Note: Any number of BPEL connections can be created.
Process Configurations:
Process configurations define the BPEL process that can be initiated form the content server workflows.
As seen in the screenshot above there are three important points to take note:
- Configuration ID : Unique name which would be used in the content server workflow to initiate the BPEL process
- Configuration Properties : This specifes the BPEL process and the operation to be called
- Payload Mapping: Defined the payload parameters to be passed to the BPEL process. As seen below the content server fields can be mapped to the BPEL parameters.
Configuring the Content Server Workflow
Follow the below steps:
- Create a criteria workflow
- Create a workflow step “initateprocess”
- Specify the exit condition as follows:
wfGet("conversationId") and obIsInstanceClosed("process_3", wfGet("conversationId"))
obIsInstanceClosed(“process_3”, conversationId) – This function returns the a value true when the if the process for a given conversation id is completed or closed. The conversationId is initialized in the “Entry Event” of the workflow when the BPEL process is launched by the Idoc function <$obInvokeProcess(“process_3”)$>.
- In the Entry event add the following code snippet to launch the BPEL process.
This will initiate a BPEL process as seen below in the EM console:
Document for approval as seen in the worklist:
Hello Manjunath,
ReplyDeleteI am looking for an adapter to push some documents to UCM from a BPEL work flow. Is any adapters available for this? If not how can I achieve this