cancel
Showing results for 
Search instead for 
Did you mean: 

Are relational operations possible in Switch Conditions of BPM?

former_member187437
Contributor
0 Kudos

Hi all,

I would like to know whether we can use relational operators (< , > ,<= ,etc) in the switch expression. Since the available list of operands (= ,not equals, contains pattern, exist) dont contain these relational operators, how to go about when the switch conditions require the use of relational operators?

(For ex, i want to check whether a particular element is less than a particular value)

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Aarthi,

To add, see the following usage of xPath

<a href="/people/shabarish.vijayakumar/blog/2006/06/07/customise-your-xpath-expressions-in-receiver-determination">/people/shabarish.vijayakumar/blog/2006/06/07/customise-your-xpath-expressions-in-receiver-determination</a>

Regards,

Sudharshan N A

Answers (1)

Answers (1)

udo_martens
Active Contributor
0 Kudos

Hi Aarthi,

not direct, but indirect via a X-Path expression, for example:

boolean(//myField &lt; 100) = true

(is value of XML field myField less than 100?)

Regards,

Udo

udo_martens
Active Contributor
0 Kudos

Hi Aarthi,

the SDN editor does not show that expression correctly, i try it once again (with button "Code")

boolean(//myField & l t ; 100) = true 

That doent work either. You have to put the characters <i>& l t ;</i> without spaces. The SDN view makes a < from that, what would give you of course a syntax error.

Regards,

Udo

Message was edited by:

Udo Martens