Showing results for 
Search instead for 
Did you mean: 

BPM Switch Xpath

Former Member
0 Kudos

Hi to All,

I'm working at a RFC - BPM - File scenario with in de BPM a switch. The switch must evaluate the element ICODE.

Here is the message

<?version="1.0" encoding="UTF-8" ?>

<rfc:_-ACTION_-ZHR_PI_PERNR_STAM_EV1 xmlns:rfc="urn:sap-com:document:sap:rfc:functions" >












































I have used the website to test the following Xpath:


It results a boolean false. So switch should work.

However I don't know what syntax I have to use to let the Switch work

What syntax I try. It gives a syntax error or it results to the first branch of the switch, I want it to result in the otherwise branch.


Remco Nieuwboer

Accepted Solutions (1)

Accepted Solutions (1)

Active Contributor
0 Kudos

BPM in PI7.1 or lower?

if in 7.1 then check :

for lower if i remember correctly you can select the node from expression editor.



Answers (3)

Answers (3)

Former Member
0 Kudos

Thanx, the aswers solved the problem.

I use PI 7.1 and needed to make a Condition Variable and bind it to the message.

The condition variable evaluates now

syntax of the condition:




Former Member
0 Kudos

in BPM in switch step, for condition there is expression it in left operand in ur souce msg select the node......use operation EQ and use your value in right operand.........

Former Member
0 Kudos


Can you elaborate the conditions/cases that you want your switch to work upon.


Rahul Grover