___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
You can collect objects of both classes with matching id and date.
Each of these collected objects has the original id and date a list of
amount figures.
Pairing the collected object from repository and accounting is simple.
Then, you'll have to implement an algorith that selects the items from
bo
I posted a class doing that a few days ago on this list. The problem
is that it relies on classes in Drools' instable API, and it was originally
written around 5.1.1, so it may have "aged" some.
-W
On 13/12/2011, ronalbury wrote:
> Is there a cross reference utility, that will allow me to easily
Hi Manstis,
I created enumeration for states and countries as
'Address.country':(new com.sample.DataList()).getMyCountriesList()
'Address.state[country]' : '(new
com.sample.DataList()).getStateList("@{country}")'
It is showing drop-down list in guided rule editor for countries as
US,UK,I
Mark, can you share your insight on this?
-
Ivan, your Panda, forever
--
View this message in context:
http://drools.46999.n3.nabble.com/MVEL-the-data-converter-does-not-work-tp3581797p3584585.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
__
I solved the problem.I concatenated Country Id and Country name with = sign
in between so it became A01=USA,A02=UK.and this list Iam passing to
Guvnor.In that guvnor,USA UK is being displayed in GUI where A01,A02 are
being used as backend.
Now to retrieve states when Iam passing countryname in
Hi Mark,
Yes I tried, it does not work well, it told me I subscribed it successfully
but all the messages I sent to the mail list were ignored so thinking the
forum would be easier for posting/sharing/searching.
-
Ivan, your Panda, forever
--
View this message in context:
http://drools.46
On 14/12/2011 02:46, kapokfly wrote:
> As I did not see a forum for MVEL, and questions about MVEL in this forum
> often got ignored, I created a new forum
> http://mvel-users.2313344.n4.nabble.com/ for MVEL users only.
MVEL mailing lists already exists here:
http://xircles.codehaus.org/projects/mv
i want to find txns from both sides whose portfolio asset and sum of amt
are the same.
在 2011-12-14 上午9:18,"Salaboy" 写道:
> Do you want to compare to set of transactions to find which of them are in
> both sets and which of them are not?
> Is that what are you trying to achieve?
> Cheers
>
> - CTO
As I did not see a forum for MVEL, and questions about MVEL in this forum
often got ignored, I created a new forum
http://mvel-users.2313344.n4.nabble.com/ for MVEL users only.
-
Ivan, your Panda, forever
--
View this message in context:
http://drools.46999.n3.nabble.com/MVEL-Users-forum-M
Do you want to compare to set of transactions to find which of them are in both
sets and which of them are not?
Is that what are you trying to achieve?
Cheers
- CTO @ http://www.plugtree.com
- MyJourney @ http://salaboy.wordpress.com
- Co-Founder @ http://www.jbug.com.ar
- Mauricio "Salaboy" Sal
any more details to share about ur approach?
在 2011-12-14 上午1:19,"David Green" 写道:
> Yes. I have consulted at very large companies that do this constantly in
> production. One reason to do this process all the time is to keep the pool
> of candidates for matching manageable.
>
> --
> View this m
On 13/12/2011 21:48, ronalbury wrote:
> Is there a cross reference utility, that will allow me to easily find the
> rules which reference a specific class and/or specific attribute? I'm
> hoping for something like the standard Java 'references' report.
>
> I'm guessing (based on what I've read) th
Is there a cross reference utility, that will allow me to easily find the
rules which reference a specific class and/or specific attribute? I'm
hoping for something like the standard Java 'references' report.
I'm guessing (based on what I've read) that the Drools compiler generates a
bunch of Jav
Good catch. The diagram is wrong. It should be as it is stated in the
documentation.
Edson
On Tue, Dec 13, 2011 at 2:47 PM, Mike Melton wrote:
> Thank you, Edson.
>
> I saw the written documentation but since the default after interval
> is [1ms, infinity], I wanted to check for the spe
Hello Droolers,
Here is my Scenario:
public class Parties {
protected List party;
}
public class Party {
protected IdentificationGroup idGroup;
}
public class IdentificationGroup {
protected String partyType;
}
I have a collection of "Party" objects in the statefulsession
I see in the drools server
knowledge-services.xml and throughout the documentation. But, my app can't
compile because that is undefined. I looked in drools-spring.xsd and
spring-beans.xsd (the two namespaces defined in that file), but no joy. Am
I just blind?? Anyone know where it is defined?
You are using that in your drools application? I am basically trying to do
the same thing but using the drools server. I'd really like the ksession as
the server needs to have as good a turn around as possible.
Anyone know how to configure sequential mode via Spring?
Thanks
--
View this messag
I've inherited a rule engine implementation based on Drools 4.0.7 in
which we're seeing a portion of rules failing to fire after we
serialize then deserialize rules and facts across the restart of our
application server.
Here is our current implementation:
serialization
===
1. All facts a
Thank you, Edson.
I saw the written documentation but since the default after interval
is [1ms, infinity], I wanted to check for the specific [0, infinity]
case that there wasn't a better suited operator.
I do have a (somewhat related) question about the documentation when
compared to the diagram
Your use of the after operator is correct. The documentation tells you
about that, although in textual form:
http://docs.jboss.org/drools/release/5.3.0.Final/drools-fusion-docs/html_single/index.html#d0e611
This presentation has the 2 tables of operators:
http://www.slideshare.net/ge0ffrey
Are you using
// clean up after session
ksession.dispose();
We had the same symptoms before we started using dispose() to clean up the
session.
Good luck,
John Perrin
-Original Message-
From: rules-users-boun...@lists.jboss.org
[mailto:rules-users-boun...@l
Hi, I'm using drolls 5.3 server with one rule in a _stateless_ session. I am
sending a POJO to the server, having it check a few attributes, modify the
attributes of the bean as needed then return the result. I have this
working and get back an execution results object like I need.
The problem
There are a few things going on in these discussions: rule "size" vs number
of facts vs number of rules.
On the latter two, memory thrashes and then crashes when too much is brought
into memory at once. You can use JVM options to increase memory size,
variable space size, etc. The upper limit fo
Yes. I have consulted at very large companies that do this constantly in
production. One reason to do this process all the time is to keep the pool
of candidates for matching manageable.
--
View this message in context:
http://drools.46999.n3.nabble.com/rules-users-Many-to-many-matching-using-Dr
Apologies for the stupid question, but I haven't seen anything in the
documentation regarding this and I want to verify my solution. Say I
have a point-in-time event (i.e., duration of 0) that I want to
correlate to another point-in-time event. I want a rule that will
activate if the timestamp of o
Thanks Laun. Let me provide more details here.
Repository record schema:
# ,Portfolio_ID, Asset_ID, Due_Date, Received_Amt
1 ,1 , 001, 111209, 1
2 ,1 , 001, 111209, 5000
3, 1 , 001, 111209, 3000
4, 2
Note - I typed RHS by accident in the first posting ... clearly I am talking
about the LHS
--
View this message in context:
http://drools.46999.n3.nabble.com/Strange-error-in-DRL-compiler-tp3582691p3582802.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_
I can't get it to accept this LHS at all:
when
$ea : EasyApp((priBen_xmPartyList.size() !=
priBen_xmRelationList.size())
|| (priBen_xmPartyList.size() !=
priBen_eaRelationshipNameList.size()))
Description Resource
I have seen a few posts on this, but nothing that seems to solve it.
I have used drools.net working successfully locally in a windows app with
the following code:
PackageBuilder builder = new PackageBuilder();
Stream stream =
Assembly.GetExecutingAssembly().GetManifestResourceStream("MinimalDro
John,
All you need to do is create an account for yourself in the JIRA home
page and you will be able to create the ticket and upload your project.
That is the best way as it provides tracking and avoids your code being
lost in someone's (or my) inbox.
https://issues.jboss.org/browse/JBRULE
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 wrote:
Edson,
Thanks for your feedback. I've have created an eclipse/maven project to
duplicate this problem but I couldn't figure out how to open an issue in Jira
(perhaps I don't have permission).
If I include all the dependent libraries in a zip file (for convenience) the
zip will be 7MB (which
Thomas:
Yes, that explains why you implemented it as you did. I guess we'll just
have to agree to disagree.
It appears possible to replace the Expander when bringing up the system in
Java ... is it possible to replace the Expander used by the Eclipse plug-in?
Thanks,
Ron
--
View this messag
The following RHS is valid:
when
$ea : EasyApp(agt_eaList.size < 1)
The following RHS is not valid:
when
$ea : EasyApp(agt_eaList.size < 1 || agt_eaList.size > 3)
I have to do this to make the RHS valid:
when
$ea : EasyApp(a
Huh?
-W
2011/12/13 Zhuo Li :
> Folks,
>
>
>
> I am recently working on a BI project which is doing reconciliation between
> repository and accounting. I'm using Drools 5.1.1 to maintain all these
> matching rules. One scenario I have no clue to implement in Drools is that I
> need to find x transa
2011/12/13 Milanello1998 :
> Folks, I am recently working on a BI project which is doing reconciliation
> between repository and accounting. I'm using Drools 5.1.1 to maintain all
> these matching rules. One scenario i have no clue to implement in Drools is
> that I need to find x transactions from
Folks,
I am recently working on a BI project which is doing reconciliation between
repository and accounting. I'm using Drools 5.1.1 to maintain all these
matching rules. One scenario I have no clue to implement in Drools is that I
need to find x transactions from repository, to match y transa
Folks, I am recently working on a BI project which is doing reconciliation
between repository and accounting. I'm using Drools 5.1.1 to maintain all
these matching rules. One scenario i have no clue to implement in Drools is
that I need to find x transactions from repository, to match y transaction
Hi,
I have a declarative model with a fact named Person with
field*(country,state)*
I have seen in guvnor documentation that
'Board.type':['short','long','NN=MIn Mal']
Min Mal will be displayed in GUI where as NN will be used backend
In the sameway,I need to use country ids instead of countryna
> Personally - I would rather get an error when I make a mistake (e.g. do not
> write the DSL correctly) than get get an error for writing perfectly valid
> code.
[Swindells, Thomas] But it isn't valid DSL code. DSL is normally written by
business users who don't know anything about DRL, this is
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 wrote:
> Is that issue is solved..Please help me if that bug is solved.
>
> --
> View this mes
For this particular cases, if I modify the safeEquals method to be something
like this, the test case would success, what is the disadvantage to add
converters like this, any hint?
private static Boolean safeEquals(final Object val1, final Object val2)
{
if (val1 != null) {
Is that issue is solved..Please help me if that bug is solved.
--
View this message in context:
http://drools.46999.n3.nabble.com/rules-users-Guvnor-data-enumeration-issue-tp3460017p3581924.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_
Sorry Esteban,I've repeated that post again.Will not do it again..
Thanks
--
View this message in context:
http://drools.46999.n3.nabble.com/Listing-all-packages-present-in-gunvor-repository-tp3581480p3581803.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
__
Can someone tell why the data converter does not work at all and what is the
reason we make the data converter to value assignment statement only?
public void testDataConverter() throws Exception {
OptimizerFactory.setDefaultOptimizer(OptimizerFactory.SAFE_REFLECTIVE);
DataConversion.a
Sorry, here is the post where part of this question is answered:
http://drools.46999.n3.nabble.com/Fact-Names-in-a-Model-td3572234.html#a3581479
Best Regards,
Esteban Aliverti
- Developer @ http://www.plugtree.com
- Blog @ http://ilesteban.wordpress.com
This is the third post I read today about this topic and of the same author
:) Please try to avoid replication. It makes it very hard for other users
looking for information.
Best Regards,
Esteban Aliverti
- Developer @ http://www.plugtree.com
- Blog @ ht
Part of the solution was mentioned here:
http://drools.46999.n3.nabble.com/Listing-all-packages-present-in-gunvor-repository-td3581480.html
(maybe
the response didn't appear in nabble yet)
If you don't want to maintain your change-sets in your applications, then
you need to wait until this pull-re
Even if you get the packages using REST API, you still need to add them to
a kbuilder (you don't need to have multiple kbuilders. 1 kbuilder can
contain multiple packages).
What you can do if you don't want to manually add all the packages to a
kbuilder is to create a change-set, which is basically
50 matches
Mail list logo