cancel
Showing results for 
Search instead for 
Did you mean: 

Switch not working??

Former Member
0 Kudos

I have a simple switch setup and it seems to always be true no matter what. Has anyone seen this? The switch looks at a single field and checks to see if it's not equal to zero. I've passed the messages in with zero values and the switch still holds true.

Any ideas?

Accepted Solutions (0)

Answers (2)

Answers (2)

STALANKI
Active Contributor
0 Kudos

We used swtich step and it definetly works..:)

See if you have checked any multiline container in the condition editor.Check the name spaces you are refering in the condition editor and xpath is correct.

Former Member
0 Kudos

Switch statment can basically check the Existence of an XML node in your incoming xml message in the BPM. I had problems too.

If you just want to check existence of a node then use the switch but if you want to do something more then you can populate a field in the Message interface and then do any computation/logic in that.

Thanks

Ashish