Skip to content

Instantly share code, notes, and snippets.

@estebanroblesluna
Created January 18, 2011 15:04
Show Gist options
  • Save estebanroblesluna/784548 to your computer and use it in GitHub Desktop.
Save estebanroblesluna/784548 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<definitions
id="definitions"
targetNamespace="http://activiti.org/bpmn20"
xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:activiti="http://activiti.org/bpmn">
<process
id="pictureRequest"
name="A process that handles picture requests by users">
<startEvent id="theStart" />
<sequenceFlow
id="flow1"
sourceRef="theStart"
targetRef="myManualTask" />
<userTask
id="myManualTask"
name="Stub task"
activiti:formKey="approval.form">
<potentialOwner>
<resourceAssignmentExpression>
<formalExpression>user(kermit), group(management)</formalExpression>
</resourceAssignmentExpression>
</potentialOwner>
</userTask>
<sequenceFlow
id="flow2"
sourceRef="myManualTask"
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