JBoss Community

Re: jbpm 5.2 support for XOR gateway and complex gateway.

created by Maciej Swiderski in jBPM - View the full discussion

You need to declare process variables(properties) in your process to be able to use them:

 

...
  <bpmn2:itemDefinition id="_xItem" structureRef="java.lang.Boolean"/>
  <bpmn2:process id="PrasDemo" drools:packageName="SDS" name="PrasDemo" isExecutable="true">
    <bpmn2:property id="result" itemSubjectRef="_xItem"/>
...

 

that should do the trick and your XOR gateway will work properly.

 

HTH

Reply to this message by going to Community

Start a new discussion in jBPM at Community