Requirement:Equip to tasks scheduling.Earlier tasks may not exceed a waittime
to latest endtime for each job.
2 JOBs to plan each with 2 identical TASKs with only 1 EQUIPMENT anchor:
J1 comprises T1,T2 and J2 comprises T1,T2.
problemFact:EQUIPMENT E1
planning
Hi Paul,
Can you copy paste your rule?
On 17-04-13 12:15, Paul T wrote:
Requirement:Equip to tasks scheduling.Earlier tasks may not exceed a waittime
to latest endtime for each job.
2 JOBs to plan each with 2 identical TASKs with only 1 EQUIPMENT anchor:
J1 comprises T1,T2and
Hi,
I am new in guvnor, please help me
my code are bellow
package com.sample;
import org.drools.KnowledgeBase;
import org.drools.RuleBase;
import org.drools.WorkingMemory;
import org.drools.agent.KnowledgeAgent;
import org.drools.agent.KnowledgeAgentFactory;
import org.drools.agent.RuleAgent;
What is line 34?
On 17 April 2013 14:04, himansh himanshsrivast...@yahoo.com wrote:
Hi,
I am new in guvnor, please help me
my code are bellow
package com.sample;
import org.drools.KnowledgeBase;
import org.drools.RuleBase;
import org.drools.WorkingMemory;
import
Hi everyone,
I'm relatively new at rule development and I'm having a problem tryin' to
implement one in particular.
I need to capture some events that they've got the same AttributeA and got
more than 9 AttributeB Objects (excluding one type in particular) in one or
more events.
*Model:*
Class
I am using Drools 5.5 with persistence. If I create a session like:
ksession = kbase.newStatefulKnowledgeSession(null,env);
My logger works as expected:
KnowledgeRuntimeLogger klogger =
KnowledgeRuntimeLogger.newFileLogger(ksession,run)
HOWEVER, if I create the ksession like:
It turns out if a use a threaded file logger, it works (no idea why):
KnowledgeRuntimeLoggerFactory.newThreadedFileLogger(ksession,krun,500)
--
View this message in context:
http://drools.46999.n3.nabble.com/Does-KnowledgeRuntimeLogger-work-with-persistence-tp4023372p4023374.html
Sent
Hi,
When I try to instantiate an Excel Decision Table using Drools + Spring
(kresource), I get this error :
REMARK: the file is the same as we have in Drools Unit Test (decision-table)
Error :
Caused by: java.lang.IllegalArgumentException: Your InputStream was neither
an OLE2 stream, nor an
It could be related with the location of the file: classpath:data/
IntegrationExampleTest.xls
Are you sure that the file is being picked up?
On Wed, Apr 17, 2013 at 6:05 PM, Charles Moulliard ch0...@gmail.com wrote:
Hi,
When I try to instantiate an Excel Decision Table using Drools +
As the file exists under target/classes directory, that should be the case
/target/classes/data/IntegrationExampleTest.xls
On Wed, Apr 17, 2013 at 11:11 PM, Mauricio Salatino sala...@gmail.comwrote:
It could be related with the location of the file: classpath:data/
Can you try pointing to a non existing location? to see if you get the same
error?
On Wed, Apr 17, 2013 at 6:30 PM, Charles Moulliard ch0...@gmail.com wrote:
As the file exists under target/classes directory, that should be the case
/target/classes/data/IntegrationExampleTest.xls
On
if i change the name (file tobe loaded) then it fails
Caused by: java.io.FileNotFoundException:
'data/IntegrationExampleTesti.xls' cannot be opened because it does not
exist
at
org.drools.core.io.impl.ClassPathResource.getURL(ClassPathResource.java:168)
at
Know the reason. Maven when it copy it to the target directory modifies it.
Will investigate why.
On Wed, Apr 17, 2013 at 11:46 PM, Charles Moulliard ch0...@gmail.comwrote:
if i change the name (file tobe loaded) then it fails
Caused by: java.io.FileNotFoundException:
Great! Good luck!
On Wed, Apr 17, 2013 at 6:53 PM, Charles Moulliard ch0...@gmail.com wrote:
Know the reason. Maven when it copy it to the target directory modifies
it. Will investigate why.
On Wed, Apr 17, 2013 at 11:46 PM, Charles Moulliard ch0...@gmail.comwrote:
if i change the name
If you place the xls file inside src/main/resources it should be picked up
for both, the test and the spring configuration
On Wed, Apr 17, 2013 at 7:13 PM, Mauricio Salatino sala...@gmail.comwrote:
Great! Good luck!
On Wed, Apr 17, 2013 at 6:53 PM, Charles Moulliard ch0...@gmail.comwrote:
Hi Upal, I've been trying to model your use case in what seems the best
currently supported mode. (Un)fortunately this uncovered a little bug in
the engine,
I'll get it fixed and then I'll get back to you.
As for the fuzzy logic extension, I have a partially working PoC
Hi,
System.out.println(ruleBase.getFactType(org.sample,NumberTest));
In above line org.sample is package and NumberTest is fact type name
--
View this message in context:
http://drools.46999.n3.nabble.com/facing-problem-in-KnowledgeAgent-tp4023368p4023384.html
Sent from the Drools: User
17 matches
Mail list logo