Re: [rules-users] Fwd: Re: Guvnor - expected value of a list

2012-02-14 Thread Toni Rikkola
Try =[test1,test1] Toni On Feb 15, 2012, at 9:47 AM, Michael Anstis wrote: > > sent on the move > > -- Forwarded message -- > From: "Péter Gombás" > Date: 15 Feb 2012 07:40 > Subject: Re: [rules-users] Guvnor - expected value of a list > To: > > Hello Michael, > > yes, it i

[rules-users] Failed to get rules from Guvor after apply Security using Tomcat and JAAS

2012-02-14 Thread mujoko mujoko
Dear Rules Users, Previously, I use guvnor with no security. Now, my boss wants me to apply security on guvnor. The way I implement is use this link http://ngjweb.wordpress.com/2011/12/07/drools-guvnor-manage-access-part-2/ which is using realm of tomcat and create a table is the system for guv

Re: [rules-users] [planner] Semi-locked planning entities

2012-02-14 Thread Nurlan
Thank you very much!!! can you help me with this problem plz : http://drools.46999.n3.nabble.com/uninitialized-planning-value-error-td3743831.html http://drools.46999.n3.nabble.com/uninitialized-planning-value-error-td3743831.html -- View this message in context: http://drools.46999.n3.nabble

Re: [rules-users] Problem deploying 5.3.0 drools server in Tomcat

2012-02-14 Thread kenburcham
I found this: http://stackoverflow.com/questions/6349424/apache-cxf-rs-extensions-issue-in-2-4-0 so in my camel-server.xml I removed: and now I can at least start up. :) ken. -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-Problem-deploying-5-3-0-droo

Re: [rules-users] Fwd: Migrating repository data from Drools 5.0 to 5.3Final

2012-02-14 Thread jian zhi
As long as the result of the evaluationis same we are fine with it.  One more question regarding to the data migration. In Drools 5.0 there is no restriction between the fact type and name so the fact name could be same as the fact type. After we migrated the data to 5.3 we got the IllegalArgum

Re: [rules-users] Guvnor - expected value of a list

2012-02-14 Thread Michael Anstis
I assume this is a QA \ Test Scenario in Guvnor? It's going to be helpful if you can provide an export of your repository (or an extract) showing the issue. On 14 February 2012 16:12, gombasp wrote: > Hello, > > I have the following problem: i would like to compare a value in expected > section

[rules-users] Guvnor - expected value of a list

2012-02-14 Thread gombasp
Hello, I have the following problem: i would like to compare a value in expected section of a Guvnor test. Guvnor says actual value is: (Actual: [test1, test1]) When i enter [test1, test1] to the expected value it will not match with actual. Is it possible to compare list values? If yes, what i

Re: [rules-users] 5.4 stability?

2012-02-14 Thread Brad Davis
Stephen, have you tried the enterprise bits of Drools - BRMS? It goes through heavy testing and therefore you will avoid the instability of our .org bits. Let me know if you need more information. BRMS 5.2 is pretty stable from my experience, and Drools Templates definitely works in BRMS 5.2.

Re: [rules-users] rule group activation by concurrent jbpm processes

2012-02-14 Thread Alberto R. Galdo
Hi, We've gained some insight about what is happening under the hood for this kind of interaction between JBPM and Drools expert. Imagine a knowledge session with this set of rules: rule "new case" when $object : Object(processed==false) from entry-point "my stream" then

[rules-users] uninitialized planning value [error]

2012-02-14 Thread Nurlan
Is it possible setting planning entity with uninitialized planning value into solution? if it is possible, then how? :) plz, help me :) When I execute my code with not null planning variables everything work fine, but when i execute without setting planning variables I have [Exception in thread

Re: [rules-users] Testing for global variable

2012-02-14 Thread Chris Selwyn
I tried that but it seems that setting a global on a Stateless session simply sets a value in a Map without doing any validation, hence no Exception. What I am doing now is to set the value in the Stateless session. It seems that those variables are made available to the StatefulSession that sls

Re: [rules-users] Testing for global variable

2012-02-14 Thread Wolfgang Laun
But you can try{ ks.setGlobal(...) } catch( Exception e ){ } -W On 14/02/2012, Chris Selwyn wrote: > Is there a way to test for the existence of a global variable in a > StatelessKnowledgeSession before inserting a SetGlobal command into a > BatchExecutionCommand? > > I am trying to write a r

Re: [rules-users] Copy & Paste options in Decision Table

2012-02-14 Thread Veera
Thanks a lot... :-) -- View this message in context: http://drools.46999.n3.nabble.com/Copy-Paste-options-in-Decision-Table-tp3743350p3743538.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-us

Re: [rules-users] Copy & Paste options in Decision Table

2012-02-14 Thread Veera
Thanks a lot -- View this message in context: http://drools.46999.n3.nabble.com/Copy-Paste-options-in-Decision-Table-tp3743350p3743533.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-use

[rules-users] Testing for global variable

2012-02-14 Thread Chris Selwyn
Is there a way to test for the existence of a global variable in a StatelessKnowledgeSession before inserting a SetGlobal command into a BatchExecutionCommand? I am trying to write a rules executor class that may execute some rulesets that need a particular global variable and some that don't.

Re: [rules-users] [planner] Semi-locked planning entities

2012-02-14 Thread Geoffrey De Smet
No example yet :( This feature isn't even implemented yet, vote for https://issues.jboss.org/browse/JBRULES-3359 A workaround is to have your Solution have 2 lists of your "entities" class Roster { List<...> immutableAssignements; // gets added in getProblemFacts() List<...> mutableAssig

Re: [rules-users] Copy & Paste options in Decision Table

2012-02-14 Thread Michael Anstis
It is only in 5.4. The video blurb is not clear. I have corrected this. On 14 February 2012 11:23, Mauricio Salatino wrote: > Probably the video is using the latest snapshot from the master > repository. You can compile the source code from master: > github.com/droolsjbpm/guvnor > > Cheers > >

Re: [rules-users] Copy & Paste options in Decision Table

2012-02-14 Thread Mauricio Salatino
Probably the video is using the latest snapshot from the master repository. You can compile the source code from master: github.com/droolsjbpm/guvnor Cheers On Tue, Feb 14, 2012 at 8:17 AM, Veera wrote: > Hi all, > > i was seen a video with below link he is doing copy & paste in Guvnor > Decis

[rules-users] 5.4 stability?

2012-02-14 Thread Stephen Masters
Hi folks,With 5.3.0.Final I have crashed into the brick wall of https://issues.jboss.org/browse/GUVNOR-1726 which makes templates pretty much useless.Now Jira mentions that this should be fixed in 5.4.0 beta1, so I'm thinking that it should still be fixed in beta 2. Not having the ability to build

[rules-users] Copy & Paste options in Decision Table

2012-02-14 Thread Veera
Hi all, i was seen a video with below link he is doing copy & paste in Guvnor Decision table. I am using Guvnor 5.3.0, but it is not showing copy & paste options for me.. can any body tell me why ?. link is : http://vimeo.com/35323602 Thanks in Advance :-) Regards, veera -- View this m

[rules-users] Semi-locked planning entities

2012-02-14 Thread Nurlan
Is there any example in drools-planner with semi-locked planning entities? or how to implement? I dont understand :) -- View this message in context: http://drools.46999.n3.nabble.com/Semi-locked-planning-entities-tp3743318p3743318.html Sent from the Drools: User forum mailing list archive at Na

Re: [rules-users] What is the use of Annotation in DeclarativeModel

2012-02-14 Thread Michael Anstis
To add the @role(event) annotation so that you can use CEP operators and CEP windows in rule authoring in Guvnor. sent on the move On 14 Feb 2012 06:27, "Veera" wrote: > Hi All, > > > > anybody give me some idea on annotations which are there in Fact > Declarative > Model in Guvnor.. > If it po