Skip to Content
avatar image
Former Member

Interface Determination conditions

Hi Folks,

I have this scenario where I need to set conditions in the interface determination.

First condition is that, if ACC_LIMIT is present in any <ReferenceTypeCodedOther>, then apply mapping01.

Second condition is, if ACC_LIMIT is NOT present in any <ReferenceTypeCodedOther>, then apply mapping02.

<ListOfReferenceCoded>

<ReferenceCoded>

<ReferenceTypeCodedOther>ACC_01</ReferenceTypeCodedOther>

</ReferenceCoded>

<ReferenceCoded>

<ReferenceTypeCodedOther>ACC_02</ReferenceTypeCodedOther>

</ReferenceCoded>

<ReferenceCoded>

<ReferenceTypeCodedOther>ACC_LIMIT</ReferenceTypeCodedOther>

</ReferenceCoded>

</ListOfReferenceCoded>

I have tried using the ~ (Contains pattern) for the first condition though, but I don't think that it is applicable for the second condition.

Please your advise. Thank you!

Regards,

Lex

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    Mar 19, 2009 at 05:00 PM

    you will have to use the EX operator here.

    Ref: /people/shabarish.vijayakumar/blog/2006/06/07/customise-your-xpath-expressions-in-receiver-determination - the blog talks abt the conditions in Receiver determination but in your case you will be using it in Interface determination

    Add comment
    10|10000 characters needed characters exceeded