Getting the BPEL process status data

This recipe explains how to retrieve the current status of the BPEL process.

Getting ready

In order to complete this recipe, we will extend the output variable of the BPEL process. Thus, we open the BPEL_and_Java_2_0.xsd schema file and add an additional element to retrieve the BPEL process status data:

<element name="processResponse">
  <complexType>
    <sequence>
      <element name="day_of_date" type="string"/>
      <element name="exchangeMsg" type="string"/>
      <element name="prc_inst_id" type="long"/>
      <element name="prc_inst_title" type="string"/>
      <element name="prc_inst_creator" type="string"/>
      <element name="prc_status" type="string"/>
    </sequence>
  </complexType>
</element>

How to do it…

Open the BPEL_and_Java_2_0 process and ...

Get BPEL and Java Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.