Oracle SOA Suite Online Training

Interested in learning Oracle SOA Suite 12c?
Learn from the author of this blog!
A complete and comprehensive course on the #1 platform on SOA - Oracle SOA Suite

Click here to find the complete course details
Click here to check the first session on Oracle SOA Suite 12c


Set Composite Instance Name in Mediator or BPEL

You can set the Composite Instance Name that appears in the Name column in EM Instances screen.

This could be done either in the Mediator or in BPEL Component

In Mediator

In the Routing Rule 'Assign Values' section, you need to set the Composite Instance Title.

Set the value you want to display in the Name column of EM using the function setCompositeInstanceTitle('Name to be displayed') to the property 'tracking.compositeInstanceTitle'. This property is not available by default, just type it.

Namespace of the function will be ''

Here is the XML generated, you can check the namespace if the default generated one causes problems

<!-- START -->
                  <copy target="$"
                        expression="med:setCompositeInstanceTitle(concat('CREATE GROUP ESN :: ',$in.parameters/xsd1:createRequest/xsd1:gpInfo/xsd1:masterESN))"
<!-- FINISH -->

Use the function
ora:setCompositeInstanceTitle and set it to any temporary variable in the BPEL Process, and the process will set the Composite Instance Title.

Namespace : xmlns:ora=""

Here is the sample XML generated

<!-- START -->
            <from expression="ora:setCompositeInstanceTitle(concat(&quot;Failed :: &quot;,bpws:getVariableData('errorOperation')))"/>
            <to variable="title"/>
<!-- FINISH -->

No comments:

Post a Comment