Re: [rules-users] Building from source

2010-04-16 Thread Robert
Hi, if I had known the -DskipTests flag, because if you leave this away (as in the doc) you get errors. I removed the tests by hand and then it worked. So, I am currious if you leave the skipTests-flag away if it works. Cheers, Rob. Am 16.04.2010, 02:21 Uhr, schrieb Esteban Aliverti

Re: [rules-users] Resuming Flow: NPE when completing a work item

2010-04-16 Thread slawlor
Thanks for the fix. Steve -- View this message in context: http://n3.nabble.com/Resuming-Flow-NPE-when-completing-a-work-item-tp716847p723392.html Sent from the Drools - User mailing list archive at Nabble.com. ___ rules-users mailing list

[rules-users] roud...@gmail.com

2010-04-16 Thread rudolf michael
roud...@gmail.com ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

Re: [rules-users] Drools Planner - How often are the Move Factory classes called?

2010-04-16 Thread Samuel Deballon
Hi, If your class extends CachedMoveFactory, the drools planner will call your move factory only once at start. But if it extends AbstractMoveFactory, the drools planner will be call at each step Samuel CSC • This is a PRIVATE message. If you are not the intended recipient, please delete

Re: [rules-users] Fwd: Double Handling

2010-04-16 Thread Ade Timi
Changing the method name solved the build error problem. But now I'm having my initial number comparison problem. I am using a rule flow that runs preset 1st and then customer details. It is acting weird in that it never runs customer details with the cpointer == 2 condition. It only runs it

Re: [rules-users] Fwd: Double Handling

2010-04-16 Thread Wolfgang Laun
Well, I already suggested to you that the Drools Engine must be *informed*about changes to facts if these changes should trigger any rules. In rule Preset you have $d.preset($i); but this must be written as modify( $d ){ preset( $i ); } -W 2010/4/16 Ade Timi

[rules-users] Drools flow definitions

2010-04-16 Thread rudolf michael
Hello there, After installing Drools and playing around with the KnowledgeBase and sessions, i was able to do a proof of concept to act as a Workflow Engine. It seems this is a good engine with lots of features included. I am still a newbie, what i couldnt find though is the Drools flow/xml

Re: [rules-users] Drools flow definitions

2010-04-16 Thread Mauricio Salatino
Hi Rudolf, In Drools Flow you don't need to deploy your processes into a Database. We have drools guvnor to store our process definitions. Then you can configure Drools Flow to use a database to maintain the runtime status of your business processes. Greetings! 2010/4/16 rudolf michael

Re: [rules-users] Fwd: Double Handling

2010-04-16 Thread Edson Tirelli
Yes, Wolfgang is right. Just don't use ; inside the modify block: modify( $d ) { preset( $i ) } Edson 2010/4/16 Wolfgang Laun wolfgang.l...@gmail.com Well, I already suggested to you that the Drools Engine must be *informed*about changes to facts if these changes should trigger

Re: [rules-users] Fwd: Double Handling

2010-04-16 Thread Ade Timi
Thanks guys. Another lesson learnt! _ From: rules-users-boun...@lists.jboss.org [mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Edson Tirelli Sent: 16 April 2010 14:39 To: Rules Users List Subject: Re: [rules-users] Fwd: Double Handling Yes, Wolfgang is right. Just

[rules-users] Drools Flow: Another problem with Human Task

2010-04-16 Thread HMandic
Hi, I need some help here. I have a simple process with one human task. That human task work item has all the necessary fields filled (actorid, id, name, etc.). When I start that process it gets to that human task and fills everything it needs in the database (Postgres) through hibernate. Up

Re: [rules-users] From RuleAgent to KnowledgeAgent

2010-04-16 Thread Luiz Eduardo Guida Valmont
Esteban, That worked just as we wanted. Thank you very much! Regards, Luiz Eduardo 2010/4/14 Esteban Aliverti esteban.alive...@gmail.com The runtime type of the objects returned by KnowledgePackageImp.getRules() is org.drools.definitions.rule.impl.RuleImpl. RuleImpl implements

Re: [rules-users] Drools Flow: Another problem with Human Task

2010-04-16 Thread HMandic
It wasn't that, I had the comment field filled. -- View this message in context: http://n3.nabble.com/Drools-Flow-Another-problem-with-Human-Task-tp724086p724877.html Sent from the Drools - User mailing list archive at Nabble.com. ___ rules-users

Re: [rules-users] Drools Flow: Another problem with Human Task

2010-04-16 Thread Mauricio Salatino
and the content field? On Fri, Apr 16, 2010 at 3:10 PM, HMandic trbu...@net.hr wrote: It wasn't that, I had the comment field filled. -- View this message in context: http://n3.nabble.com/Drools-Flow-Another-problem-with-Human-Task-tp724086p724877.html Sent from the Drools - User mailing

[rules-users] evaluation of null not consistent

2010-04-16 Thread LJ in NJ
Hi; I am trying to debug a situation in which a rule fires when it should not. The rule is: rule DTR2_AOU_Mapping when when instance_0_Contact : Contact($var_0_guid : guid != null ) instance_1_Track : Track($var_1_aou : aouAsFloat != null $var_3_platform_ptr : platform

Re: [rules-users] evaluation of null not consistent

2010-04-16 Thread Jared Davis
I don't follow this line in the rule: instance_1_Track : Track($var_1_aou : aouAsFloat != null $var_3_platform_ptr : platform != null ) Should it be the following? instance_1_Track : Track($var_1_aou : aouAsFloat != null , $var_3_platform_ptr : platform != null ) -- View this message in

Re: [rules-users] How to do Exception Handling???

2010-04-16 Thread nanic23
@Kris Do you have any tips for this? Am I interpreting your AbstractWorkItem implementation for exception handling correctly. Anybody else is very welcome to comment as well. Thanks, Nick. -- View this message in context:

Re: [rules-users] Extending the validation of rules functionality in Guvnor

2010-04-16 Thread AndreaLee
Premkumar Stephen wrote: Currently, the validate functionality ensures that rules have proper syntax. it is possible to extend this functionality so that business use cases might also be validated? Is there an API/examples to do that. I am also interested in having business logic

Re: [rules-users] Drools Flow: Another problem with Human Task

2010-04-16 Thread KiranP
r u sure ur log contains no more error or warningsplz check this may also b'coz of the organizationalentity table not having the user with the name u provided in actor id - Keep Working KiranP -- View this message in context:

Re: [rules-users] Fwd: Double Handling

2010-04-16 Thread Wolfgang Laun
2010/4/16 Edson Tirelli ed.tire...@gmail.com Yes, Wolfgang is right. Just don't use ; inside the modify block: I never had a problem with a semicolon at the end of the list of method calls. -W ___ rules-users mailing list