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

2010-04-16 Thread Esteban Aliverti
You can find a new "Verify" button when editing rules. This button makes use of drools-verifier, which may be used to perform what you are trying to do. We are working hard these days to add field and fact restrictions to guvnor. You can check these links for more help: ilesteban.wordpress.com/2010

Re: [rules-users] Fwd: Double Handling

2010-04-16 Thread Wolfgang Laun
2010/4/16 Edson Tirelli > >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 rules-users@lists.jboss.org https://lists

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: http://n3.nabble.com/Drools-Flow-Another-problem-with-Hu

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 logi

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: http://n3.nabble.com/How-to-do-Exception-Handling-tp689387p725237.html

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 c

[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 : platf

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 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 list arch

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 maili

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

2010-04-16 Thread rudolf michael
you need to set a comment value for your task and this will work fine. there is an open issue for it in the jira check it out. On Fri, Apr 16, 2010 at 5:19 PM, HMandic wrote: > > Hi, > > I need some help here. > > I have a simple process with one human task. That human task work item has > all t

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 > The runtime type of the objects returned by KnowledgePackageImp.getRules() > is org.drools.definitions.rule.impl.RuleImpl. RuleImpl implements > org.drools.definition.rule.Rule and c

[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 un

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 do

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 > 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 "

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 > Hello t

[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 defini

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 > Changing the

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 when

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 witho

[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] 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