[rules-users] choose method from fact object in guided editor

Hans Wirz hans.wirz at xmv.ch
Mon Jun 10 08:58:57 EDT 2013


Hello 

I'm new to Drools and Guvnor and I'm trying to find a way to enable the
selection of a method (other than getter and setter) by the guvnor guided
editor in a drop-down-list way like the fields.

 

Example (.drl-file edited by Drools-Plugin in Eclipse): 

 



 

How to achieve this in Guvnor guided editor, because the method
getContentValue("reviewed") cannot be chosen - it must be KNOWN by the one
who creates the rule?

 

My approach (using a Formula):



 

 

Many thanks for your help

Hans 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20130610/e39998a7/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/octet-stream
Size: 8502 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/rules-users/attachments/20130610/e39998a7/attachment-0002.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/octet-stream
Size: 21115 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/rules-users/attachments/20130610/e39998a7/attachment-0003.obj 


More information about the rules-users mailing list