cancel
Showing results for 
Search instead for 
Did you mean: 

SWITCH in BPM

Former Member
0 Kudos

Hi,

I am using a SWITCH step in BPM.

Here I am checking the value of a field "STATUS".

If the field value = "SUCCESS" it has to go through one path else it has to go through Otherwise branch.

But even when the field value = "SUCCESS", its going through otherwise branch.

Can anyone help me in this regards,

Regards,

Jose

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hey Jose,

Just a vauge guess .

you might consider the payload value and match it with the value you have put in the switch step.

It should be exactly the same . probable the case of letters also.

try that out

Regards

Nikhil

Former Member
0 Kudos

I have checked the case also

Former Member
0 Kudos

the value in the incoming payload (status element) , is that exactly the same as the one you have typed in the condition

henrique_pinto
Active Contributor
0 Kudos

Check for the type used in the XPath side expression editor (should be xsd:string).

Also, in the constant expression side, don't use any quotes. Just enter the value in the constant field.

Regards,

Henrique.

Former Member
0 Kudos

Type used in the XPath side expression editor is xsd:string.

In the constant expression side, I am not using any quotes too.