log;
rule ProductTag-FixedSMS
when
$cdr : CDR(callClassCode == F1 || callClassCode == F2 )
then
$cdr.setProductName(fixedsms);
end
2012/1/18 Michael Anstis michael.ans...@gmail.com
You're going to give a little more information, such as the DRL you're
unable to compile
We have also added the ability to use BRL Fragments as columns in the
guided Decision tables (for 5.4.0.beta2).
http://blog.athico.com/2012/01/guided-decision-table-supports-brl.html
You could then define a column as:-
$c : Company()
Company (this == $c, something = {templateKey} )
In rows
Can you view the package source in Guvnor and report if it shows an
explicit dialect?
IIRC you are not the first person who has experienced this type of
behaviour.
sent on the move
On 20 Jan 2012 21:52, domingo sprabak...@gmail.com wrote:
I have one simple rule, just check the boolean
You're going to give a little more information, such as the DRL you're
unable to compile.
2012/1/18 mujoko mujoko mujoko.muj...@gmail.com
Hi Drools Users,
I'm new member, Mujoko.
I got issue regarding my rules. Several times got exception when trying to
create KnowledgeSession. I used
when
there are many lines ?
Regards
Nicolas Héron
2012/1/11 Michael Anstis [hidden
email]http://user/SendEmail.jtp?type=nodenode=3650237i=0
Thousands of lines of DRL in a single file represent an issue not just
to Guvnor but to anything handling it.
The recommendation would be to split
In your rule do the following:-
- Add PersonDetails fact
- Add Person fact
- Add a constraint for PersonDetails.age ( 0 would be a good choice).
- Bind age field to a variable (click on field name in the constraint
and you're given the choice to set it to a variable)
- Add a
Where do you insert a PersonDetails fact?
Why do you set the age on Person when you state it'll be in PersonDetails?
You'll also need to have a relationship between Person and PersonDetails
and include this in your rule.
For example (in DRL terms, but possible to create in Guvnor):-
$p :
Why do you insert application and p in different sessions?
On 16 January 2012 13:08, srinivasasanda srinivasasa...@gmail.com wrote:
After your suggestion here is my code,
RuleAgent agent =
RuleAgent.newRuleAgent(/Guvnor.properties);
RuleBase rb =
Senthil,
You seem to be having some problem.
Have you tried looking (and adapting) the guvnor-example project that shows
the use of change-sets?
(git clone guvnor-examples) -
git/droolsjbpm/guvnor/guvnor-examples/src/main/java/org/drools/guvnor/examples/mortgage/client
On 16 January 2012
Yay, at long last a Java Stack Trace :)
This is a known problem, but one I believe has been fixed for 5.4.0.beta1 -
correct me if I am wrong esteban.
sent on the move
On 17 Jan 2012 07:22, Senthil K kris.senthilku...@gmail.com wrote:
Thank you Manstis..I'm able to retrieve the packages and
That is not possible, but would be a good idea.
We have this JIRA https://issues.jboss.org/browse/GUVNOR-1114 which covers
your use-case, but for a different problem.
Could you please comment this JIRA with your requirements?
On 13 January 2012 14:49, srinivasasanda srinivasasa...@gmail.com
Based upon the information you have given, yes.
sent on the move
On 14 Jan 2012 01:49, sverker sver...@abrahamsson.com wrote:
Hi
I have an application where I want to generate calendar events. Each event
will have an attached resource and people will be able to book themselves
to
this
source of the rules into mysql database?
So, in Drools if i create a package, and a rule and go to source-view
source am seeing the source of that rule. Is there a way to make that write
into a database as such?
thanks,
Kavitha.
On Wed, Jan 11, 2012 at 12:17 PM, Michael Anstis michael.ans
RHS is not DRL syntax but Java or MVEL depending on your dialect.
If id is not public you should use it's getter. The same goes for
quantity.
when
$item : Item(param1 != 0, param2 == 0, !(this instanceof SpecialItem))
$gsc : SomeBusinessLogic
then
$gsc.doSomething($item.getId() );
Thousands of lines of DRL in a single file represent an issue not just to
Guvnor but to anything handling it.
The recommendation would be to split the DRL into individual rules,
resulting of thousands of assets in Guvnor.
The next question would be if you have thousands of similar rules why not
Patience is a virtue.
I assume you've read Guvnor's documentation.
It is a marvel what can be found sometimes.
On 11 January 2012 18:45, kavita kavithase...@gmail.com wrote:
Hi,
Can any one provide me an example of how to use Rest API in java/ Grails.
Thanks,
Kavitha.
--
View this
at
http://docs.jboss.org/drools/release/5.3.0.Beta1/drools-guvnor-docs/html/ch09.html#d0e1695.
But i want to know how to use it with Grails/Java. I am just a beginner to
Drools.
On Wed, Jan 11, 2012 at 11:47 AM, Michael Anstis michael.ans...@gmail.com
wrote:
Patience is a virtue.
I assume
sethu kavithase...@gmail.com
I want it with Grails. Ya just now i looked for this plugin. Let me read
the documentation of how to implement. I was just thinking an example would
be really helpful if any one has done this before.
thanks a lot.
On Wed, Jan 11, 2012 at 12:04 PM, Michael Anstis
Guvnor doesn't use OSGi.
The stack trace suggests the JAR you are has a dependency on OSGi:-
org.drools.guvnor.server.contenthandler.ModelContentHandler.getImportsFromJar.
The remainder of the stack trace relates to trying to load the imported
class.
2012/1/9 Mike Key mi...@zenbitz.com
Hi
I still think, in my opinion, it is worthwhile adding the ability to define
Template Keys in DSL in Guvnor.
A simple (contrived and incomplete example) DSL might be:-
[when] There is an insurance policy quote=$p : PolicyQuote( )
[when] Number of previous claims on policy is between {min} and
What version of Drools Expert and Guvnor are you using?
On 9 January 2012 00:47, kachaps4u kachananidha...@gmail.com wrote:
Exactly my error too!!! I too followed their documentation.. some one had
to
find it. My project has ESB in it too.. So I went to the next step in
running the uri from
Have you tried load the XLS into a KnowledgeBase without using a
KnowledgeAgent?
Trying to narrow down where the issue might be will help (everyone)
tremendously.
On 5 January 2012 16:40, ollem olle.martens...@digitalroute.com wrote:
Hello!
I'm using a knowledgeagent to point out a changeset
Guvnor uses JCR (Jackrabbit or Modeshape).
JCR can be configured to store it's binary data in a database.
The configuration you make to Guvnor to use a database configures JCR.
The resulting tables are of JCRs requirements and needs. As you have
discovered JCR has no knowledge of rules.
You
Guvnor saves rules (source and binary packages) using JCR (Jackrabbit or
Modeshape). There are no hooks for you to save rules elsewhere.
JCR can be configured to persist to a database (this, I believe, is what
Thomas eludes to). The schema is as defined by and created by JCR.
If you want to save
Thishttp://www.plugtree.com/guvnor-embed-asset%E2%80%99s-editor-in-your-application/might
be of help.
On 5 January 2012 04:49, srinivasasanda srinivasasa...@gmail.com wrote:
Hi All,
I'm looking to interact with the guvnor editor.I've referred
Template keys are unsupported at present in DSL.
I hope to be able to address in the near future, but unfortunately cannot
commit to exactly when.
On 5 January 2012 12:55, srinivasasanda srinivasasa...@gmail.com wrote:
Hi,
I created a rule template.I also created the DSL.
When the Person
This BTW I assume to be in Guvnor :)
I don't believe drools-expert supports it either, but I could be mistaken.
On 5 January 2012 13:01, Michael Anstis michael.ans...@gmail.com wrote:
Template keys are unsupported at present in DSL.
I hope to be able to address in the near future
The StandAloneEditor work was a community contribution.
salaboy or esteban might be able to provide specific assistance for your
problem.
On 5 January 2012 11:27, srinivasasanda srinivasasa...@gmail.com wrote:
Thanq Manstis,I've referred and understood the content in the link.But,the
u
Wolfgang,
I suspect the need arose from within Guvnor.
You can define a DSL sentence such [then]Set the rate of interest to {rex}
= $loan.setRateOfInterest( {rex} )
Currently in Guvnor you can only enter literal values for DSL variables
whereas it'd be good to be able to specify {rex} as a
I don't understand your requirement.
I don't see any post-fixing of IDs in the source nor the data table itself.
On 5 January 2012 07:48, srinivasasanda srinivasasa...@gmail.com wrote:
Hi All,
How to retrieve the cell number(rule id) when i click the load template
data.
My actual
My advice would be to step back and check your worksheet with that in the
Matrix listener unit test.
The error you show is thrown when a column header does not contain a
recognised value.
On 4 January 2012 17:39, swaroop swaroop.o...@gmail.com wrote:
Laune,
I did check for the spaces, couldnt
https://github.com/droolsjbpm/drools/blob/master/drools-decisiontables/src/test/java/org/drools/decisiontable/SpreadsheetCompilerUnitTest.java
https://github.com/droolsjbpm/drools/blob/master/drools-decisiontables/src/test/resources/data/CustomWorkbook.xls
On 5 January 2012 15:46, Michael Anstis
Sure.
Project: drools-decisiontables
Class: org.drools.decisiontable.SpreadsheetCompilerUnitTest
Test: testLoadCustomListener
On 5 January 2012 15:29, swaroop swaroop.o...@gmail.com wrote:
Michael,
Can you specify the repository/trunk locn where i can find worksheet under
Matrix Listener
To avoid confusion, I would recommend a new JIRA be raised for this issue
(if it is different to the one already documented).
Can you provide a unit test to demonstrate the issue too please?
2012/1/5 Esteban Aliverti esteban.alive...@gmail.com
I think there is a mistake in redhat's bugzilla.
As an aside to Wolfgang's comments, it is possible to import DRL into
Guvnor.
Select Create New Package-Import from DRL file.
2012/1/4 Wolfgang Laun wolfgang.l...@gmail.com
20K rules is not excessive, and this number alone should not cause
out-of-memory exceptions. Mainly, this is due to
This is not possible at present.
5.4.0 should bring the ability to use DRL fragments (either guided or
free-format) as column definitions. A free-format DRL column would provide
what you need.
In the meantime, you might be able to consider using Templates in 5.3 that
already provide the ability
Both are scheduled for FUTURE work.
Neither are considered urgent from our perspective as we have other higher
priority work to complete first.
If these issues cause you problems we are always happy to accept community
pull requests.
With kind regards,
Mike
2011/12/22 gpa...@tsys.com
Any
It sounds like a bug to me.
Can you raise a JIRA (https://issues.jboss.org/browse/GUVNOR).
With kind regards,
Mike
On 22 December 2011 22:48, domingo sprabak...@gmail.com wrote:
Hi,
Thanks for your attention!!!..
I have a simple rule as follows ...
import com.sample.Message;
dialect
Not as far as I know, but it would be a good idea.
Jervis, IIRC the REST API doesn't provide for import of such coarse grained
artifacts (i.e. a whole repository)? What do you think?
2011/12/23 gpa...@tsys.com
Is it possible to push a repository import into a Guvnor instance?
What I am
.
https://issues.jboss.org/browse/GUVNOR-1792
I hope I can make a pull request soon :)
Cheers,
Toshiya
--
*From: *Michael Anstis michael.ans...@gmail.com
*To: *Rules Users List rules-users@lists.jboss.org
*Sent: *Wednesday, December 21, 2011 6:29:55 AM
*Subject
Just to add to what salaboy wrote, *all* LHS are evaluated as Facts are
inserted.
If I am not mistaken, ruleflow-group (like agenda-group) only controls what
activations (RHS) on the agenda caused by the evaluation of the LHS are
executed.
On 21 December 2011 15:24, Mauricio Salatino
The horizontal implementation is in
org.drools.decisiontable.parser.xls.ExcelParser.
If you look at the processSheet method you'll see it scans rows to build
the decision table.
A vertical implementation would need to obviously scan columns (and a pull
request for a community contribution would
Using a KnowledgeBuilder defaults to using
org.drools.decisiontable.DecisionTableProviderImpl. This in turn uses
org.drools.decisiontable.SpreadsheetCompiler that delegates to
org.drools.decisiontable.parser.xls.ExcelParser in its compile method. The
delegation uses a ExcelParser constructor that
a getter and a setter - my misundestanding.
M
On 19/12/2011 16:19, Michael Anstis wrote:
I'm not clear on what you are saying.
We reflect the methods of existing beans:-
- If the member has a getter it is available in the LHS
- If the member has a setter it is available in the RHS
Sorry but 5.1.1 is unlikely to be supported.
From what you describe I suspect there is a bug, however we are not likely
to backport.
Guvnor 5.3.0.Final is far superior to Guvnor 5.1.1 with regard to decision
table support and 5.4.0.beta1 even more so. I would suggest you upgrade.
With kind
You are not mistaken.
For POJO models we use reflection (class.getMethods) to determine whether a
Type's methods members are available in the LHS or RHS or both, according
to Java Bean conventions. Declarative models have their members available
in both the LHS and RHS by default as we generate
how do we allow the
user to set the value? Of course my comments are from a Guvnor perspective,
if you mean to change the way declared types work, then... well, we'll have
to change Guvnor anyway :)
2011/12/19 Mark Proctor mproc...@codehaus.org
On 19/12/2011 16:04, Michael Anstis wrote:
You
All file based loggers can split their content into multiple files when the
number of recorded events surpasses a given threshold.
It should be quite simple to modify this to be able to pause logging and
resume to a new file when unpaused.
sent on the move
On 18 Dec 2011 18:02, Mark Proctor
This is probably a question the answer for which could best be researched
on Google (other search engines are available).
A SAR is a Service MBean that allows you to integrate arbitrary services to
JBoss AS as MBeans. I'd therefore suggest you read up on using MBeans.
I won't even pretend to
See my reply to your other email.
On 15 December 2011 14:16, srinivasasanda srinivasasa...@gmail.com wrote:
Hi Sir,
I have another Problem Please try to give some suggestion.
how can i provide my Kbase object loaded with all packages is at one
context , and can i make it available to
What does the full trace show?
getBuilder().toString() should dump the cause for the failure to build the
package.
Or, iterate the collection calling the getMessage() on each error and see
what it says.
On 15 December 2011 14:55, Venkat ven12...@yahoo.com wrote:
Hi Manstis, I am now getting
Populate it from what?
The obvious answer would be to use GuidedDecisionTable52 (and related
classes) API direct, but that's not what I suppose you are looking for?
There was some debate (on IRC) recently whether /source should return DRL
or something else.
@Geoffrey (de Smet), did you change
Without seeing your full code I suspect you have more than one Customer in
Working Memory.
From what you have provided message Electric Service Interfaces are
required can only be thrown by one rule, that has only one condition -
checking a Customer object. Also message PAN Device list cannot be
this?
Thanks,
2011/12/15 Michael Anstis michael.ans...@gmail.com
Populate it from what?
The obvious answer would be to use GuidedDecisionTable52 (and related
classes) API direct, but that's not what I suppose you are looking for?
There was some debate (on IRC) recently whether /source should
That is correct.
Rules LHS is evaluated as rules are inserted.
Calling fireAllRules() causes the activations on the agenda (caused by
evaluation of the LHS) to be executed.
On 15 December 2011 16:00, freejava freeja...@gmail.com wrote:
Hello,
When I insert the object in the Statefulsession
Yikes!
This I had not even noticed.
Customer and ServiceContext should both be inserted as Facts.
Some rules might need to be re-written:-
rule Customer null check rule
no-loop true
salience 1000
when
not ( Customer() )
then
throw new
Yes, you should not be using globals to hold information you want to reason
over.
You can try re-writing the combined check to something like this:-
rule Customer and Service Context null check rule
no-loop true
salience 1000
when
not ( Customer() and ServiceContext() )
OK, let me step back.
Do you mean contexts of page, request and application in a single
web-application, or different contexts (i.e. applications) on a web-server?
If the latter why would you want to do that? Isn't it likely different
applications require different KnowledgeBases. In this
Sorry Vincent, nothing personal :)
Obviously everyone is free to assist in the community :)
2011/12/15 Vincent Legendre vincent.legen...@eurodecision.com
Hi all,
I'm not listed in people you would like to answer, but there is something
that could be the main problem here.
In your URL,
What is RegistrationDeregistrationPersistence?
Is it a Fact to be reasoned over or a verification service?
If a verification service I *would* use this as a global changing your rule
to:-
rule User Name validation check rule
when
$serviceContext : ServiceContext()
Across web-applications or single-application page\request\session?
On 15 December 2011 17:55, srinivasasanda srinivasasa...@gmail.com wrote:
Hi Manstris,
Exactly right , i want to i want same thing
--
View this message in context:
. Therefore, the parser can't unmarshall that XML into a
valid GuidedDecisionTable52 instance.
Regards,
2011/12/15 Michael Anstis michael.ans...@gmail.com
Sorry Vincent, nothing personal :)
Obviously everyone is free to assist in the community :)
2011/12/15 Vincent Legendre vincent.legen
What version of Guvnor are you using? Can you try with 5.3.0.Final? If the
problem remains can you raise a GUVNOR JIRA with a self contained test and
repository export?
sent on the move
On 14 Dec 2011 06:41, srinivasasanda srinivasasa...@gmail.com wrote:
Hi Manstis,
I created enumeration for
No, I'd encourage you to try 5.3.0.Final first.
There were fixes in the area you are experiencing the issue.
On 14 December 2011 08:46, srinivasasanda srinivasasa...@gmail.com wrote:
I'm using Guvnor 5.3.0 CR1.Should i raise JIRA??
--
View this message in context:
Please provide your rules.
On 14 December 2011 17:51, Venkat ven12...@yahoo.com wrote:
Hi, I am new to Drools and I have read about it and not mastered yet. I
have
written some rules and junit to test it. The rules works good and passes
the
test if ran individually, but if ranned all at
No, but it was mentioned on irc today that you can work around by creating
a global and assigning your working memory to it. Use the global in your
LHS.
sent on the move
On 14 Dec 2011 19:59, freejava freeja...@gmail.com wrote:
Hello,
I am a newbie to drools and I have a question on the
If PANDevice is null the eval will through a NPE.
Salience controls the order in which activation are executed not the order
rules' LHSs are evaluated. All rules' LHSs are evaluated as the facts are
inserted.
sent on the move
On 14 Dec 2011 20:23, Venkat ven12...@yahoo.com wrote:
Hi Laune,
Sorry, it's our internet relay chat channel, #drools. I forget the DNS name
but details are on our website.
It can be quicker sometimes than the mailing list but does depend in who's
online at the time.
sent on the move
On 14 Dec 2011 20:48, freejava freeja...@gmail.com wrote:
Micheael,
No they are not fixed yet.
I moved the two items to GUVNOR's JIRA:-
https://issues.jboss.org/browse/GUVNOR-1730
https://issues.jboss.org/browse/GUVNOR-1731
On 13 December 2011 09:59, srinivasasanda srinivasasa...@gmail.com wrote:
Is that issue is solved..Please help me if that bug is
You *should* be able to have your backend service return values as
display=value. TBH, I've not tried it personally but the internal
mechanics should be the same.
I'd be interested in your feedback so we can schedule improvements if
necessary.
On 13 December 2011 13:10, srinivasasanda
I've spent some time trawling grepcode and to be honest cannot find any
classes that look to achieve what you need in 5.0.1.
Why use such an old version? Your like if going to be difficult, asproven
by the general lack of answers to the many questions you have been asking.
On 7 December 2011
Hmm...
I just tried this, which worked a treat:-
manstis@manstis-ThinkPad-T510 Desktop [] $ mkdir test
manstis@manstis-ThinkPad-T510 Desktop [] $ cd ./test
manstis@manstis-ThinkPad-T510 test [] $ git clone g...@github.com:
droolsjbpm/drools.git
Cloning into drools...
remote: Counting objects:
/b0dd7d463f4840100c31b780e21d38a0bd89d87f
I saw it yesterday and fixed it:
https://github.com/droolsjbpm/drools/commit/61adf24d75bb867102ef3d5dd585eb49e8f58b82
https://github.com/droolsjbpm/drools/commit/845104196e5db4eb37dd7f7eea454a5cb0857039
Op 08-12-11 10:40, Michael Anstis schreef:
Hmm...
I just tried this, which
Section 9.2 REST API of Guvnor's documentation gives examples.
The URL pattern /packages/{packageName}/assets will provide a list of
assets.
You'll probably have to iterate the result to find an asset of the correct
format (org.drools.guvnor.client.common.AssetFormats contains a list).
URL
Package org.drools.guvnor.client.asseteditor.drools.factmodel contains the
model (class FactMetaModel represents a Fact type).
org.drools.guvnor.server.contenthandler.drools.FactModelContentHandler
handles the conversion to DRL.
These packages are as they are named in the current git master
Nope, rules don't have ID
sent on the move
On 6 Dec 2011 13:58, srinivasasanda srinivasasa...@gmail.com wrote:
Does every rule will have Unique Id(it has unique name).In the same
way,does
it have any unique name?If so,How can i retrieve that Id?
Can you please suggest me in this.
Thanks
What is the git URL you used?
drools-rulem1 does not match any of ours at https://github.com/droolsjbpm
2011/12/6 Laird Nelson ljnel...@gmail.com
I just did a git pull on the drools repositories and noticed that at
least one of the projects has the target directory checked in. Was this
Oh bugs sure, I think it should work as you expect too.
Can you raise a JIRAs for each of your individual problems at
https://issues.jboss.org/browse/GUVNOR and we'll get round to them as soon
as we can
Unfortunately we cannot really advise *when* we may get to fix them... but
community
Guvnor's screens to define a declarative Fact Model simply generate DRL.
Guvnor isn't as dynamic as the use-case you describe and hence we don't
have the same issues.
The API is what has already been discussed: create a DRL, use
KnowledgeBuilder or KnowledgeAgent to load these resources into
On the package editor screen there is a menu option to archive the package.
If you want to subsequently delete the package you need to visit the
Archive option within the Administration section on the left hand side menu
structure.
sent on the move
On 4 Dec 2011 05:32, softweave
Firstly, no you are not missing anything :)
What you describe does not sound like inheritance: more of a fall through
of assets from a top level package to lower sub-packages.
The Global Area would provide what you might be looking for - a place where
assets can be shared with other packages.
So, our Eclipse users have been very quite on this one :(
If you're able to document steps to replicate exactly what you're
experiencing we can try to have a look in more detail... but in reality
time is not our friend :(
With kind regards,
Mike
2011/11/28 Ronald Albury ronalb...@gmail.com
Interesting indeed, and something I was hoping somebody was going to easily
remedy.
However, it appears that this is perhaps a gap that should be closed.
Can you please raise a JIRA at https://issues.jboss.org/browse/GUVNOR.
Thanks,
Mike
On 23 November 2011 07:21, Welsh, Armand
/01/2011 05:48 PM, Michael Anstis wrote:
Firstly, no you are not missing anything :)
Hm, I kind of had hoped
What you describe does not sound like inheritance: more of a fall
through of assets from a top level package to lower sub-packages.
Yes, that's what I mean, and I could make up
I gather you want to display the packages and rules in your own application.
I would recommend use of the REST API. The Guvnor documentation has
examples.
On 30 November 2011 04:41, srinivasasanda srinivasasa...@gmail.com wrote:
Yes Mansits,I need to display the four packages which are present
Can you explain more what you want to achieve?
Do you mean you want to show the content of four packages in Guvnor at
once, or you have your own application?
If you have your own application I'd recommend looking into the REST API
available in Guvnor to retrieve a list of packages and their
Hi Ronald,
I am sorry to hear you are having such difficulties, but glad you have
reported them back to us so that we may help it fix where applicable.
I'll defer on 1) and 2) for now in case somebody with greater experience
with the Eclipse interface answers, but I assume you are using WebDav?
Guvnor only adds fields with getters for use in the LHS (and setters
for use in the RHS).
Ideally the field would be a Java enumeration (that Guvnor would allow use
of). Alternatively you can define a Guvnor enumeration for the field in
question.
Please feel free to raise a JIRA
If you can choose the Java Script engine, ie it is not necessarily a
browser implementation, you could try Mozilla Rhino - which AFAIK is the
basis of Java 6's scripting implementation.
If the Java Script application is client side in a browser use of a web
service of some description would be
What version of Guvnor are you using? There has been problems with some if
the older versions requiring (at least) a browser refresh but AFAIK this is
fixed in 5.3
sent on the move
On 25 Nov 2011 18:38, Ronald Albury ronalb...@gmail.com wrote:
Newbie issue:
I created a package, com.scs.test
Yes that would be the case. Creating the model asset merely make the
container. You upload/attach the content and then save.
I hope you and Guvnor become good friends ;)
sent on the move
On 25 Nov 2011 20:24, Ronald Albury ronalb...@gmail.com wrote:
I found it.
It is not enough to import
Why not use a Fact that contains your result?
In DRL terms it'd look like this:-
rule one
when
$r : Result( $score : score )
Applicant( numberOfLoans 1 )
then
$r.setScore( $score + 5 );
update( $r );
end
rule two
when
$r : Result( $score :
Guvnor is localised to the following locale:-
- es_ES
- fr_FR
- ja_JP
- pt_BR
- zh_CN
The default language for messages etc when no locale is provided (or is
unavailable) is English.
Provided you are using the downloaded WAR, or you have compiled from source
using the full
of setScore()
and then add 1 general rule to accumulate all those ScoreDiffs and put the
resulting score into the Result.
Op 23-11-11 10:56, Michael Anstis schreef:
Why not use a Fact that contains your result?
In DRL terms it'd look like this:-
rule one
when
$r : Result( $score
Based upon the log the diabetes related decision table might not be valid.
There also appears to be a problem deserialising a BPMN2 process.
I suggest you try building and validating the package to try and find
errors.
sent on the move
On 18 Nov 2011 20:52, gs gshrestha1...@gmail.com wrote:
Just a random thought but would the declarative agenda (for 5.3?) provide
any help?
sent on the move
On 18 Nov 2011 21:23, Jamie js...@llbean.com wrote:
I don't think you can reference a fact in the enabled condition. There's
also no way to get a reference to the current rule like you can in
Sure.
It's a simple (partial) solution for having a rule match in the absence of
any other rules matching.
It only works for columns with literal values and either the equals or
not equals operator. In essence it builds a in or not in DRL
statement.
Section 4.10.1.4 Operation of otherwise in
The patch has not been applied yet.
@esteban, did you modify to (a) include the other two changes, (b) a
test-case?
Cheers,
Mike
2011/11/16 Esteban Aliverti esteban.alive...@gmail.com
I think you are fighting with this known bug:
https://issues.jboss.org/browse/GUVNOR-1699
Take that back.
I see ge0ffrey merged
On 16 November 2011 17:51, Michael Anstis michael.ans...@gmail.com wrote:
The patch has not been applied yet.
@esteban, did you modify to (a) include the other two changes, (b) a
test-case?
Cheers,
Mike
2011/11/16 Esteban Aliverti
@esteban
But the other two Response.ok(...).header(...) should be fixed and
submitted as another pull request, please :)
And the test - if you have one.
:)
On 16 November 2011 17:54, Michael Anstis michael.ans...@gmail.com wrote:
Take that back.
I see ge0ffrey merged
On 16
801 - 900 of 1357 matches
Mail list logo