Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

BPM switch condition xPath

All,

Inside the BPM there is a switch condition -

which checks whether ( InXML\Item1\Key = "COMPNAME" AND InXML\Item1\Value="HRB" ) - if this condition is true, then it sends the whole xml to a particular receiver.

For this condition to work - does the Item1 node (with COMPNAME key value) be first? Currently we are getting it in random places within the Item1 nodes.

Sample Input message -

<InXML>

<Item1>

<Key>CODE</Key>

<Value>CC</Value>

</Item1>

<Item1>

<Key>COMPNAME</Key>

<Value>HRB</Value>

</Item1>

<Item1>

<Key>REGSTATUS</Key>

<Value>Y</Value>

</Item1>

<Item1>

<Key></Key>

<Value></Value>

</Item1>

</InXML>

Thanks.

Former Member
Not what you were looking for? View more on this topic or Ask a question