Enterprise Manager is a great tool to track your BPM instances, but it can be difficult to determine which specific instance you are looking for. For example, let’s say you have an application that allows you to book travel. In order to find a particular travel request, you would need to do one of the following in Enterprise Manager:
This approach can be very cumbersome or impossible to do. A better approach would be to use Composite Sensors and/or set the Composite Instance Title. SOA/BPM 11g gives you these capibilities in order to correlate a business request id with a composite instance id.
Composite Sensor: Allows you to implement trackable fields on messages. They allow you to monitor incoming and outgoing messages as well as allow you to see fields of a particular instance.
setCompositeInstanceTitle: Allows you to track your request in theComposite Instance Title bar of Enterprise Manager
In order to provide you with all the information you need, I will split this capability into two parts. I will first show you how to use Composite Sensors and then show you how to use the setCompositeInstanceTitle in another blog post.
In order to add a composite sensor to your application, you will need to perform the following steps.
1. Right click a specific service to which to add a composite sensor, and select Composite Sensors or click on the Composite Sensor icon above the SOA Composite Editor.

2. The Composite Sensor Dialog will appear

3. Click on the green plus sign to add a new sensor. This will bring up the Create Composite Sensor dialog

4. Fill out the following fields
|
Name |
Description |
|
Name |
Enter a name for the composite sensor |
|
Service |
Displays the name of the service |
|
Operation |
Select the operation for the port type of the service |
|
Expression |
Allows you to create an expression |
|
Filter |
Allows you to create a filter based on your expression |
|
Composite Sensor Actions |
Displays the supported sensor action |
5. Once you click OK, you will notice the sensor icon on your component.

In Oracle Enterprise Manager, you can monitor the composite sensor. The composite sensor data can be searched for in the Instances page or it can be displayed in the flow trace.


If you want to learn more about composite sensors, you can go to http://download.oracle.com/docs/cd/E14571_01/integration.1111/e10224/sca_compsensors.htm#CIHGIDDE for more information.
Avio Consulting, LLC
5600 Tennyson Parkway
Suite 340
Plano, TX 75024
Email: info@avioconsulting.com
Phone: +1 (972) 608-4777