Muthukumar Sankaranarayanan

main funtion

Discussion created by Muthukumar Sankaranarayanan on Jun 22, 2011
Latest reply on Jun 30, 2011 by Jostein Ulseth

Hi folks,

My ruleset retruns a object.

When i call  the ruleset from a funtion like

 execute  myRuleSet("Hi"). i get the below error,

"Error: Expected a statement but got an expression of type ValidationResult instead."

 

How to catch a return object in a function ?

Outcomes