« May 21, 2007 | Main | May 23, 2007 »

May 22, 2007 Archives

May 22, 2007

Setting the title of the BPEL Instance

The default title of a BPEL Process Instance that you can see in the BPEL Console is "Instance <instanceId> of <processName>.

You can configure this to include key message data in the Title.

For this, you can use the bpelx:exec within your BPEL Process.

        <bpelx:exec name="setTitle" language="java" version="1.4">
          <![CDATA[
String orderNum = ((String)getVariableData("orderNumber"));  
String woId = ((String)getVariableData("workOrderId"));  
System.err.println("Title is " + (orderNum));  
setTitle("Order [" + orderNum + "][" + woId + "]");]]>
        </bpelx:exec>


When an instance of this BPEL Process is created, the BPEL Console shows the title of the instance in the Console as
Order[1-7654389][1-ABCDEF]

About May 2007

This page contains all entries posted to Ramkumar Menon's Blog in May 2007. They are listed from oldest to newest.

May 21, 2007 is the previous archive.

May 23, 2007 is the next archive.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type and Oracle