Re: [rules-users] Performace Issues drools

2012-04-17 Thread sanal
Hi, Still Iam facing some issues with the accumulte.Please see the below senario.I am trying to explain with the below example. Suppose Glucose is a OrderedComponent which is under Labgroup. PackageComponent(Rule) -- LABGroup (ComponentKey=100)

Re: [rules-users] Performace Issues drools

2012-04-16 Thread sanal
Hi , I am trying to use drools where the rules are defined in a tree format. eg:Iam explaining it with a hospital senario. A healtcarepackage has got set of criteria which is defined in a tree format. QtyLim

Re: [rules-users] Performace Issues drools

2012-04-11 Thread sanal
Hi Wolfgang Laun, $objOrderedComponents is bound to Order object which contails the list of services ordered. $objOrderedComponents:Order() $objOrderedComponents.getOrderedComponentList() provides the list of OrderedComponent. I will try with the approch you

Re: [rules-users] Performace Issues drools

2012-04-11 Thread sanal
Hi jeswin, There are nearly 2000 orderedcomponents and 1000 packagecomponents. Regards Sanal.p -- View this message in context: http://drools.46999.n3.nabble.com/Performace-Issues-drools-tp3902270p3902432.html Sent from the Drools: User forum mailing list archive at Nabble.com.

Re: [rules-users] Performace Issues drools

2012-04-11 Thread sanal
Some corrections in my previous mail 1)A ordered service is considered to be part of a package if the packageChargeRecordId property of the ordered service is assingned the package Id. 2)Using Drools i need to find out each of the ordered services( $orderedComponent) for the patient is p

[rules-users] Performace Issues drools

2012-04-11 Thread sanal
Hi, Iam trying to use Drools for implementing some of the business logic in hospital billing senario.My senario is as given.Iam implementing the concept of a packge. A package is a set of services or items are put together based on some contions. Only the packge is to be charged not the i

Re: [rules-users] Using accumulate function-Performace Issues

2012-04-10 Thread sanal
Hi , I have used the modify function. It works, but its time consuming.Since the fact gets modified at RHS ,the rule engine reprocess the same.But the time taken for execution is more. If any body have better idea please help. Regards Sanal.P /*#From row number: 21*/ rule "Package R

[rules-users] Using accumulate function

2012-04-08 Thread sanal
Hi, Iam trying to use the accumulate function of the drools.I need to accumulate based on the result of a rule execution. Eg: Suppose i have list of orders and another list of conditions for a particular package.I need to check weather each of the order is part of package or not.