The verifier code does not address the extraction of specific fields or values
Two remarks.
The verifier code does not address the extraction of specific fields or values; it's primary intent is to discover erroneous constructs such as "field == A && field == B" and its manyfold variations. You might look at its source code, how it gets at patterns and constraints and roll your own. How difficult this is would depend on the complexity of your rules and patterns.
Mining for this or that in compiled rules might be putting the cart before the horse. Whenever I encounter a problem where a number of rules emerge, all according to a single pattern and just with variations in the data, I begin to think of a way of building the rules from a handy set of data, and the problem of reporting takes care of itself.
-W2012/1/2 Esteban Aliverti <esteban.aliverti@gmail.com>
There is a Drools' module called drools-verifier that can be used to achieve what you are looking for. Unfortunately there is no integration with Guvnor. So basically you will need to create your own app using drools-verifier's API.Best Regards,
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Esteban Aliverti
- Developer @ http://www.plugtree.com
- Blog @ http://ilesteban.wordpress.com
On Mon, Jan 2, 2012 at 7:00 AM, Salina Fung/UFL - ICIL <salina@icil.net> wrote:Hi,
I have similar requirement, is there any answer for this?
Thanks
Salina
----- Original Message -----
From: Henrique Lira
[mailto:henriquedlira@hotmail.com]
To: rules-users@lists.jboss.org
Sent:
Tue, 27 Dec 2011 22:12:14 +0800
Subject: [rules-users] Extracting management
information from the content of the rules
>
> Hi,
>
> I'm doing an evaluation of Guvnor tool, and one of the requirements that we
> wish to be met is the ability to extract management reports from the content
> of the rules. Let me explain better: assuming I have several rules that
> define discounts for products depending on their characteristics, how can I
> get, for example, which products have a discount of X%? I tried using the
> search function of the Guvnor, but I found it very simple to more managerial
> information like this? Is there any other functionality to generate more
> complex queries?
>
> Thanks in advance,
> Henrique
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/Extracting-management-information-from-the-content-of-the-rules-tp3614399p3614399.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users