[consequence][]Turn on the "{sprinkler}" for "{room}"=modify( {sprinkler}
){setOn(true)}

Example in above dsl, I cannot figure out how to parametrize true parameter
because RHS already contains curly brackets.

If i do like this, it is wrong DSL compilaton throw errors-
[consequence][]Turn "{on}" the "{sprinkler}" for "{room}"=modify(
{sprinkler} ){setOn({on})}

Please suggest the correct code.

--
View this message in context: 
http://drools.46999.n3.nabble.com/How-to-parametrize-method-parameters-in-DSL-tp2910918p2910918.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to