good morning sir,
first of all
i am very thankful to your support,
but it is not working properly, first of all i want to explain my
requirements
please pay little time for me
I have 1000 records of some data like sales amount
I have two rules like below
rule Mr First Rule
salience 100
when
This sounds as though it's a bug.
Can you please create a JIRA (https://issues.jboss.org/browse/GUVNOR) and
attach a repository export demonstrating the issue.
Thanks,
Mike
On 11 October 2012 06:06, bhochhi bhoc...@aol.com wrote:
I were able to launch the custom form in DSL, however the rule
Hey sai,
First of all make sure whether you will be having a list of objects
containing salesAmount or list of salesAmount.
If you are having a list, then your list should also be present in the WHEN
condition, such that when the state of your list changes then the rule gets
fired !!
Regards,
let me clear this by following code
public static void main(String[] args){
KnowledgeBase knowledgeBase = createKnowledgeBase();
ArrayListSalesAmount testSalesAmounts= getSalesAmount();
StatefulKnowledgeSession session =
knowledgeBase.newStatefulKnowledgeSession();
Hi,
a nice problem... see below
On 12/10/2012, mohan mohan.narang...@gmail.com wrote:
Hi laune,
I'll explain the process briefly. I’m getting voice call events from our
billing system. We want give some offers if call made inside specific cell
(uploaded this fact to WM in advance) . But we
Hi laune,
really appreciate your valuable time dedication on this.
Yes I did a mistake that there is no NotificationEvent and that should be
OfferedEvent.
Primary keys of the OfferedEvent are mobileNo offerId. i.e should not
send particular offer notification to perticuler mobile within next
Op 11-10-12 21:34, Schneider, Bill
schreef:
Geoffrey,
Thanks for the
quick response.
As Im learning
more about my scenario, it feels more like a mixed-integer
A rule like
when
sales : Sales (salesAmount =200)
then
sales.setSalesMessage(goodsales);
end
will not trigger any new evaluation because the engine can't detect the
change. You'll need to make the engine aware of the change :
when
sales : Sales (salesAmount =200)
then
modify (sales)
Geoffrey,
Thanks, this was very helpful.
--Bill
From: rules-users-boun...@lists.jboss.org
[mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Geoffrey De Smet
Sent: Friday, October 12, 2012 11:11 AM
To: Rules Users List
Subject: Re: [rules-users] Drools Planner for purchasing optimization
Thanks Mike!
I created the JIRA. https://issues.jboss.org/browse/GUVNOR-1956.
Regards
Rupesh
--
View this message in context:
http://drools.46999.n3.nabble.com/Custom-Form-with-DSL-tp4020207p4020250.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
Is there a way to pass the editing context to the custom form? For
example, in the rule below:
[when] type of mineral is {mineralName:CF:Mineral.name}and country of
mining is {countryName:CF:Country.name}
If the mineral Quartz is selected, then the custom form displaying the
country list
FactType (and FactField etc..) are an internal representation of a declared
type's CLASS, hence you can get names, types, etc.. but obviously NOT any
instance's values from there.
You'll need something like this:
FactType factType = ksession.getKnowledgeBase().getFactType(pckg, Project)
Stefano Bragaglia wrote
Hi guys,
I just realised that it is not possible to take advantage of the
default time handling and access the timestamp value at the same time.
Agreed, one may want to write both qualitative ( A after B ) and
quantitative constraints ( A.time x ) on an event.
Hi,
I'm migrating rules from a Guvnor 5.2.x site to the new beta, I did this by
exporting the old repo and importing in the new one.
I can see the packages and rules OK now in the new 5.5 Beta 1, creating
snapshots works OK. But build does not, I get an:
500 The call failed on the server;
You are following the recommended migration approach.
Does the server log show anything more interesting than that in the pop-up?
On 12 October 2012 20:14, alopez alo...@termmed.com wrote:
Hi,
I'm migrating rules from a Guvnor 5.2.x site to the new beta, I did this by
exporting the old repo
Thanks, and I forgot to explain that, the console in the server is completely
silent, if I create a snapshot I can see some Info messages displaying,
but when building and the error appears the console has no messages.
--
View this message in context:
What about the log file created by your Application Server?
e.g. Tomcat places them in /apache-tomcat-6.0.30/logs; JBoss AS7.1 in
/jboss-as-7.1.1.Final/standalone/log
You may need to refer to your Application Server's documentation.
On 12 October 2012 20:39, alopez alo...@termmed.com wrote:
Yes, that is the one we are monitoring (tomcat in this case), we see this:
INFO 12-10 11:58:59,435 (LoggingHelper.java:info:49) USER:admin
CREATING MODULE SNAPSHOT for module: [ihtsdoBaseRules] snapshot name:
[ihtsdoBaseRules
but it does not show anything new if we try to build...
--
OK, strange, but I have no reason to doubt you.
We will need your repository export file to investigate further, or at
least a minimal 5.2 export that demonstrates the problem.
Please raise a JIRA (https://issues.jboss.org/browse/GUVNOR) and attach the
same.
With kind regards,
Mike
On 12
Thanks, will do that.
--
View this message in context:
http://drools.46999.n3.nabble.com/5-5-Beta1-Guvnor-Issue-500-The-call-failed-on-the-server-tp4020260p4020266.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
Has this issue been fixed, or is it still necessary to remove any event
listeners so that the session is freed?
--
View this message in context:
http://drools.46999.n3.nabble.com/java-lang-OutOfMemoryError-Java-heap-space-tp54778p4020267.html
Sent from the Drools: User forum mailing list
21 matches
Mail list logo