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:xsd="http://www.w3.org/2001/XMLSchema" 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"> <signal id="provisioningIsDone" name="Provisioning is Done"></signal> <process id="provisioningProcess" name="Provisioning Process" isExecutable="true"> <startEvent id="provisioningStartEvent" name="Start"></startEvent> <parallelGateway id="provisioningIsDoneGateway" name="Provisioning is Done"></parallelGateway> <intermediateCatchEvent id="provisioningIsDoneEvent" name="Provisioning Is Done"> <signalEventDefinition signalRef="provisioningIsDone"></signalEventDefinition> </intermediateCatchEvent> <endEvent id="provisioningEndEvent" name="End"></endEvent> <sequenceFlow id="flow1" sourceRef="provisioningStartEvent" targetRef="provisioningIsDoneGateway"></sequenceFlow> <sequenceFlow id="flow2" sourceRef="provisioningIsDoneGateway" targetRef="provisioningEndEvent"></sequenceFlow> <sequenceFlow id="flow3" sourceRef="provisioningIsDoneEvent" targetRef="provisioningIsDoneGateway"></sequenceFlow> </process> <bpmndi:BPMNDiagram id="BPMNDiagram_provisioningProcess"> <bpmndi:BPMNPlane bpmnElement="provisioningProcess" id="BPMNPlane_provisioningProcess"> <bpmndi:BPMNShape bpmnElement="provisioningEndEvent" id="BPMNShape_provisioningEndEvent"> <omgdc:Bounds height="35.0" width="35.0" x="230.0" y="320.0"></omgdc:Bounds> </bpmndi:BPMNShape> <bpmndi:BPMNShape bpmnElement="provisioningIsDoneEvent" id="BPMNShape_provisioningIsDoneEvent"> <omgdc:Bounds height="35.0" width="35.0" x="374.0" y="223.0"></omgdc:Bounds> </bpmndi:BPMNShape> <bpmndi:BPMNShape bpmnElement="provisioningStartEvent" id="BPMNShape_provisioningStartEvent"> <omgdc:Bounds height="35.0" width="35.0" x="230.0" y="120.0"></omgdc:Bounds> </bpmndi:BPMNShape> <bpmndi:BPMNShape bpmnElement="provisioningIsDoneGateway" id="BPMNShape_provisioningIsDoneGateway"> <omgdc:Bounds height="40.0" width="40.0" x="227.0" y="220.0"></omgdc:Bounds> </bpmndi:BPMNShape> <bpmndi:BPMNEdge bpmnElement="flow1" id="BPMNEdge_flow1"> <omgdi:waypoint x="247.0" y="155.0"></omgdi:waypoint> <omgdi:waypoint x="247.0" y="220.0"></omgdi:waypoint> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge bpmnElement="flow2" id="BPMNEdge_flow2"> <omgdi:waypoint x="247.0" y="260.0"></omgdi:waypoint> <omgdi:waypoint x="247.0" y="320.0"></omgdi:waypoint> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge bpmnElement="flow3" id="BPMNEdge_flow3"> <omgdi:waypoint x="374.0" y="240.0"></omgdi:waypoint> <omgdi:waypoint x="267.0" y="240.0"></omgdi:waypoint> </bpmndi:BPMNEdge> </bpmndi:BPMNPlane> </bpmndi:BPMNDiagram> </definitions>
runtimeService.signalEventReceived("Provisioning is Done");
org.activiti.engine.test.api.runtime.RuntimeServiceTest#testSignalEventReceived