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&...]