We are using 5.1.1, I tried to update to 5.2.0M1 a while back and there were
too many visual issues which did not work in that version. I see that 5.2.0.M2
is on the download site now, I may install that in my sandbox and see if there
is this feature there. I know we were waiting for a few ot
Which version of guvnor are you using? I think i solved a similar problem in
trunk. Please search in jira to check if this is already solved.
Unfortunately i don't have the link :(
Best regards,
El abr 29, 2011 7:27 p.m., "Michael Anstis"
escribió:
__
Assuming you simply mean a web application, and not EJB too then use of a
StatelessKnowledgeSession per HTTP request offers the best scalability.
You can create the KnowledgeBase in a variety of standard ways;
ServletContextListener, @Singleton etc but your goal would be to create a
singleton inst
The "declare" keyword is used to declaratively define a model rather than
use a JAR file containing the same.
It is documented in Experts' documentation "4.7 Type Declaration".
With kind regards,
Mike
On 29 April 2011 08:25, azahra wrote:
> I am trying to use Guvnor with an existing model. I
I don't believe it is possible to negate rules in Guvnor using the guided
editor. Please raise a JIRA for an enhancement.
AFAIK the only work around would be to specify "Free form DRL" when
constructing the pattern.
With kind regards,
Mike
On 29 April 2011 21:46, Dean Whisnant wrote:
>
> Hi,
Sorry, the package being sent is as follows:
MESSAGE_TYPE1
Test Message
--
View this
I have uploaded the maven project in the following zip file...
http://drools.46999.n3.nabble.com/file/n2881070/SimpleDroolsDemo.zip
SimpleDroolsDemo.zip
The soupui is:
http://schemas.xmlsoap.org/soap/envelope/";
xmlns:soap="http://soap.jax.drools.org/";>
Drools server exposes web services end points. So you can unit test Drools
Server as any other web service application. It's not drools related
question.
Can you share the rules, the objects and the configuration that you are
using? can you create a simple project that demonstrate the problem. We n
Hi,
I have a rule where I want to check if an object doesn't exist or it exists and
a field in it is null or a field in it is D.
Here's .drl code that works
rule "test does not exist is null or is D"
when
(not CLM_DET_LOAD_PendCode() ||
CLM_DET_
salaboy wrote:
>
> if you are importing the class Type, the second rules is ok.
> If you are not importing it, probably depends on the message that you are
> sending.
> Greetings.
>
I have tried a variety of ways to set this up. However, the issue persist...
The message being sent in looks fine
Someone already mentioned writing "good" rules versus "bad" rules which is
definitely critical - things like avoiding things like eval when possible.
For our stateful rules session we took a lot of time in designing the
architecture, facts, etc to avoid having to do any non-rules processing (db
qu
Thanks very much Wolfgang... that appears to fix it.
Chris
On 28/04/2011 06:51, Wolfgang Laun wrote:
This has indeed been discovered recently, for certain scenarios where
activations were queued in the wrong order after fact modification.
The fix is in
./drools-core/src/main/java/org/drools/
Hi,
I use drools flow with JPA persistence.
Is it possible to directly access and manipulating process instance
variables?
You could see the changed variables in the log (table
variableinstancelog), but I don't know how to directly access or change
them in the living process, The use case is, t
Hi!
I'm trying to get Guvnor to deploy on a pre-existing existing DB. The use
case beeing that we wan't to be able to bring up a backup instance of guvnor
in case the primary goes down.
But if a deploy guvnor on a "fresh" DB schema all tables get created along
with trigger and sequences (using
Hi Wolfgang:
Thank you very much for the explanation. Now everyting works fine.
Best regards,
Manuel Ortiz.
2011/4/29 Wolfgang Laun
>
> 2011/4/29 Manuel Ortiz
>
>>
>> import es.simcasva.alarmas.src.MDSVHechoAlarma;
>>
>>
>> query "existe Alarma" (MDSVHechoAlarma referencia)
>> $alarma
What version of jdk and Drools plugin are you using?
2011/4/29 Steven Williams :
> Hi,
> I am running Eclipse Helios on Mac OS X 10.6.7 with the Drools 5.1.1 plugin
> and cannot open DSLR files with the error below. This error also occurs if I
> create a new Drools project, create a new rule resou
2011/4/29 Manuel Ortiz
>
> import es.simcasva.alarmas.src.MDSVHechoAlarma;
>
>
> query "existe Alarma" (MDSVHechoAlarma referencia)
> $alarma : MDSVHechoAlarma( iIdAlarma == referencia.iIdAlarma,
>
>
> The reported errors are:
>
> Description Resource Path Location Type
> BuildError: Not
Hi again Wolfgang:
Thank you for your quick answer. getFactHandle is the method I needed.
Concerning the second question, I'm using Drools 5.1.1 and yes, I imported
AlarmFact. Below you can find the relevant lines of the drl file, in which
the 'real name' of AlarmFact is MDSVHechoAlarma:
#create
You can call
FactHandle fh = kSession.getFactHandle( factObj );
query "alarmExists" (AlarmFact key)
should work in 5.1.1 and 5.2. Did you import AlarmFact in the DRL?
Otherwise, what message are you getting in which version?
-W
2011/4/29 Manuel Ortiz
> Hello everybody:
>
> I have two qu
Hi,
I am running Eclipse Helios on Mac OS X 10.6.7 with the Drools 5.1.1 plugin
and cannot open DSLR files with the error below. This error also occurs if I
create a new Drools project, create a new rule resource and select the Use a
DSL checkbox. DRL files open fine.
Could not open the editor: 1
Hello everybody:
I have two question related to queries:
First one, the one in the subject, I have a query which retrieves facts
which have to be modified and updated in working memory. I've seen that
the StatefulKnowledgeSession.update() method has the fact handle as input.
Is it possible to set
I am trying to use Guvnor with an existing model. I am having class
dependency issues even though I have created a jar with dependencies.
I noticed that the demo package seems to have its model declared in some
non-java way like so:
declare LoanApplication
amount: Integer
approved: Boolean
...
end
22 matches
Mail list logo