Associating a Probe with an Activity

After you add a probe to a business process, associate the probe to an activity by setting the Write to Probe properties of the activity.

To set Write to Probe properties:

  1. In the activity's Properties sheet, in Ancillary Activities, expand Write to probe.

Probe ID, Probe Name, and Probe State fields appear. A probe ID is automatically generated after you name the probe. If you do not specify a probe element, the Probe State defaults to the activity's name.

  1. To select a probe definition, click in the Probe Name Value field, then click .

The Select Probe Definition dialog box opens.

  1. Select a probe definition from the list and click OK.

  2. (Optional) To specify a probe state, click in the Probe State Value field, then click .

The Probe State dialog box appears.

Note: The probe state defaults to the activity name if no value is specified.

  1.  If you are defining a probe state, choose one of the following:

  2. To use a literal value, click Select literal value and type the value in the Value field.

  3. To use a context value, click Select process context variable.

  1. In the Value list box, select the context that you want to use.

After you specify a context reference, you must then select a specific node to reference in the context reference.

  1. Click Select Node.

The Select Element dialog box appears.

  1. Expand the element and select the node that you want to reference.

  2. Click OK.

You are returned to the Probe Element dialog box. The Node Path field is now populated with the node you selected.

  1. To specify a specific instance of a repeating node, click in the Node Path field.

  2. Select Set subscript for <xpath to node> to set the node instance.

  3. Select First, Last, Literal, or None.

  4. If you selected to use a literal, enter the instance index and click OK.

  1. In the Value list box, select the probe element that you want to use.

  1. Click OK to save the values.