[jboss-dev-forums] [jBPM Development] - Re: [jBPM5.1] How to use drools rule in constraints of a gateway

Maciej Swiderski do-not-reply at jboss.com
Wed Jan 25 02:01:19 EST 2012


Maciej Swiderski [https://community.jboss.org/people/swiderski.maciej] created the discussion

"Re: [jBPM5.1] How to use drools rule in constraints of a gateway"

To view the discussion, visit: https://community.jboss.org/message/648591#648591

--------------------------------------------------------------
Here is an example for executing rule base syntax on sequence flow condition:
     <sequenceFlow id="_9-_10" sourceRef="_9" targetRef="_10" name="sq-name">
      <conditionExpression xsi:type="tFormalExpression" language="http://www.jboss.org/drools/rule" >eval(false)</conditionExpression>
    </sequenceFlow>


where eval(false) is rule syntax to be executed, please keep in mind that it must return boolean.

HTH
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/648591#648591]

Start a new discussion in jBPM Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2035]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120125/c301e48a/attachment.html 


More information about the jboss-dev-forums mailing list