Hi,
Thanks Jarek for your reply.
Still I have one doubt in my mind, how can I see the data for a newly
registered user (i.e name & permission )
created through Drools Guvnor administrator functionality. Where should
I find the new user data(i.e. name & permission assigned) , so that
I can wr
I will be out of the office starting 17/07/2009 and will not return until
18/07/2009.
I am in a training today. Response to emails would be delayed. For anything
urgent, please call at +91-9884702390.
___
rules-users mailing list
rules-users@lists.jbo
Thanks Edson, worked like a charm!
Steve Ronderos
rules-users-boun...@lists.jboss.org wrote on 07/16/2009 09:09:31 AM:
> [image removed]
>
> Re: [rules-users] Using variables as map keys in MVEL in LHS
>
> Edson Tirelli
>
> to:
>
> Rules Users List
>
> 07/16/2009 09:11 AM
>
> Sent by:
>
I have seen similar behavior, though at the time I didn't have the opportunity
to investigate the cause. (Sorry about not reporting it at the time.) Unlike
the code below it was while calling session.fireUntilHalt(). (In a seperate
thread.) After calling session.halt() from another thread the
Note: I did ask permission before sending this notice to the Drools Developers and Drools Users Groups. Greetings:As both Edson Tirelli and Mark Proctor are presenting two great talks at October Rules Fest (http://www.OctoberRulesFest.org) this year, I thought it might be appropriate to let every
Hi Edson!
as I've already mentioned I've modified the sample so, if you get the
StockTick sample and replace the Main class this will run fine.
The sample shuts down fine but as I saw it sets the JFrame uses
frame.setDefaultCloseOperation( WindowConstants.EXIT_ON_CLOSE ); which in
turn makes the
Hi Rafael,
Are you setting the MultithreadEvaluation option or is this using default
options? Do you have an example code that shows this behavior?
Thanks,
Edson
2009/7/16 Rafael Ribeiro
>
> Hi all,
>
> I've downloaded Drools fusion sample and started to make some changes to
> t
Hi,
Does anyone know if there is a roadmap for the next Drools release, an
anticipated, forecast, or suspected date, for Release 5.1?
Thank you,
Dan
Office phone: (972) 691-6593
Mobile phone (214) 697-8163
_
The information contained in this message is proprietary and/or co
This was a bug in one of the MVEL versions that is fixed. Can you update
your MVEL jar to one of the latest releases? I think it is 2.0.12.
[]s
Edson
2009/7/16 Steve Ronderos
>
> Hello,
>
> Again, I'm working on converting my project that used Drools 4.0.7 to
> 5.0.1.
>
> I've run acro
Thank you very much for the precision, I didn't see that. I used
'matches' instead of '==', because using '==' for comparing Strings in
java is very unsafe since it compares the references and not the
content of the strings. I thought it was the same in drools and I
thought 'matches' was the equiva
Very good! :)
Just FYI, in the case of accumulate, you could also use the collectList()
function to simplify your rule. This:
$alarmList : LinkedList()
from accumulate ( ($e : Element(parentindex!=0) and
$a : Alarm(
There are several places that drools looks for configuration files,
including your home directory. Although, IMO it makes more sense to keep it
confined to the project itself. If you create a dir in your project, like:
src/resources/META-INF
And then configure the eclipse project to use t
Hello,
Again, I'm working on converting my project that used Drools 4.0.7 to
5.0.1.
I've run across a problem with a rule that accesses a map in the LHS using
a variable as the key. When MVEL tries to resolve this, it appears that
it is not evaluating the variable before accessing the map. I
Hi all,
I've downloaded Drools fusion sample and started to make some changes to
the code (first of all wipe out the UI so I can test it easier).
I tried to get to a minimal set so I can run a console main class and see
what happens but I am facing a strange behaviour.
As soon as I start pushi
After some more investigation, I managed also to make it work with
collect: http://drools.pastebin.com/m14f0e329
I would rather not multiplicate rules, because we probably will have
dozens for our system which is very big and can supervise around a
thousand equipements in some cases
Thank you ver
Thanks Wolfgang!
It worked great! The Declare-Command did it perfectly! Nice job! :)
Svetlomir.
--
View this message in context:
http://www.nabble.com/Updating-a-Boolean-object-in-the-WM-tp24513225p24515020.html
Sent from the drools - user mailing list archive at Nabble.com.
_
Hi,
pardeep.ru...@lntinfotech.com wrote:
>
> Hi,
> I am using Apache OFBiz and had successfully integrated Drools Guvnor
> war file with OFBiz.
> By default Drools Guvnor supports Embedded derby, but in OFBiz i am
> using MYSql , so i changed
> the default embedded derby to MySql using reposito
Well, you can't change a Java object Boolean b; assigning another Boolean to b
changes the object reference stored in b. Boolean has no setters.
Notice that the CE
when
Boolean()
always is true irrespective of the Boolean object that's in the WM.
If writing a Java fact class stra
Hi
pardeep.ru...@lntinfotech.com wrote:
>
> Hi,
>
> I am using apache OFBiz which uses Entity engine as a persistence layer.
> To know more about Entity engine refer this link
> http://ofbiz.apache.org/docs/entity.html
> Drools Guvnor uses Jackrabbit as a persistence layaer.
> So my question is
I have a simple flow with human task and I want to persist it into database.
I'm using MSSQL DB.
My code is like this:
KnowledgeBase kbase = readKnowledgeBase();
// create the entity manager factory and register it in
the environment
Hi guys,
I've been desperately trying to update a Boolean object, which is in the
working memory.
I have an initial rule that first inserts it:
rule "Insert initial weanable value" salience 100
when
then
Boolean $weanable = false;
accumulate is indeed complex; the simpler collect might be applicable
as well in this case.
rule all45_A
when
forall ( Equipment( parent == 0, $id : id )
Alarm( cause == 45, source == $id ) )
$alarms : ArrayList()
from collect( Alarm( cause == 45, $source : source ) )
I finally suceeded to get what I wanted using the keyword accumulate
which is really very poweful as said in the doc. Here is the rule:
http://drools.pastebin.com/m4f938e40
It is a little bit complex, but it perfectly works. The only
observation I have is that it seems drools compatible jdk is < 1
On Linux, when I created my own accumulate functions, I had to put this
file in my home directory to have it picked up by Eclipse.
Cheers,
Jarek
Edson Tirelli wrote:
>
>root of your project "classpath", not root of your project.
>
>[]s
>Edson
>
> 2009/7/15 Asif Iqbal mailto:asif
24 matches
Mail list logo