[rules-users] Drools Flow 5.1 - latest snapshot -- Gateway(Diverge) : Split Node - Priority Does not Work

Kris Verlaenen kris.verlaenen at cs.kuleuven.be
Wed Jul 21 05:59:59 EDT 2010


Santosh,

I think you need to add it as part of a META-INF directory inside a source dir.  There's a screencast that shows you how to get a simple example working, try following that and let me know if you still have issues with that:
http://people.redhat.com/kverlaen/DomainSpecificWorkItem.swf

Kris

----- Original Message ----- 
  From: santosh mukherjee 
  To: Rules Users List 
  Sent: Wednesday, July 21, 2010 8:54 AM
  Subject: Re: [rules-users] Drools Flow 5.1 - latest snapshot -- Gateway(Diverge) : Split Node - Priority Does not Work


  Hi,


  I have added my MyWorkDefinitions.conf and drools.rulebase.conf file in a source folder named "resources" inside my project. But then also my work items are not showing in the flow editor. Can anybody tell me why this is so?


  Thanks
  Santosh Mukherjee.


  2010/7/21 Vijay K Pandey <VPandey at mdes.ms.gov>

    Hi All,



    In the Drools Flow 5.1 latest snapshot , for the node (Gateway (Diverge) : Split Node), somehow priority does not work. If we set some value, lets say 100 and open the process file(BPMN2) again and check the priority – somehow it doesn’t retains the priority value and reports the value always as 0.



    I am trying to make use one of the feature of XOR type node where one of the constraint is “always true” with the highest priority. I hope my understanding is right.



    This is what the Drools Flow Doc says:



    XOR means that exactly one of the outgoing connections will be chosen. The decision is made by evaluating the constraints that are linked to each of the outgoing connections. Constraints are specified using the same syntax as the left-hand side of a rule. The constraint with the lowest priority number that evaluates to true is selected. Note that you should always make sure that at least one of the outgoing connections will evaluate to true at runtime (the ruleflow will throw an exception at runtime if it cannot find at least one outgoing connection). For example, you could use a connection which is always true (default) with a high priority number to specify what should happen if none of the other connections can be taken.



    Has anyone faced this issue?



    Thanks

    Vijay




    _______________________________________________
    rules-users mailing list
    rules-users at lists.jboss.org
    https://lists.jboss.org/mailman/listinfo/rules-users






------------------------------------------------------------------------------


  _______________________________________________
  rules-users mailing list
  rules-users at lists.jboss.org
  https://lists.jboss.org/mailman/listinfo/rules-users

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20100721/95d99b36/attachment.html 


More information about the rules-users mailing list