As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
<?xml version="1.0" encoding="UTF-8"?> <definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:activiti="http://activiti.org/bpmn" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI" typeLanguage="http://www.w3.org/2001/XMLSchema" expressionLanguage="http://www.w3.org/1999/XPath" targetNamespace="http://www.activiti.org/test"> <process id="OutboundMailTest" name="OutboundMailTest" isExecutable="true"> <startEvent id="startevent1" name="Start"></startEvent> <serviceTask id="mailtask1" name="Mail Task" activiti:type="mail"> <extensionElements> <activiti:field name="to"> <activiti:expression>${targetUser}</activiti:expression> </activiti:field> <activiti:field name="from"> <activiti:string>test@acme.com</activiti:string> </activiti:field> <activiti:field name="subject"> <activiti:string>Test from Activiti</activiti:string> </activiti:field> <activiti:field name="text"> <activiti:expression>Hello there ${targetUser}!</activiti:expression> </activiti:field> </extensionElements> </serviceTask> <sequenceFlow id="flow1" sourceRef="startevent1" targetRef="mailtask1"></sequenceFlow> <endEvent id="endevent1" name="End"></endEvent> <sequenceFlow id="flow2" sourceRef="mailtask1" targetRef="endevent1"></sequenceFlow> </process> <bpmndi:BPMNDiagram id="BPMNDiagram_OutboundMailTest"> <bpmndi:BPMNPlane bpmnElement="OutboundMailTest" id="BPMNPlane_OutboundMailTest"> <bpmndi:BPMNShape bpmnElement="startevent1" id="BPMNShape_startevent1"> <omgdc:Bounds height="35.0" width="35.0" x="170.0" y="260.0"></omgdc:Bounds> </bpmndi:BPMNShape> <bpmndi:BPMNShape bpmnElement="mailtask1" id="BPMNShape_mailtask1"> <omgdc:Bounds height="55.0" width="105.0" x="280.0" y="250.0"></omgdc:Bounds> </bpmndi:BPMNShape> <bpmndi:BPMNShape bpmnElement="endevent1" id="BPMNShape_endevent1"> <omgdc:Bounds height="35.0" width="35.0" x="440.0" y="260.0"></omgdc:Bounds> </bpmndi:BPMNShape> <bpmndi:BPMNEdge bpmnElement="flow1" id="BPMNEdge_flow1"> <omgdi:waypoint x="205.0" y="277.0"></omgdi:waypoint> <omgdi:waypoint x="280.0" y="277.0"></omgdi:waypoint> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge bpmnElement="flow2" id="BPMNEdge_flow2"> <omgdi:waypoint x="385.0" y="277.0"></omgdi:waypoint> <omgdi:waypoint x="440.0" y="277.0"></omgdi:waypoint> </bpmndi:BPMNEdge> </bpmndi:BPMNPlane> </bpmndi:BPMNDiagram> </definitions>