Thanks a lot Edson . The below approach worked like a charrm :). I went with
the second approach
Client( languages.keySet contains "Japanese", $lang : language["Japanese"]
)
Regards,
Akash
From: Edson Tirelli
To: Manav ; Rules Users List
Sent: Wed
Hi Wolfgang,
I believe both suggestions (mine and yours) are equivalent, just
different ways of writing down the solution for the problem. If you identify
any significant difference in the results, please let me know... :)
Edson
2010/8/11 Wolfgang Laun
> 2010/8/11 Edson Tirelli :
>
Thanks for replying. I actually read the post, but I thought the answer
referred to update sites regarding candidate releases - not finals as well.
But probably I got it wrong.
Sorry for the noise!
-Ursprüngliche Nachricht-
Von: rules-users-boun...@lists.jboss.org
[mailto:rules-users-bou
Hi,
I am using bitronix transaction manager for oracle through tomcat... i
have set the transaction manager as follows :
and finally passing this wrapped JtaTransactionManager to drools
I had the same question... see the response from drools team from the below
post
http://drools-java-rules-engine.46999.n3.nabble.com/Drools-IDE-Update-site-link-for-5-1-CR1-td1009065.html#a1009065
-drooRam
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com
2010/8/11 Edson Tirelli :
>
> "Group by" is implicit in rules, just by writing patterns in order. So,
> if you write a rule that starts with Customer(), it will automatically do a
> "group by" customer:
> when
> Customer(...)
> ...
> then
Hmm, I think vijrams meant "grouping of the accumu
Did you tried this?
Client( $lang : language["Japanese"] != null )
This will bind $lang to the value associated with the key "Japanese" on
the "languages" map and at the same time check that the value is not null.
If you want to explicit test if there is a key "Japanese" in the map,
"Group by" is implicit in rules, just by writing patterns in order. So,
if you write a rule that starts with Customer(), it will automatically do a
"group by" customer:
when
Customer(...)
...
then
"Distinct" is a bit problematic, as we have no explicit distinct
functionality (I have
If you need the value on the RHS, you can use s.th. like
lang.get("Japanese")
or
$c.getLanguage().get("Japanese")
If you want to match the value in a subsequent pattern, you
could use an eval() or similar; since you don't show what you
need the value for, I'll not enumerate all possibilities
Hi,
Just to add on some information.
I have tried to do the following and had the following findings.
on the gwt-console-server-drools.war, I have extracted and remove
ChangeSet.xml from drools-gwt-console-5.1.0.jar onto the classpath.
Thus, allow me to change the element's attributes value for
Hello,
Is it possible to use the "Process Instance" View with a Knowledge Base created
in a Osgi Runtime?
Thanks for this nice project!
Regards,
Per
--
Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief!
Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail
___
Hi,
is there any reason why 5.1. final Eclipse Workbench is not put into an
Update Site? Sure it is possible just to drop in the content of the zip, but
I think Update Sites are far more comfortable :-)
Furthermore, there actually is an Update Site - but it's kind of empty...? On
purpose?
With an additional class PurchaseSum
List customers;
... purchaseDate;
... custNo;
... sum;
}
you can write these rules;
rule "insert PurchaseSum"
when
Customer( $pd : purchaseDate, $cn : custNo )
not( PurchaseSum( purchaseDate == $pd, custNo == $cn ) )
then
insert( new
Hello,
there are another ways to create Drools as SOAP Web Service. I created my
Drools project as JAR. Then I loaded it to another project - AXIS2-based Web
Project (SOAP). I created facade to my Drools object (defined in JAR) in
this SOAP project. And now, I can use it as SOAP Web Service :)
gr
Hello,
if I were you, i would try installer. It helped me - it is ANT - based
script, which installs you all Drools tools (from Eclipse with plugins to
Guvnor, GWT, and so on). It also configures all Drools tools, so all is
running well after installation.
Good luck!
tom
--
View this message in
15 matches
Mail list logo