demo-process-models/apps/ticket/ticket-system.bpmn

192 lines
8.9 KiB
Plaintext
Raw Normal View History

2023-07-25 20:57:50 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:spiffworkflow="http://spiffworkflow.org/bpmn/schema/1.0/core" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.0.0-dev">
<bpmn:signal id="signal_ready_for_review" name="signal_ready_for_review">
<bpmn:extensionElements>
<spiffworkflow:variableName>signal_value</spiffworkflow:variableName>
</bpmn:extensionElements>
</bpmn:signal>
<bpmn:collaboration id="Collaboration_0vmmo53">
<bpmn:participant id="Participant_0y25mw4" processRef="ticket-system_process" />
</bpmn:collaboration>
<bpmn:process id="ticket-system_process" isExecutable="true">
<bpmn:laneSet id="LaneSet_1sjfren">
<bpmn:lane id="Lane_04pis7e">
<bpmn:flowNodeRef>StartEvent_1</bpmn:flowNodeRef>
</bpmn:lane>
<bpmn:lane id="everybody" name="everybody">
<bpmn:flowNodeRef>create_ticket</bpmn:flowNodeRef>
<bpmn:flowNodeRef>implement_changes</bpmn:flowNodeRef>
<bpmn:flowNodeRef>review_ticket</bpmn:flowNodeRef>
<bpmn:flowNodeRef>edit_ticket_from_review</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Event_003bxs1</bpmn:flowNodeRef>
<bpmn:flowNodeRef>edit_ticket_from_implement</bpmn:flowNodeRef>
</bpmn:lane>
</bpmn:laneSet>
<bpmn:startEvent id="StartEvent_1">
<bpmn:outgoing>Flow_0gixxkm</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="Flow_0gixxkm" sourceRef="StartEvent_1" targetRef="create_ticket" />
<bpmn:sequenceFlow id="Flow_1xxzo3r" sourceRef="create_ticket" targetRef="implement_changes" />
<bpmn:userTask id="create_ticket" name="Create Ticket">
<bpmn:extensionElements>
<spiffworkflow:properties>
<spiffworkflow:property name="formJsonSchemaFilename" value="ticket-details-schema.json" />
<spiffworkflow:property name="formUiSchemaFilename" value="ticket-details-uischema.json" />
</spiffworkflow:properties>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0gixxkm</bpmn:incoming>
<bpmn:incoming>Flow_15l6ttb</bpmn:incoming>
<bpmn:incoming>Flow_0x4lbb9</bpmn:incoming>
<bpmn:outgoing>Flow_1xxzo3r</bpmn:outgoing>
</bpmn:userTask>
<bpmn:manualTask id="implement_changes" name="Implement Changes">
<bpmn:extensionElements>
<spiffworkflow:instructionsForEndUser>**Current Stage**: Implementation Changes
**Next Stage**: Review Changes
## Ticket Details
**Summary**: {{summary}} ({{ticket_type}})
{% if description is not none %}
**Description**: {{description}}
{% endif %}
**Priority**: {{priority}}
{% if github_issue_url is not none %}
**GitHub Issue URL**: {{github_issue_url}}
{% endif %}</spiffworkflow:instructionsForEndUser>
</bpmn:extensionElements>
<bpmn:incoming>Flow_1xxzo3r</bpmn:incoming>
<bpmn:outgoing>Flow_1qpvlt3</bpmn:outgoing>
</bpmn:manualTask>
<bpmn:manualTask id="review_ticket" name="Review Ticket">
<bpmn:extensionElements>
<spiffworkflow:instructionsForEndUser>**Current Stage**: Review Changes
**Next Stage**: Complete
## Ticket Details
**Summary**: {{summary}} ({{ticket_type}})
{% if description is not none %}
**Description**: {{description}}
{% endif %}
**Priority**: {{priority}}
{% if github_issue_url is not none %}
**GitHub Issue URL**: {{github_issue_url}}
{% endif %}</spiffworkflow:instructionsForEndUser>
</bpmn:extensionElements>
<bpmn:incoming>Flow_1qpvlt3</bpmn:incoming>
<bpmn:outgoing>Flow_1wzi4z7</bpmn:outgoing>
</bpmn:manualTask>
<bpmn:boundaryEvent id="edit_ticket_from_review" name="Edit Ticket" attachedToRef="review_ticket">
<bpmn:extensionElements>
<spiffworkflow:signalButtonLabel>Edit Ticket</spiffworkflow:signalButtonLabel>
</bpmn:extensionElements>
<bpmn:outgoing>Flow_15l6ttb</bpmn:outgoing>
<bpmn:signalEventDefinition id="SignalEventDefinition_0e7lvcl" signalRef="signal_edit_ticket" />
</bpmn:boundaryEvent>
<bpmn:sequenceFlow id="Flow_15l6ttb" sourceRef="edit_ticket_from_review" targetRef="create_ticket" />
<bpmn:endEvent id="Event_003bxs1">
<bpmn:incoming>Flow_1wzi4z7</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_1wzi4z7" sourceRef="review_ticket" targetRef="Event_003bxs1" />
<bpmn:sequenceFlow id="Flow_1qpvlt3" sourceRef="implement_changes" targetRef="review_ticket" />
<bpmn:boundaryEvent id="edit_ticket_from_implement" name="Edit Ticket" attachedToRef="implement_changes">
<bpmn:extensionElements>
<spiffworkflow:signalButtonLabel>Edit Ticket</spiffworkflow:signalButtonLabel>
</bpmn:extensionElements>
<bpmn:outgoing>Flow_0x4lbb9</bpmn:outgoing>
<bpmn:signalEventDefinition id="SignalEventDefinition_04rpl0q" signalRef="signal_edit_ticket" />
</bpmn:boundaryEvent>
<bpmn:sequenceFlow id="Flow_0x4lbb9" sourceRef="edit_ticket_from_implement" targetRef="create_ticket" />
</bpmn:process>
<bpmn:signal id="signal_edit_ticket" name="signal_edit_ticket">
<bpmn:extensionElements>
<spiffworkflow:variableName />
</bpmn:extensionElements>
</bpmn:signal>
<bpmn:signal id="signal_close_ticket" name="signal_close_ticket" />
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_0vmmo53">
<bpmndi:BPMNShape id="Participant_0y25mw4_di" bpmnElement="Participant_0y25mw4" isHorizontal="true">
<dc:Bounds x="129" y="130" width="1031" height="270" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Lane_0jeoiqm_di" bpmnElement="everybody" isHorizontal="true">
<dc:Bounds x="159" y="220" width="1001" height="180" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Lane_04pis7e_di" bpmnElement="Lane_04pis7e" isHorizontal="true">
<dc:Bounds x="159" y="130" width="1001" height="90" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
<dc:Bounds x="179" y="159" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0ajk9gf_di" bpmnElement="create_ticket">
<dc:Bounds x="240" y="270" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1mxacrx_di" bpmnElement="implement_changes">
<dc:Bounds x="410" y="270" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0fmq5k0_di" bpmnElement="review_ticket">
<dc:Bounds x="580" y="270" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_003bxs1_di" bpmnElement="Event_003bxs1">
<dc:Bounds x="782" y="292" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0qmc92n_di" bpmnElement="edit_ticket_from_implement">
<dc:Bounds x="442" y="332" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="484" y="363" width="51" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_17j1buv_di" bpmnElement="edit_ticket_from_review">
<dc:Bounds x="622" y="252" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="574" y="243" width="51" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_0gixxkm_di" bpmnElement="Flow_0gixxkm">
<di:waypoint x="215" y="177" />
<di:waypoint x="228" y="177" />
<di:waypoint x="228" y="310" />
<di:waypoint x="240" y="310" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1xxzo3r_di" bpmnElement="Flow_1xxzo3r">
<di:waypoint x="340" y="310" />
<di:waypoint x="410" y="310" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_15l6ttb_di" bpmnElement="Flow_15l6ttb">
<di:waypoint x="640" y="252" />
<di:waypoint x="640" y="232" />
<di:waypoint x="300" y="232" />
<di:waypoint x="300" y="270" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1wzi4z7_di" bpmnElement="Flow_1wzi4z7">
<di:waypoint x="680" y="310" />
<di:waypoint x="782" y="310" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1qpvlt3_di" bpmnElement="Flow_1qpvlt3">
<di:waypoint x="510" y="310" />
<di:waypoint x="580" y="310" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0x4lbb9_di" bpmnElement="Flow_0x4lbb9">
<di:waypoint x="460" y="368" />
<di:waypoint x="460" y="388" />
<di:waypoint x="400" y="388" />
<di:waypoint x="290" y="370" />
<di:waypoint x="290" y="350" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>