X

Setting the title of the BPEL Instance

Ramkumar Menon
Director, Product Strategy

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]

Be the first to comment

Comments ( 0 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.Captcha
Oracle

Integrated Cloud Applications & Platform Services