How to Copy Input and Output Payload in a Two Layer BMP Scenario (Doc ID 1304830.1)

Last updated on APRIL 12, 2011

Applies to:

Oracle SOA Platform - Version: 11.1.1.3.0 and later   [Release: 11gR1 and later ]
Information in this document applies to any platform.

Goal

Background information:

     Two-Layer BPM enables you to create dynamic business processes whose execution, rather than being predetermined at design time, depends on elements of the context in which the process executes. Such elements could include, for example, the type of customer, the geographical location, or the channel.
     Two-Layer BPM enables you to model business processes using a layered approach. In that model, a first level is a very abstract specification of the business process. Activities of a first-level process delegate the work to processes or services in a second level.
      In Two-Layer BPM, a Phase is a level-1 activity in the BPEL process model. It complements the existing higher-level BPEL activities Business Rule and Human Task. At the location where the user dropped the phase activity in the BPEL process model a new BPEL scope is created and inserted into the BPEL process. The scope has the name of the phase activity. Within the scope, a bunch of standard BPEL activities are created. The most important ones are one invoke activity to a mediator and one receive activity from the mediator. With the SCA composite of the BPEL component, a new Mediator component is created and wired to the phase activity of the BPEL component that comprises the level-1 BPEL process where the phase activity has been dropped into the process model. The input and output of the Mediator component is defined by the input and output of the phase activity. The mediator plan (this are the processing instructions of the mediator component) is very simple; it delegates creation of the processing instructions to the business rules component.
       At runtime, the input of the Phase activity is used to evaluate the dynamic routing decision table. This is performed by a specific decision component of the Phase activity. The result of this evaluation is an instruction for the Mediator. The Mediator routes the request to a service based on instructions from the decision component.


Reference:

A sample implementation can be found in: Using Two-Layer Business Process Management (BPM)[http://download.oracle.com/docs/cd/E15523_01/integration.1111/e10224/bp_two_layer_bpm.htm].


Issues

  1. In the child BPEL process (e.g.: GoldCustomerRouterService etc), it is not possible to copy (assign) the input payload passed from the parent BPEL process (BPELPhaseCustomerRouter process).
  2. It is not possible to copy the payload returned from the child BPEL process (e.g.: GoldCustomerRouterService) to any variables (Phase Output variable or any other output variable) in the parent process (e.g.: BPELPhaseCustomerRouter). Refer to Using Two-Layer Business Process Management (BPM)  [http://download.oracle.com/docs/cd/E15523_01/integration.1111/e10224/bp_two_layer_bpm.htm] implementation test case to see the Assign.

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms