[rules-users] How to define keywords that represent objects(in facts) to be able to use in rules

san_drools pathasantosh at yahoo.co.in
Fri Aug 10 03:27:19 EDT 2012


Hello Laune, 
                   Yes, we can use parameters in DSL phrases. But the
problem here is rule author doesn't know which object to refer. 

                     And, can we translate a business rule with keywords
into DRL? 

 You can use "$ContactNum" from the DRL translation. It's not "hidden".  -->
means, can we write in translated DRL for further actions? 
   
 I think per my knowledge, we can write use keywords in business rule but
not directly in technical rule(DRL). And when i write businessrule using
keywords, the total rule can be using keywords only as the actual objects
will not be available to this rule. Am i right?

   Could you lease make me to understad the things clearly in this context.


 



--
View this message in context: http://drools.46999.n3.nabble.com/How-to-define-keywords-that-represent-objects-in-facts-to-be-able-to-use-in-rules-tp4019065p4019081.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list