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.
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 " })
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
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
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
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.
__