Hi Jean!
Dne 13. dubna 2010 19:41 Jean-Denis Maroie [via Drools - Java Rules Engine]
> napsal(a):
>
> In the test scenario I want to create a list of objects and apply some
> rules on it. But Im unable to create my list in the test scenario. When I
> have to enter the value of the method "add"
Hi,
I am trying to get working persistence for workflow and also for audit
trail. What really confuses me is why for workflow you use JPA and for
auditing Hibernate (chapters 5.1 and 5.3 in the
https://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/trunk/target/docs/drools-flow/h
.jboss.org
> [mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Libor Nenadál
> Sent: 13 November 2009 13:59
> To: rules-users@lists.jboss.org
> Subject: [rules-users] Guvnor Test Scenario - value equality
>
>
> Hello, I came to a prob
Hello,
I came to a problem when scenario fails because field values do not equal to
those expected although they actually do. Here is the result after scenario
run:
[TransactionBatch] field [otherPartyAccountNumber] was [12345678] expected
[12345678].
[TransactionBatch] field [otherPartyAccountSu
tance" (without
the quotes).
Cheers,
Libor
Libor Nenadál wrote:
>
>
> Garner, Shawn-3 wrote:
>>
>> 2) How do you use the test scenarios with complex object structures?
>> -eg Create a fact in working memory that has another Object in it which
>> in
I am not
experienced in GWT.
Thanks,
Libor Nenadál
--
View this message in context:
http://www.nabble.com/questions-on-guvnor-and-drools-5.0-tp23821810p24971311.html
Sent from the drools - user mailing list archive at Nabble.com.
___
rules-use
. If you want to exploit those properly in a rule engine,
> best to use real relations.
>
> Mark
> Libor Nenadál wrote:
>> Mark Proctor wrote:
>>
>>> We can exploit cartesian products and indexing for == constraints. If
>>> its a nested model we have to
Mark Proctor wrote:
>
> We can exploit cartesian products and indexing for == constraints. If
> its a nested model we have to iterate over all possible instances. The
> other problem is if the nested model changes the engine has no idea this
> has happened, which if you are not careful can le
Hi Pardeep,
you cannot nest rules. You can solve the situation with 2 rules like:
rule "big amount discount"
when
Basket( total > 4000 )
discount: Discount()
then
discount.percentage = discount.percentage + 20;
end
rule "preferred time discount"
when
Clock( 6 < time < 9 )
The problem with BigDecimal is this:
(new BigDecimal("43.0")).equals(new BigDecimal("43")) is evaluated to false
but
(new BigDecimal("43.0")).compareTo(new BigDecimal("43")) is evaluated to 0
=> they are equal
Note that you should use String in constructor instead of double otherwise
you get some
Hello,
I want to ask if there are any news in this area. Localization of BRMS
(Guvnor) is the first step, but localization of rules would mean more
complex changes in the way the DSL is stored and used. Is there any ongoing
work in this area or is it suspended for now?
Cheers,
Libor
Fernando Me
11 matches
Mail list logo