Wednesday, May 13, 2020

12c SOA - Business Rules - use of generic rule

Input: id, name, designation (like PAT, A, SA, M etc.).

Output: eligible_trutime_topup_per_fortnight (like 10,20,0 etc.)

Step1: Create SOA Project.

Now project created.

Step2: Drag and drop bpel process and select synchronous process.

Now bpel created as like below.

Step3: Prepare schema as per your requirement.

Step4: Drag and drop business rules component.

Now you can import schema input and output.

Import input schema.

Input schema imported successfully, now import output schema.

Both schema’s imported successfully.

Step5: Double click business rules.

Now create rule.

Add the condition and hard code the output value.

Add then condition.

Select target processResponce.

Hard code output value.

Add remaining conditions also.

Step6: Double click bpel process and add Business Rules.

Double click rules and and select Business rules.

After selection now showing like below image.

Click ok, Now composite automatically invoke businessrules and created activity’s.

Step7:  Now composite like below and deploy the composite and test.



<?xml version="1.0" encoding="UTF-8"?><inputVariable>

   <part xmlns:xsi="" name="payload">

      <ns1:process xmlns:ns1="">








<?xml version="1.0" encoding="UTF-8"?><outputVariable>

   <part xmlns:xsi="" name="payload">

      <processResponse xmlns="">





No comments:

Post a Comment

Featured Post

11g to 12c OSB projects migration points

1. Export 11g OSB code and import in 12c Jdeveloper. Steps to import OSB project in Jdeveloper:   File⇾Import⇾Service Bus Resources⇾ Se...