right. I am looking for the same too. The Guvnor documentation had notes
on how to customize using the StandaloneEditor. The drools 6 documentation
does not have any information on customization. An example on how to use
the new workbench components to set up just the guided editor and invoke
i
Is there any documentation or examples that show how to build a custom UI
using the new 6.0 design? I looked in
http://docs.jboss.org/drools/release/6.0.0.Beta5/drools-guvnor-docs/html_single/index.html
but could not find any pointers.
Thanks
G. Patel
From: Mark Proctor
To: Rules Us
I wish the entire rule editing context (all the sentences and user entries) was
made available to enumeration providers, then this would have been possible.
- Original Message -
From: rjr201 [rich.j.ri...@gmail.com]
Sent: 01/22/2013 06:59 AM PST
To: rules-users@lists.jboss.org
Subject: R
no, I dont think it is possible. I ended up writing my own custom editor
that displays DSL statements.
Thanks
Ghanshyam
From: bhochhi
To: rules-users@lists.jboss.org,
Date: 11/15/2012 11:11 AM
Subject:Re: [rules-users] Custom Form with DSL
Sent by:rules-users-boun...@
Is there a way to get a hook into just before a rule is evaluated to
determine whether an activation is created ?
The earliest hook available is DefaultAgendaEventListener.
activationCreated(ActivationCreatedEvent event)
What I am looking for is to get notified just before a rule is picked up
f
is there a place to go look at a detailed example?
Thanks
Ghanshyam
From: Wolfgang Laun
To: Rules Users List ,
Date: 11/05/2012 05:19 AM
Subject:Re: [rules-users] DROOLs callback API for L-value
predicate matching events
Sent by:rules-users-boun...@lists.jboss.o
Is there a way to pass the editing context to the custom form? For
example, in the rule below:
[when] type of mineral is {mineralName:CF:Mineral.name}and country of
mining is {countryName:CF:Country.name}
If the mineral "Quartz" is selected, then the custom form displaying the
country list sho
"I would not store the result of the (missed) activation of a rule in a
rule
attribute, anyway. Can't you just use a dedicated fact(s) for that?"
I face a similar issue where the target audience are "business" users i.e
users that dont really understanding or wish to get into logic. I am
findin
so you are using drools to build on-the-fly queries based on user input.
You could probably do this via "static" rules. Since you basically have 4
variables (price, avg_user_rating, num_ratings, category), you could write
4 rules, one each that filters based on one of the 4 variables and then
c
I would suggest making your service stateless and run the service in
multiple JVMs to alleviate performance concerns. You will be able to scale
and also not have to worry about cramming everything into a
StatefulKnowledgeSession and worry abt thead-safety.
From: Stephen Lomax
To: Rules
Thanks Mark. Quite well understood. Thanks Wolfgang for the code snippet,
much appreciated.
The reason I need to know which facts the rule are using at runtime is to
create an audit log and capture the values the facts had at the time of
rule execution, so that an audit log can be created that
I need it at rule definition time, or when the rule is saved. Could you
point me to a starting place in the internal api ?
Thanks
G. Patel
From: Mark Proctor
To: rules-users@lists.jboss.org
Date: 02/16/2012 10:06 PM
Subject:Re: [rules-users] Rule definition introspection
Sent
Is it possible to self-introspect the rule definition?
For example:
when
$redCar : Car(color == 'red')
then
System.out.println("a red car exists");
Is it possible to know that the above rule uses the Car fact and the
Car.color attribute?
Thanks
G. Patel
---
Beautiful!
How would a business user (non-programmer) write such a rule. The only way I
can think of is create a dsl sentence for this specific condition
- Original Message -
From: Wolfgang Laun [wolfgang.l...@gmail.com]
Sent: 02/09/2012 05:02 PM CET
To: Rules Users List
Subject: Re: [
If you are starting from scratch, this is possible. However, I find myself
having to expose operations from the *preexisting* technical domain into
the business (i.e expose methods from existing technical domain code that
has all kinds of annotations and code references to 3rd party software).
Is it possible to push a repository import into a Guvnor instance?
What I am looking for is the ability to stand up a Guvnor instance from
predetermined artifacts, the artifacts being repository.xml (which
contains packages, rules, working sets, etc.) and model jars. If I have a
model jar and
Any idea when GUVNOR-1731 and GUVNOR-1732 will be fixed?
http://issues.jboss.org/browse/GUVNOR-1731
http://issues.jboss.org/browse/GUVNOR-1732
I would think at least 1732 is urgent; it is a feature that is supported
in BRL but not supported in DSL
Thanks
Ghanshyam
-
Unless the experts disagree, I don't think that is possible as is.
Guvnor *is* the REST frontend for the drools repository. If you are not
interested in the Guvnor UI and only seek to use the REST api, it should
be possible to strip out the UI related pieces from the Guvnor war
(web.xml, WEB-I
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 there a simple w
(which could be in .drl files) in addition to guvnor rules.
Thanks
Ghanshyam
From: kapokfly
To: rules-users@lists.jboss.org
Date: 11/16/2011 08:16 AM
Subject:Re: [rules-users] Building our own UI for Drools
Sent by:rules-users-boun...@lists.jboss.org
Hi GPatel,
Maybe
On hosted mode:
I have the same requirement i.e hosted site with lots of external clients using
the same site, it is indeed impractical to deploy a guvnor instance for each
client. Overall, from what I have researched, there are two things available to
segregate rules by external client: categ
For issue 2, combination of DSL and wrapper layer around ur engg objects might
help
- Original Message -
From: kapokfly [ivan.jiang...@foxmail.com]
Sent: 11/11/2011 02:53 AM PST
To: rules-users@lists.jboss.org
Subject: [rules-users] Showstopper issues for Drools Adoption in our
orga
I am in the same situation (and I suspect a lot of people with complex
domain models are), which is: how do I let the user easily navigate my
domain model while writing a rule.
There is support for providing a custom form within a popup when a fact
constraint needs to be specified. You can pre
Take a look at the guvnor rest api
- Original Message -
From: Praveen [praveen.sa...@gmail.com]
Sent: 11/08/2011 02:11 AM PST
To: rules-users@lists.jboss.org
Subject: [rules-users] Where in DB does Guvnor store "description" of rules?
Hi,
Our application expects rule name and its de
Here's the model:
declare Vehicle
engineType: String
fuelType: String
end
Here's the DSL:
[when]there is a vehicle=$vehicle : Vehicle()
[when]- with engine type {value}=engineType=="{value}"
[then]say hello=System.out.println("Hello");
When I create a rule using the Guided Edito
Hi
Is the guvnor custom form not meant for use with fact fields appearing in
dsl sentences? It works fine with guided editor, not with dsl though.
Using 5.3.CR1
Thanks
G. Patel
-
The information contained in this communication (including any
attachments
created jira 3270 for this.
Also created 3271 along the same lines.
From: Michael Anstis
To: Rules Users List
Date: 10/28/2011 12:07 AM
Subject:Re: [rules-users] Guvnor data enumeration issue
Sent by:rules-users-boun...@lists.jboss.org
You'll need to raise a JIRA
I am trying to use data enumerations and running into a problem. Following
the Vehicle engineType/fuelType data enumeration example in the Guvnor
manual, I created the following enumeration list and it works:
'Vehicle.engineType' : (new test.VehicleHelper()).getEngineTypes()
'Vehicle.fuelType[en
Define FraudResultsDTO as a global. That way, you don't have to specify it in
the WHEN part merely for assigning a variable to it
- Original Message -
From: Jamie [js...@llbean.com]
Sent: 10/26/2011 09:24 AM MST
To: rules-users@lists.jboss.org
Subject: [rules-users] Preventing re-evalu
I wish the Rule definition gave more detail than just a rule name, package
name and metadata, or there was some way through the KBase api to get to
it. Seems like I will need the to fetch the rule content from guvnor via
REST (via some sort of timestamp versioning of my own)
Thanks
G. Patel
Is is possible to get textual rule content from
org.drools.definition.rule.Rule? What I am looking to do is get the rule
definition (the when/then part) when a rule fires (i.e on
AfterActivationFiredEvent)
Thanks
G. Patel
-
The information contained in
Is it possible to perform keyword search within rule content? For example:
show me all rules that contain the word "person".
Thanks
G. Patel
-
The information contained in this communication (including any
attachments hereto) is confidential and is intende
I suppose I can use the standaloneEditor, add my data loader arguments to
the URL, have a filter on the serverside set up a thread-local context
that contains the arguments and have the data loaders use that context.
How do I disable enum caching so that the above approach works?
From: Gh
I realize that "drools" is a runtime variable, available only during rule
execution, but the question still stands. Is it possible to somehow pass
in rule attributes as arguments to Data loaders for enums?
Any help would be appreciated
Thanks
G. Patel
From: Ghanshyam Patel/Tempe/TotalSyste
The Guvnor manual specifies how to load enum data programtically but it
seems like only other fields on the same Fact can be used to filter the
values that can show up in the drop-down fields, as shown below:
'Fact.field[dependentField1, dependentField2]' : '(new
com.yourco.DataHelper()).getLis
yes, I believe this should help a lot in integration. Are there going to
be helper utilities available to unmarshal the atom, json, etc responses
back to client-side java objects?
Thanks
Ghanshyam
From: Jervis Liu
To: Rules Users List
Cc: rules-users-boun...@lists.jboss.org
Date:
Is there a way to set the rule-flow group of a rule via the guvnor UI?
Thanks
GP
-
The information contained in this communication (including any
attachments hereto) is confidential and is intended solely for the
personal and confidential use of the indivi
Esteban
I too am trying to integrate the Rule editing widget into my web page. I
followed your writeup, very helpful indeed.
What is missing though is a handy method to get all rules under a
category. In my app (and I suspect in most cases where people are trying
to embed the asset editor), we
Is it possible to retrieve all rules within a category via the Rest API
(or some other means) ?
Thanks
gpatel
From: Andrew Waterman
To: Rules Users List
Date: 12/21/2010 12:12 PM
Subject:Re: [rules-users] Upload an existing .drl for the Guvnor
dynamically
Sent by
to B. That way, if a rule is fixed in A,
all referencing child projects instantly benefit from the update.
Is there a similar feature in drools or a way to achieve the same
functionality?
Thanks
gpatel
-
The information contained in this communic
40 matches
Mail list logo