Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

How to create Oracle BPEL Subprocess, call a subprocess and pass variables

How to create and call an Oracle BPEL Subprocess

Oracle BPEL Subprocess is like calling a  method in Java. It can be called by any BPEL process including another subprocess. Subprocess is like any other BPEL process, the only thing is it can be reused. This section, we walk through how to create a subprocess, Call Subprocess and pass variables.

For instance, I want to send an email to the process owner whenever I receive an error in the BPEL, or from the catch block. Instead of duplicating the email task in each catch block, it would be nice to create a subprocess to handling the email functionality. We can pass the email content and address from the main process.

Create an Oracle BPEL Subprocess:

Open your SOA Project, right click on the SOA > BPEL, and select BPEL 2.0 Subprocess.

A subprocess will get created with the file extension sbpel. Open it , and create some variables so we can pass it from the main process.

Call an Oracle BPEL Subprocess

Open your main BPEL where you want to call the Subprocess, In the components, drag and drop the CALL activity to the main process. Double click on the CALL activity, select the Subprocess we just created, pass a variable. Uncheck the check boxCopy by value’ if you want to pass the variable by reference



This post first appeared on Oracle ADF, BPM, BI And Primavera P6 Tutorials, please read the originial post: here

Share the post

How to create Oracle BPEL Subprocess, call a subprocess and pass variables

×

Subscribe to Oracle Adf, Bpm, Bi And Primavera P6 Tutorials

Get updates delivered right to your inbox!

Thank you for your subscription

×