UCM 11g and BPEL Integration



The prerequisites for the integration are:
  1. Oracle Content Server: Oracle Content Server 11g or higher should be installed.
  2. 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:
  1. Configuration ID : Unique name which would be used in the content server workflow to initiate the BPEL process
  2. Configuration Properties : This specifes the BPEL process and the operation to be called
  3. 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:
  1. Create a criteria workflow
  2. Create a workflow step “initateprocess”

  1. 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”)$>.
  1. 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:





Comments

  1. Hello Manjunath,

    I 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

    ReplyDelete

Post a Comment