Stephen Mcgruer wrote:
Just to note, I no longer need help with this. After discovering that
the Guvnor 5.1 interface did not work fully (when trying to create a
bean in a *when* clause, the pencil icon did not do anything - known
bug?) in our environment - Firefox 3.6.8 and IE 6 in
Hi, the rolesProperties file (eg, guvnor-roles.properties) configured
in JBoss AS is not used by Guvnor authorization. Before you enable
enable-role-based-authorization, you need to login and configure user
permissions in Guvnor Administration. For example, you need to give
your admin user a
I have taken a look at the Human Task ,but i can not understand it.
The ruleflow.rf file should be split into two ?
= ruleflow.rf =
Start---Action1(need user A to do it)Action2(need user B to do
it)--Email--End
==
sub1.rf: Start---Action1(need user A to do it)End
Hi,
is there a way to observe (during runtime) when Drools evaluates the
condition of which rule, meaning when it tries to activate a rule?
I'm having a bug in my program and I can't determine whether objects are out
of sync, there is a mistake in my rule or (and I started believing in that)
Hi,
I'm trying to figure out an issue for three days now and I'm getting kind of
desperate, so I hope someone can help.
I'm using Drools in combination with an EMF model which is modeling a
computer network. On init, I read the whole structure of the model and insert
all elements into the
Several remarks:
(1) Make sure that a parent is asserted after all of its children. Otherwise
initial evaluation will not comprise the entire children's list.
(2) After changing a child's state, update the parent.
(3) The rule as you have it now is somewhat circumstantial. A simpler
approach would
On Mon, Aug 2, 2010 at 6:45 AM, XiaoMiTang dingyongch...@hotmail.com wrote:
I have taken a look at the Human Task ,but i can not understand it.
The ruleflow.rf file should be split into two ?
= ruleflow.rf =
Start---Action1(need user A to do it)Action2(need user B to do
Wolfgang,
thank you so much for your remarks! It's really interesting:
- I tried the approach to update the parent whenever a child is
modified before - without any success
- Now I changed my rule to your (definitely much better) suggestion
- and it works!
So despite
I can only say that I tested your (original) rule, and here I need the
modify( $parent ){}
in the rule where I change the children's states.
However, not selecting the DOWN state in the first forall pattern
does *not* require this additional modify:
rule allChidrenDown
when
$parent : Device
We don't really expose an update site, but you can simply download the
eclipse artefact and unzip in your eclipse folder. Since Drools is also
part of JBoss Tools, you can use the nightly builds to get the latest
snapshot release as well.
http://www.jboss.org/tools/download/
Kris
-
Hi,
I faced a similar problem. This thread helped me to solve the issue. this
keyword is working fine for me. U can check whether it is supported in your
version. I am using 5.0.1
But even this keyword works for me, I am facing another problem.
The then block executed for every success in the
-
There is a list of objects.
Each object has a property score.
We need to select three objects with the highest scores.
How to create this rule in Guvnor (This would be easy in Java, but we want no
code in the rules)?
Thank you!!!
___
Has anybody ever had the problem that getFactHandle(object) returned null,
although the FactHandle is there when you iterate over the handles returned
by getFactHandles()?
Can anybody explain to me what the problem might be?
By the way: The object reference (getObject()) in the FactHandle I
Did you try using a custom accumulate function?
You must code it in java and use it in your rules easily.
Best,
Esteban Aliverti
- Developer @ http://www.plugtree.com
- Blog @ http://ilesteban.wordpress.com
2010/8/2 Baig, Kaleem
Alright, the xsd error still remains though but I could able to successfully
integrate drools 5.1 CR1 with spring 3.0.3.
I got the spring namespace handler exception when i tried to use
drools-spring.5.1.jar with DRE 5.0, which is not appropriate.
So, i completely checked out DRE 5.1. CR1, used
Alright, the xsd error still remains though but I could able to successfully
integrate drools 5.1 CR1 with spring 3.0.3.
I got the spring name space handler exception when i tried to use
drools-spring.5.1.jar with DRE 5.0, which is not appropriate.
So, i completely checked out DRE 5.1. CR1, its
Hi,
I have created a very simple DSL file as below. It just reads the data from
hashmap and sets the decision based on the key value present in the hashmap
passed to Guvnor.
[consequence][]Decision for DynamicValue is set as
Denied=dec.setDecision(Denied);
[condition][]Decision
Hello, forget date-expires. Just make your WHEN condition to match
date you specify somewhere in your object as date for which to
calculate. Then you will have two rules and each will match different
date.
Pavel
2010/8/2 Minal Sarmokadam minal.sarmoka...@lntinfotech.com:
Hi,
I am
hi diego,thank u for your reply.
As far as I understand, we start the work flow using the code:
session.startProcess(……);
Once it starts,it runs from Start node to End node~
User A runs the code session.startProcess(……),the work flow starts,runs
step by step:
(1)Human Task assigned to user A
Hi
I am new in drools. In my project I have to call the method define in xml
rule file using java
## Following is my rule xml
?xml version=1.0 encoding=UTF-8?
package name=com.sample
xmlns=http://drools.org/drools-5.0;
xmlns:xs=http://www.w3.org/2001/XMLSchema-instance;
Hi Friends
I got the same problem and the solution is
replace the following line
qualified-identifier-restriction evaluator===Message.HELLO
/qualified-identifier-restriction
with this
qualified-identifier-restriction
evaluator===Message.HELLO/qualified-identifier-restriction
Note an extra
Hi Friends
I got the same problem and the solution is
replace the following line
qualified-identifier-restriction evaluator===Message.HELLO
/qualified-identifier-restriction
with this
qualified-identifier-restriction
evaluator===Message.HELLO/qualified-identifier-restriction
Note an extra
Mark,
Can you answer for this post?
Thanks,
Sreenath
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Guvnor-BRL-format-tp983339p1018133.html
Sent from the Drools - User mailing list archive at Nabble.com.
___
ksession hasn't been assigned an object when you call ksession.insert
in RuleHandler.java:61.
-W
On 3 August 2010 06:31, Sanjib Karmakar sanj...@skytechsolutions.co.in wrote:
Hi
I am new in drools. In my project I have to call the method define in xml
rule file using java
## Following is
24 matches
Mail list logo