Good afternoon
How can I use retract in action or exception handler?
For example,
0. I have a flow diagram;
1. in some node the fact Person( age == 10) is added to the working memory
by 'insert';
2. after some steps, the split node pass the control to the action-node
3. and in this action I need to retract this fact. How?!
The action MVEL code like:
$t : Person( age==10)
retract($t)
- does not work b/c of knowledge base errors:
"Could not parse knowledge... "
"Unable to build expression for action... "
"java.lang.Class cannot be cast to org.mvel2.util.MethodStub :
org.drools.lang.descr.ProcessDescr@fa54fe"
Thanks,
Eugene P
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/How-can-I-use-retract...
Sent from the Drools - User mailing list archive at
Nabble.com.