icon-arrow icon-check icon-mail icon-phone icon-facebook icon-linkedin icon-youtube icon-twitter icon-cheveron icon-download icon-instagram play close close icon-arrow-uturn icon-calendar icon-clock icon-search icon-chevron-process icon-skills icon-knowledge icon-kite icon-education icon-languages icon-tools icon-experience icon-coffee-cup
Werken bij Integration & Application Talents
Blog 14/06/2015

Inline Subprocesses in SOA Suite 12c

Subprocess

In a project I work in I had to create a process that does calculations based on the input. This calculations must be done from different parts in the input. So the only difference where the input variables. For this I used the option Inline Subprocesses in BPEL. An Inline Subprocess is embedded in the main BPEL-proces and can be called from different scope’s in the main process.
In this blogpost I will give a brief introduction of the use of Inline Subprocesses in BPEL.

BPEL

The Inline Subprocess can be created from the main BPEL-window in the menu-bar.
When selecting this you see the next window. Here you type a name for your subprocess.

Type

When you created the subprocess you can here select the subprocess store_output. When it’s opened it’s look like a brand new BPEL-process.

New process

The difference with a “normal” BPEL-process is that we don’t have a receive and a reply component.

No recieve and reply component

Now I go back to the main process and create the following logic. A ForEach loop to loop over the repeating elements, an Assign to assign the values to the inline process variables and the call to the inline process.

inline process

The call to the inline process can be created in the following way:

How to do it

After that I created the logic in the Inline Subprocess. Assign the inputvariables to a variable, do the logic and assign the variable to the outputvariable:

Assign variable

And finally deploy the BPEL-process, execute a message and see the result:

Output

Geen reacties

Geef jouw mening

Reactie plaatsen

Reactie toevoegen

Jouw e-mailadres wordt niet openbaar gemaakt.

Geen HTML

  • Geen HTML toegestaan.
  • Regels en alinea's worden automatisch gesplitst.
  • Web- en e-mailadressen worden automatisch naar links omgezet.

Wil je deel uitmaken van een groep gedreven en ambitieuze experts? Stuur ons jouw cv!