Skip to content

Instantly share code, notes, and snippets.

@estebanroblesluna
Created May 17, 2011 12:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save estebanroblesluna/976396 to your computer and use it in GitHub Desktop.
Save estebanroblesluna/976396 to your computer and use it in GitHub Desktop.
<definitions
xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
xmlns:activiti="http://activiti.org/bpmn"
targetNamespace="Examples">
<process id="processOrder" >
<startEvent id="theStart" />
<sequenceFlow sourceRef="theStart" targetRef="waitState" />
<!-- Wait till somebody approves the order. For now expect somebody will set approvedBy and signal this process -->
<receiveTask id="waitState" />
<sequenceFlow sourceRef="waitState" targetRef="waitState2" />
<!-- Just to check the status of the variable -->
<receiveTask id="waitState2" />
<sequenceFlow sourceRef="waitState2" targetRef="theEnd" />
<endEvent id="theEnd" />
</process>
</definitions>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment