Skip to Content
author's profile photo Former Member
Former Member

Xpath and operator EX

In our scenario we have one inbound interface and two possible outbound interfaces. The only way to decide which outbound interface should be selected is the existence of a node in the inbound message. In the condition editor of the interface determination there is only the operator EX available, meaning node exists. I can use this to select one of the outbound interfaces, but I would need a "NEX" operator to select the other outbound interface in case the node doesn't exist in the inbound message.

Does anyone have a solution to this problem?

Kind regards,

John.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Sep 07, 2010 at 08:26 AM

    Check the last-but-one example from this wiki:

    [http://wiki.sdn.sap.com/wiki/display/XI/XpathConditioninReceiverDetermination|http://wiki.sdn.sap.com/wiki/display/XI/XpathConditioninReceiverDetermination]

    Regards,

    Abhishek.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 07, 2010 at 08:47 AM

    Hi John,

    In the Expression editor while putting condition, use the brackets() and negate not operator.

    I mean, the expression would be,

    Eg: A/B/[not(node)] EX

    -Supriya.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.