Re: [rules-users] nested condition in from collect

2010-10-06 Thread lnguyen
You're right, it worked without the eval and I did have the import. -- View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/nested-condition-in-from-collect-tp1637479p1646029.html Sent from the Drools - User mailing list archive at Nabble.com.

[rules-users] nested condition in from collect

2010-10-05 Thread lnguyen
I'm trying to determine if a user has a certain immunization on record or a group of immunizations but when I attempt to put additional the rule will not compile. rule Immunizations_Determine if a user has a valid tetanus immunization dialect 'mvel' no-loop true salience 100 when

Re: [rules-users] LHS compare two lists

2010-09-19 Thread lnguyen
That worked perfectly. Thank you so much. -- View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/LHS-compare-two-lists-tp1521979p1525468.html Sent from the Drools - User mailing list archive at Nabble.com. ___ rules-users

[rules-users] LHS compare two lists

2010-09-18 Thread lnguyen
Hi, I'm trying to determine if a user has the required certifications for a position. So I'm comparing the list of required certifications to the list of User Certifications but I'm throwing a nullPointerException even though I check to make sure the list are not null on their respective

Re: [rules-users] Verify if an objects attribute exists

2010-09-13 Thread lnguyen
Sorry here is some additional details...I hope I'm not making this sound more complicated than it really is but I am attempting to restrict access to view an account based on the logged in user. public class User { private Long id; ... private UserProfile

[rules-users] Verify if an objects attribute exists

2010-09-10 Thread lnguyen
I'm having difficulty writing this rule. Background information: A User can have a supervisor but it's not required. When viewing User information I want to verify that the logged in user is either the current user or the currentUser's supervisor but I throw an exception when the supervisor

[rules-users] Drools 5.1.1 KnowledgeAgent and SecurityRules

2010-09-09 Thread lnguyen
I recently upgraded from drools guvnor 5.0.1 to 5.1.1 but I haven't seen any examples on how to change securityRules now that RuleBase has been replaced with KnowledgeBase. Originally I had... drools:rule-agent name=securityRules

Re: [rules-users] create .pkg file with or without BRMS

2007-11-14 Thread LNguyen
I think the DroolsCompilerAntTask generates a serialized RuleBase, not a Package. Linh Arnaud Bouzinac wrote: Hi, I'm using BRMS to generate a .pkg for an application i need to generate the same file without BRMS: i'm trying to use a drools-ant task, but, pkg file generated with

[rules-users] How to get the Eclipse Rules View to show my rules?

2007-11-13 Thread LNguyen
Hello everyone, I'm using Drools 4.0.3 and Eclipse 3.3. The Rules View shows the rules in the drools-examples-drl package, but not my own rules. Is there any configuration or registration needed for the Rules View to recognize my rules? The rest of Drools work fine. TIA Linh -- View this

Re: [rules-users] How to get the Eclipse Rules View to show my rules?

2007-11-13 Thread LNguyen
think I'm still missing? (As a Java project, the project still works fine. All my jUnit tests still run ok) Thanks. Linh ekke wrote: have you tried your-eclipse-project - right-click - convert to Drools project ? ekke LNguyen wrote: Hello everyone, I'm using Drools 4.0.3

[rules-users] Can a rule be assigned both agenda-group and ruleflow-group ?

2007-11-08 Thread LNguyen
Hi everybody: I would like to use Drools to capture validation logics that will be shared at UI level and back-end level. That is, I need to fire a specific rule on-demand to validate a field input and fire it again as part of the final validation. To fire a specific rule, I use the