Hi there,
Have you tried the guided rules editor in Guvnor yet?
If as a technical user, you spend time writing up a nice DSL, the Guvnor guided editor
will let you pick the DSL phrases you configured and generate the DRL off the back of it.
For a simple example:
http://docs.jboss.org/drools/release/5.5.0.Final/drools-guvnor-docs/html_...
You should find that where you have put a placeholder for an enumeration, the Guvnor
guided editor will generate a drop-down list of the enumeration values.
On my current project, I have a legal team and an operations team, with users maintaining
rules in Guvnor. Some of the simplest rules are written in the guided rule editor based on
DSL that I have written. Some more complex rules involve me trying to keep the fact model
as simple as possible, and the users are then able to add constraints themselves. It took
a little bit of training, but they're pretty happy with knocking up rules now.
There's no way they could have done it without training though.
I'm pretty sure it's not possible to enable users to build rules completely safely
within Guvnor. It's a bit too powerful for that. You may need to think about test
harnesses to protect the application. If you're after completely safe rules
development, with no training, I reckon you would need to write up your own
application-specific interface, rather than use Guvnor.
Steve
On 24 Jan 2013, at 17:14, riri <irina.adam(a)gmail.com> wrote:
Hello everyone,
I need to provide a way to allow non technical users to modify and possibly
create rules by using a web based editor. I thought about using Guvnor
because it already has validation functionality for the dsrl rule files and
I wouldn't have to implement that from scratch. The problem is that the
interface seems very complex and I have to provide something very simple, in
the style of "drag and drop".
Would there be a way to achieve this without having to dig through the whole
Guvnor source code? Is there a way to recover rule objects from rule
packages and modify the conditions parameters? The idea is not to modify the
.dsrl file directly but having a tool to display the information in a way
that the user can interact with the rule in a safe way.
Thank you very much for any help you can give me.
--
View this message in context:
http://drools.46999.n3.nabble.com/DSRL-rule-access-in-web-editor-tp402179...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users