[rules-users] firing specific rule
Manukyan, Sergey
SManukyan at lear.com
Thu Oct 18 08:44:09 EDT 2007
Manukyan, Sergey wrote:
Folks,
I have to restate the question as didn't find the answer anywhere and
have not get response to it in my previous email.
Using 4.0.2. So I have a set of rules, each with a specific
ruleflow-group defined. And I have a rule flow file defined. Altogether
everything works fine.
Now I need to fire a single specific rule from this rule set. Using the
RuleNameEqualsAgendaFilter didn't help, it didn't fire the rule...
You cannot call a rule explicitely, they are not methods.
I know. As I said earlier. All rules fire just fine when I am inserting
an object. But when using RuleNameEqualsAgendaFilter("specific rule
name") - NONE of the rules fire, specifically the single rule I am
interested in. Without this filter - that rule fires just fine along
with others.... Again this happened when rule has ruleflow-group
defined. When ruleflow-group is not defined - it fires again just fine
when using RuleNameEqualsAgendaFilter. Is RuleNameEqualsAgendaFilter
supposed to work with rules with or without ruleflow-group defined? If
so then it looks like a bug to me...
The agenda has the rules that are ready to fire, you can use a an agenda
filter to stop a rule firing, not to call a rule.
Do you mean using RuleNameEqualsAgendaFilter or anything else?
How is it supposed to be done?
Thanks,
-Sergey
**********************
** LEGAL DISCLAIMER **
**********************
This E-mail message and any attachments may contain
legally privileged, confidential or proprietary
information. If you are not the intended recipient(s),
or the employee or agent responsible for delivery of
this message to the intended recipient(s), you are
hereby notified that any dissemination, distribution
or copying of this E-mail message is strictly
prohibited. If you have received this message in
error, please immediately notify the sender and
delete this E-mail message from your computer.
________________________________
_______________________________________________
rules-users mailing list
rules-users at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20071018/339daec2/attachment.html
More information about the rules-users
mailing list