Davide
Thanks - you hit the nail on the head.
Ron
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
Actually, you can do
/then
...
drools.getRule().getName()
...
end/
"drools" is a reference to an instance implementing the KnowledgeHelper
interface.
--
View this message in context:
http://drools.46999.n3.nabble.com/rules-users-Retrieving-rule-name-in-then-clause-tp3543557p3543606
not from the rule, but you can use an agenda listener for the same
From: Ronald Albury
To: rules-users@lists.jboss.org
Date: 11/28/2011 02:58 PM
Subject:[rules-users] Retrieving rule name in "then" clause
Sent by:rules-users-boun...@lists.jboss.org
Is ther
Let me clarify in advance ... my rules are detecting errors in input data
... so when a rule fires it accesses my internal error handler. I realize
that rules fire when they succeed, not when they fail.
On Mon, Nov 28, 2011 at 4:56 PM, Ronald Albury wrote:
> Is there a simple way for me to be a
Is there a simple way for me to be able to access the rule name in the
'then' clause?
When rules fail I want to pass the rule name into my internal error handler.
Thanks in advance
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jb