Re: [rules-users] Drools Bug: Custom Operator with Maps results in Mvel Error

2010-10-29 Thread Uday Kodukula
Thanks Edison, Looking forward to the update in Mvel. Unfortunately, I tried the binding but still get an error where the bound variable cannot be recognized. I should also mention that the Profile fact is declared and not a pre generated POJO. So here is the updated rule: package com.uday.tar

Re: [rules-users] Drools Bug: Custom Operator with Maps results in Mvel Error

2010-10-29 Thread Uday Kodukula
Hi Edison, Thanks for the tip, I realize how I can use Integer type now. The following should hopefully be sufficient to reproduce the error that I am experiencing. Please me know if you need further clarity. I'm continuing to search through posts to and debug. I'll post back if I find the solut

Re: [rules-users] Drools Bug: Custom Operator with Maps results in Mvel Error

2010-10-29 Thread Uday Kodukula
Edison, Thanks for your prompt reply! I'm trying to incorporate the workaround that you've suggested but I keep getting an error with the use of the from clause. I based this off of the documentation provided on drools.org for drools expert on how to use the from clause. So I declared a cust

[rules-users] Drools Bug: Custom Operator with Maps results in Mvel Error

2010-10-28 Thread Uday Kodukula
Hello, I'm not sure if this is a bug, but I'd like to check with the Drools experts to see if it is. I noticed this when creating my custom operator, which doesn't appear to recognize values from Maps, but works fine with non Map based values. I have created a custom comparison operator which

[rules-users] Any support for use of Timers / Calendars in Decision table (DURATION?)

2010-10-26 Thread Uday Kodukula
Hello, I am trying to incorporate logic within my decision table where certain rules are activated based on the Day of the week, and also time of day. I noticed the presence of date-effective and date-expires, however that doesn't take the timer / cron approach that I would like. I understand th

[rules-users] Using Declared types in Decision Tables

2010-10-21 Thread Uday Kodukula
Hello, I have a question on how one can import declared types into a decision table, that are declared in a separate DRL file. Take for instance the following declared type which is defined in an isolated DRL file: declare Offer id: String name: String isValid: boolean end This type can be

[rules-users] Decision Table evaluating empty cell condition

2010-10-19 Thread Uday Kodukula
Hello, I am currently working with Drools Decision tables, and have created a decision table to determine availability of offers. I have Offer Entities which contain a collection of "groups" that the offer can belong to. That collection contains strings of ids that identify those groups.