Re: [rules-users] Drools 5.5 Property Reactive on Maps

2013-11-14 Thread gboro54
So if the property lives in the parent abstract class and that is where the method existed. If I move the method to the child with the annotation @Modifies it works. Any ideas why putting that in the parent abstract would not be honored? -- View this message in context: http://drools.46999.

[rules-users] Drools 5.5 Property Reactive on Maps

2013-11-14 Thread gboro54
So I have an object with a map like follows: protected ConcurrentMap accumulations = new ConcurrentHashMap(); I wrote a convince method on the class that will look up the value in the map and add to it if it exists and if not there will put it in the map: @Modifies({ "accumulations " })

Re: [rules-users] How can I iterate through the ArrayList

2013-11-14 Thread Wolfgang Laun
rule "fire for each AwaitingAction" when $aal: AwaitingActionList() $aa: AwaitingAction() from $aal.getAwaitingActionsList() then System.out.println( $aa.getStatus() ); end Or you can itrerate over the list on the RHS: rule "fire for each AwaitingActionList" when $aal: AwaitingAction

[rules-users] 5.6.0.CR1 gives a NullPointerException in after evaluator

2013-11-14 Thread abr
Hi everyone, I tried to switch from 5.5.0.Final to 5.6.0.CR1 and got a null pointer exception in the evaluation of the after evaluator. (Exact method is: /org.drools.base.evaluators.AfterEvaluatorDefinition.AfterEvaluator.evaluate(InternalWorkingMemory, InternalReadAccessor, InternalFactHandle, In

Re: [rules-users] How can I iterate through the ArrayList

2013-11-14 Thread Govind J. Parashar
Hi Below have my java code and main method I want to fire rule for all value of "STATUS" how to write drl for this I am passing awaitingActionList to rule public static void main(String args[]) throws Exception { KnowledgeBase kbase = readKnowledgeBase(); StatefulKnow

Re: [rules-users] Equal shift assignment based on employment form

2013-11-14 Thread ns
Does anyone have any idea how to solve my problem? Thank you. -- View this message in context: http://drools.46999.n3.nabble.com/Equal-shift-assignment-based-on-employment-form-tp4026746p4026778.html Sent from the Drools: User forum mailing list archive at Nabble.com. __