Re: [rules-users] Using DateFormat and getting today's date in drools5.0

2009-11-19 Thread ABRA2
Can somebody help me please? i am not able to find answers to this question yet. thanks ABRA2 -- View this message in context: http://old.nabble.com/Using-DateFormat-and-getting-today%27s-date-in-drools5.0-tp26402736p26424219.html Sent from the drools - user mailing list archive

[rules-users] Using DateFormat and getting today's date in drools5.0

2009-11-17 Thread ABRA2
of fact objects and fire the rules. rule SetTktIssueDate when DateFactory($sysdate : today ) $br:BillingRecord(tktIssueDate==null || tktIssueDate sysdate) then modify($br){setTktIssueDate(sysdate);} thanks ABRA2 -- View this message in context: http://old.nabble.com

Re: [rules-users] Help me improve my rules performance.

2009-11-15 Thread ABRA2
YOU have made my Day! :jumping: Thanks for the immediate reply. rgds ABRA2 -- View this message in context: http://old.nabble.com/Help-me-improve-my-rules-performance.-tp26261345p26367500.html Sent from the drools - user mailing list archive at Nabble.com

[rules-users] Help me improve my rules performance.

2009-11-08 Thread ABRA2
long. I know that i am not supposed to use eval in rules which slows down the performance. Can you please suggest me few other ways how i can accomplish these tasks and improve the execution time? thanks ABRA2 example.drl import ct.fw.web.rules.*; import ct.fw.rules.*; import ct.fw.utils.*; import

[rules-users] Execution time for drools5.0 against large data size

2009-11-04 Thread ABRA2
Hi I would like to test the time taken to run a single rule (eg. HelloWorldExample from Drools5.0 documentation) against large data size (i.e the object inserted in ksession is 10,000). The .drl file is loaded only once and i am looping the part where message object is created and set with