Skip to Content
0
Former Member
Mar 30, 2011 at 02:21 PM

condition in Receiver Determination

17 Views

Hi Everybody,

I have to set an xpath condition in the Receiver Determination where i have to check if the Name nodes filed First Name starts with Demo, then need to forward to the a receiver.

<Empid>

<Name>

<FirstName>demo</FirstName>

<LastName>test</LastName>

</Name>

<Empid>

I have used the xpath as:

/p1:Empid[count(Name[FirstName = "Demo"])>0]/FirstName EX

with reference to the link receiver-determination---xpath-expression-problem-,

But when i tested the configuration in ID...

Its not providing the expected result...

Im getting error as number of Name field matching Demo itself is counted wrong hence the whole output is wrong.

can some one please help me with this.

Thanks