MEDIATOR - EVALUATION OF XPATH CONDITION RESULTED FALSE (Doc ID 1077947.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle SOA Platform - Version: 11.1.1.3.0 and later   [Release: 11gR1 and later ]
Information in this document applies to any platform.

Symptoms

When attempting to use the Expression Builder to create a filter on the Mediator of Composite. The expression is as follows:

$in.GtmIhSubsControlCollection/top:GtmIhSubsControlCollection/top:GtmIhSubsControl/top:eventName = 'Shipment::cancelled'

The instance completes but in the audit trail it displays this message:

Evaluation of xpath condition "$in.GtmIhSubsControlCollection/top:GtmIhSubsControlCollection/top:GtmIhSubsControl/top:eventName = 'Shipment::cancelled'" resulted false.


The input payload does have Shipment::cancelled in it.

By changing the expression to:

string($in.GtmIhSubsControlCollection/top:GtmIhSubsControlCollection/top:GtmIhSubsControl/top:eventName) = 'Shipment::cancelled'

The xpath condition is still evaluated to false.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms