Dean, did you figure out why your code is using a ReaderResource? There are
other threads reporting this same problem.
Best Regards,
Esteban Aliverti
- Developer @ http://www.plugtree.com
- Blog @ http://ilesteban.wordpress.com
On Fri, Jan 6, 2012 at
Unfortunately, this is a known issue that remains open:
https://bugzilla.redhat.com/show_bug.cgi?id=733008
What I don't understand is why Drools is trying to use a
ReaderResource instead of a URLResource. Let me check into the source code
to see what I find.
Best Regards,
Thank you for the quick answer! This makes absolutely sense and the rules work
now as expected.
Unfortunately, I was not able to find this somewhere in the documentation. It
would be nice to see it in the documentation of drools fusion.
Best,
Wolfgang
Von: rules-users-boun...@lists.jboss.org
how to create bpmn process having one human task using web designer (I am
using jbpm 5.1 version).
Thanks
yoag.
--
View this message in context:
http://drools.46999.n3.nabble.com/creating-bpmn-process-in-drools-guvnor-tp3665480p3665480.html
Sent from the Drools: User forum mailing list archive
Hi Esteban
Unfortunately I haven't had time to work further on this issue, so I don't
have an answer yet.
All I can say for now is it seems that the ReaderResources are being
created along with the URLResource each time. This is evidenced by the
details below.
In my test, I have the following
You need to write the coverage tests for JUnit yourself. Test Scenarios in
Guvnor do this, but you can't use them outside Guvnor.
Test Scenarios get all the rule names for the rules in one package and then
compares that list to the rules that fired.
Edson's blog entry might help you
johan.kumps wrote
Hi,
Could you point me to a document providing some more information on this.
Using the Drools Planner documentation alone I'm not able to find a design
for my problem.
Kind regards,
This problem, the most optimal service composition achieving a certain
consumer
Sorry, but this is not possible at the moment. There has been a Jira for this
for a while.
Toni
On Jan 17, 2012, at 7:48 AM, srinivasasanda wrote:
Hi All,
i created a simple Fact (person) and rule (like age 20) in Guvnor .
and i created a simple rule test scenarios , when i submit Run
This is the JIRA to improve scalability:
https://issues.jboss.org/browse/GUVNOR-1635
Otherwise I would still recommend splitting your monolithic DRL file into
smaller ones and upload each individually.
Increasing your web-server time-out is also an option.
2012/1/16 Shweta1986
This is just following the basic principles of matching facts to patterns, e.g.
$p1: Person( $age: age )
$p2: Person( age = $age )
binds (apart from many other results) each Person fact to both patterns.
The temporal operators are merely shortcuts for complex relations; do
not expect
On 17/01/2012 08:27, Weiss, Wolfgang wrote:
Thank you for the quick answer! This makes absolutely sense and the
rules work now as expected.
Unfortunately, I was not able to find this somewhere in the
documentation. It would be nice to see it in the documentation of
drools fusion.
So, maybe some change in PackageBuilder is not setting the correct Resource
to Declared Fact types. Unfortunately I don't have time right now to take a
look at this problem.
Could you try adding DRL resource instead of compiled package?
Best Regards,
This is a known bug: https://issues.jboss.org/browse/JBRULES-2962 Some
improvements were made in 5.3 and 5.4 but AFAIK, the issue still remains.
Could you please try using 5.4.SNAPSHOT ot beta1 to see if the error
persists?
Best Regards,
Esteban Aliverti
Op 17-01-12 10:41, Mark Proctor schreef:
On 17/01/2012 08:27, Weiss, Wolfgang wrote:
Thank you for the quick answer! This makes absolutely sense and the
rules work now as expected.
Unfortunately, I was not able to find this somewhere in the
documentation. It would be nice to see it in
The problem is more complicated than it seems: imagine you
- load the DRL the first time
- create some instances of your clas
- load the DRL a second time
all the instances created so far would be orphaned.
Likewise, all patterns include a type check: should that be updated?
We are still
Thanks Toni Rikkola-2 for u r reply.
--
View this message in context:
http://drools.46999.n3.nabble.com/How-to-run-the-rule-test-scenarios-from-the-Eclipse-tp3665269p3665765.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
Sorry for my terminology; I'm a noob, but I think I understand your
suggestion. By initial facts, I just mean the facts that I insert within
my batchexecution command. In reality, I am adding a pojo to that
batchexecutioncommand and then my rules check the pojo's attributes. I
don't want that
On 17/01/2012, dunnlow dunn...@yahoo.com wrote:
Sorry for my terminology; I'm a noob, but I think I understand your
suggestion. By initial facts, I just mean the facts that I insert within
my batchexecution command. In reality, I am adding a pojo to that
batchexecutioncommand and then my
Hi,
Please suggest me in achieving my requirement.My requirement is.
When
Person age is equal to 25,Print 25 and return 25..else if Person age is
equal to 30,Print 30 and return 30,else if Person age is equal to 50,print
50 return 50..
How can I write these nested type of if-else statements
rule 25/30/50
when
Person( $age: age == 25 || == 30 || == 50 )
then
System.out.println( $age );
end
Asking for return is futile.
-W
On 17/01/2012, srinivasasanda srinivasasa...@gmail.com wrote:
Hi,
Please suggest me in achieving my requirement.My requirement is.
When
Person age is
Hello, guys,
I've got a rule which states:
rule quest_reach_level_1_in_any_category_accomplished
when
$gsc : GameStateController(hasEventOccurred(eventId)
!hasEventOccurred(otherEventId) hasAnyEventOccurred(param1,
param2, param3, param4, param5, param6, param7, param8,
param9,
Thanks for your reply Vincent :)
Best regards,
Martin
On Tue, Jan 17, 2012 at 9:08 PM, Vincent Legendre
vincent.legen...@eurodecision.com wrote:
ok, did not know that.
If you use lists, you can use the 'contains' operator then, instead of
your predicates (will be more efficient).
But I
Hi,
I am a beginner to drools and am trying to integrate drools rules to java .
Am doing this using changeset.
Here's my piece of code:
package edu.arizona;
import org.drools.KnowledgeBase;
import org.drools.agent.KnowledgeAgent;
import org.drools.agent.KnowledgeAgentFactory;
import
Just generate a string with a template. You can use drools-templates
which is based on MVEL templating.
There is also the descr builder api too that you can use, see release
notes in documentation.
Mark
On 16/01/2012 09:43, bobbi_80 wrote:
public static class CpuTracker{
private
I have a bunch of drl files and they are in same package. How can I combine
these drl files to one big drl files? I am looking for a drools API to
generate the big drl file automatically?
--
View this message in context:
I am getting a knowledge base and knowledge builder. How can I generate drl
file from them?
--
View this message in context:
http://drools.46999.n3.nabble.com/How-to-generate-drl-files-from-knowledge-builder-or-knowledge-base-tp3668202p3668202.html
Sent from the Drools: User forum mailing list
Hi,
I'm kind of looking for a way to export the rules I wrote in Guvnor to a
.DRL file.
Is it possible? How can I do it?
Thanks in advance.
Pedro
--
View this message in context:
http://drools.46999.n3.nabble.com/Guvnor-export-options-tp3668262p3668262.html
Sent from the Drools: User forum
I meant to say also, we use only Stateless knowledge sessions, so no worries
about existing orphaned facts. It is all new, each session
--
View this message in context:
http://drools.46999.n3.nabble.com/ClassCastException-when-KnowledgeAgent-loads-declared-type-tp3664044p3668305.html
Sent from
Thank you, Davide. This is not a critical bug for my shop so I don't wish to
force a JIRA when other Drools work might be more important.
My workaround so far is just to rename the declared class if I have to
hot-deploy, that way there are no conflicts.
I tried to separate the declared class
On 29/11/2011 18:47, DroolersEye wrote:
Hi, I would like to integrate JMS with drools 5.2. I have a confusion over
selecting right approach.
I noticed from the mailing list drools pipeline is depricated so I assume
that not recomended now. So ignored it than look for another option but not
Thanks a ton MarK.
For benefit of others who may read this post here is the code snippet.
PackageDescr pkg = DescrFactory.newPackage()
.name(org.drools.example)
.newRule().name(Xyz)
.attribute(ruleflow-grou,bla)
HI,all:
i want import an function in another drools file. but when i use import
function in drools 5.3.0.Final
compile give me a error message:
Rule Compilation error : [Rule name='start']
room/Rule_start.java (2:279) : Only a type can be imported.
util.convertString2Set resolves
32 matches
Mail list logo