Abhijit Mane

Ternary Operator

Discussion created by Abhijit Mane on Feb 2, 2010
Latest reply on Oct 26, 2012 by Sandesh Hiremath

Hi,

 

I want to use ternary operator. Can we use ternary operator "(a < b) ? a : b;" in structured Rule Language.

 

Like, in practical we are using a group template- and using a variable template in a ruleset. We are using a template to initialise the variable declaration- the SRL doesnot contain any conditional clauses. The new requirement requires conditional clauses. So can we use ternary operator in SRL?

 

regards,

Abhijit 

 

Outcomes