[rules-users] Guvnor test case with fact with Object fields

Toni Rikkola toni.rikkola at gmail.com
Fri Jun 1 04:48:56 EDT 2012


The latest Guvnor 5.4.0 should have better support for nested objects. 
If are already using it please open a Jira so we can improve the scenario editor.

Toni

On May 31, 2012, at 6:21 PM, mpgong wrote:

> Hello,
> 
> I have a fact that has is also my entity model and it has a field that is a
> class called state which holds previous and current state values (enum).
> 
> So i have a condition that gets the state and gets the two values to check.  
> 
> The issue i'm running into is with creating a test case in guvnor, is it
> possible to create a test case with a field that is an object like this? 
> Guvnor recognizes that i have a field called state but it doesn't realize
> that it is a class so it doesn't look like i would be able to test any rules
> the uses state as a condition check.
> 
> Thanks
> 
> 
> 
> --
> View this message in context: http://drools.46999.n3.nabble.com/Guvnor-test-case-with-fact-with-Object-fields-tp4017705.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users




More information about the rules-users mailing list