To Configure a Variable Sensor:

If you want to record all incoming loan requests, you can create a variable sensor.

  1. Select Change to Monitor view at the top of Oracle BPEL Designer.

  2. In the Structure window, expand the Sensors folder.

  3. Right-click Variable, and select Create.

  4. Click the Edit icon to the right of the Target field to create a variable sensor for a variable (for this example, named input), as shown in Figure 18-5.

    Figure 18-5 Creating a Variable Sensor

    Description of Figure 18-5 follows
    Description of "Figure 18-5 Creating a Variable Sensor"

    Based on your selection for the Target field, the Output Namespace and Output Datatype fields are automatically filled in.

    A new entry is created in the bpel_process_name_sensor.xml file:

    <sensor sensorName="LoanApplicationSensor" 
        classname="oracle.tip.pc.services.reports.dca.agents.BpelVariableSensorAgent"
        kind="variable" 
        target="$input/payload">
      <variableConfig outputNamespace="http://www.autoloan.com/ns/autoloan"
                      outputDataType="loanApplication"/> 
    </sensor>