{ "XMLName": { "Space": "http://www.omg.org/spec/BPMN/20100524/MODEL", "Local": "definitions" }, "Text": "", "Bpmn2": "http://www.omg.org/spec/BPMN/20100524/MODEL", "Xsi": "http://www.w3.org/2001/XMLSchema-instance", "Bpmndi": "http://www.omg.org/spec/BPMN/20100524/DI", "Dc": "http://www.omg.org/spec/DD/20100524/DC", "Flowable": "http://flowable.org/bpmn", "Di": "http://www.omg.org/spec/DD/20100524/DI", "ID": "sample-diagram", "TargetNamespace": "http://bpmn.io/schema/bpmn", "SchemaLocation": "http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd", "Process": { "Text": "", "ID": "流程ID", "Name": "流程名称", "Documentation": { "Text": "流程描述" }, "StartEvent": { "Text": "", "ID": "开始ID", "Name": "开始名称", "Outgoing": [ { "Text": "条件1——ID" }, { "Text": "条件2——ID" } ] }, "UserTask": [ { "Text": "", "ID": "审批1——ID", "Name": "审批1——名称(指定人员)", "Assignee": "1001", "CandidateGroups": "", "CandidateUsers": "", "Incoming": { "Text": "条件1——ID" }, "Outgoing": { "Text": "条件3——ID" } }, { "Text": "", "ID": "审批2——ID", "Name": "审批2名称——(候选人)", "Assignee": "", "CandidateGroups": "", "CandidateUsers": "1002,1003,1001", "Incoming": { "Text": "SequenceFlow_1f488nn" }, "Outgoing": { "Text": "SequenceFlow_1su08qu" } }, { "Text": "", "ID": "审批3——ID", "Name": "审批3——名称(岗位)", "Assignee": "", "CandidateGroups": "personnel", "CandidateUsers": "", "Incoming": { "Text": "条件2——ID" }, "Outgoing": { "Text": "SequenceFlow_13unl6c" } }, { "Text": "", "ID": "审批4——ID", "Name": "审批4名称——(经理)", "Assignee": "", "CandidateGroups": "manager", "CandidateUsers": "", "Incoming": { "Text": "条件3——ID" }, "Outgoing": { "Text": "SequenceFlow_1y6oad7" } } ], "EndEvent": { "Text": "", "ID": "结束ID", "Name": "结束名称", "Incoming": [ { "Text": "SequenceFlow_1su08qu" }, { "Text": "SequenceFlow_1y6oad7" } ] }, "SequenceFlow": [ { "Text": "", "ID": "条件1——ID", "Name": "条件1——名称", "SourceRef": "开始ID", "TargetRef": "审批1——ID", "ConditionExpression": { "Text": "id>100", "Type": "bpmn2:tFormalExpression" } }, { "Text": "", "ID": "SequenceFlow_1f488nn", "Name": "", "SourceRef": "审批1——ID", "TargetRef": "审批2——ID", "ConditionExpression": { "Text": "", "Type": "" } }, { "Text": "", "ID": "SequenceFlow_1su08qu", "Name": "", "SourceRef": "审批2——ID", "TargetRef": "结束ID", "ConditionExpression": { "Text": "", "Type": "" } }, { "Text": "", "ID": "条件2——ID", "Name": "条件2——ID", "SourceRef": "开始ID", "TargetRef": "审批3——ID", "ConditionExpression": { "Text": "ID<100", "Type": "bpmn2:tFormalExpression" } }, { "Text": "", "ID": "SequenceFlow_13unl6c", "Name": "", "SourceRef": "审批3——ID", "TargetRef": "审批4——ID", "ConditionExpression": { "Text": "", "Type": "" } }, { "Text": "", "ID": "SequenceFlow_1y6oad7", "Name": "", "SourceRef": "审批4——ID", "TargetRef": "结束ID", "ConditionExpression": { "Text": "", "Type": "" } }, { "Text": "", "ID": "条件3——ID", "Name": "条件3——名称", "SourceRef": "审批1——ID", "TargetRef": "审批4——ID", "ConditionExpression": { "Text": "ID=100", "Type": "bpmn2:tFormalExpression" } } ] }, "BPMNDiagram": { "Text": "", "ID": "BPMNDiagram_1", "BPMNPlane": { "Text": "", "ID": "BPMNPlane_1", "BpmnElement": "流程ID", "BPMNShape": [ { "Text": "", "ID": "StartEvent_01ydzqe_di", "BpmnElement": "开始ID", "Bounds": { "Text": "", "X": "142", "Y": "212", "Width": "36", "Height": "36" }, "BPMNLabel": { "Text": "", "Bounds": { "Text": "", "X": "149", "Y": "255", "Width": "22", "Height": "14" } } }, { "Text": "", "ID": "UserTask_10pidv1_di", "BpmnElement": "审批1——ID", "Bounds": { "Text": "", "X": "220", "Y": "90", "Width": "100", "Height": "80" }, "BPMNLabel": { "Text": "", "Bounds": { "Text": "", "X": "", "Y": "", "Width": "", "Height": "" } } }, { "Text": "", "ID": "UserTask_17p1zqm_di", "BpmnElement": "审批2——ID", "Bounds": { "Text": "", "X": "440", "Y": "90", "Width": "100", "Height": "80" }, "BPMNLabel": { "Text": "", "Bounds": { "Text": "", "X": "", "Y": "", "Width": "", "Height": "" } } }, { "Text": "", "ID": "UserTask_0vur320_di", "BpmnElement": "审批3——ID", "Bounds": { "Text": "", "X": "220", "Y": "330", "Width": "100", "Height": "80" }, "BPMNLabel": { "Text": "", "Bounds": { "Text": "", "X": "", "Y": "", "Width": "", "Height": "" } } }, { "Text": "", "ID": "UserTask_10m2y3g_di", "BpmnElement": "审批4——ID", "Bounds": { "Text": "", "X": "440", "Y": "330", "Width": "100", "Height": "80" }, "BPMNLabel": { "Text": "", "Bounds": { "Text": "", "X": "", "Y": "", "Width": "", "Height": "" } } }, { "Text": "", "ID": "EndEvent_1ss6r1e_di", "BpmnElement": "结束ID", "Bounds": { "Text": "", "X": "632", "Y": "222", "Width": "36", "Height": "36" }, "BPMNLabel": { "Text": "", "Bounds": { "Text": "", "X": "639", "Y": "265", "Width": "22", "Height": "14" } } } ], "BPMNEdge": [ { "Text": "", "ID": "SequenceFlow_1a144xd_di", "BpmnElement": "条件1——ID", "Waypoint": [ { "Text": "", "X": "178", "Y": "230" }, { "Text": "", "X": "199", "Y": "230" }, { "Text": "", "X": "199", "Y": "130" }, { "Text": "", "X": "220", "Y": "130" } ] }, { "Text": "", "ID": "SequenceFlow_1f488nn_di", "BpmnElement": "SequenceFlow_1f488nn", "Waypoint": [ { "Text": "", "X": "320", "Y": "130" }, { "Text": "", "X": "440", "Y": "130" } ] }, { "Text": "", "ID": "SequenceFlow_1su08qu_di", "BpmnElement": "SequenceFlow_1su08qu", "Waypoint": [ { "Text": "", "X": "540", "Y": "130" }, { "Text": "", "X": "586", "Y": "130" }, { "Text": "", "X": "586", "Y": "230" }, { "Text": "", "X": "635", "Y": "230" } ] }, { "Text": "", "ID": "SequenceFlow_1sn3aag_di", "BpmnElement": "条件2——ID", "Waypoint": [ { "Text": "", "X": "178", "Y": "230" }, { "Text": "", "X": "199", "Y": "230" }, { "Text": "", "X": "199", "Y": "370" }, { "Text": "", "X": "220", "Y": "370" } ] }, { "Text": "", "ID": "SequenceFlow_13unl6c_di", "BpmnElement": "SequenceFlow_13unl6c", "Waypoint": [ { "Text": "", "X": "320", "Y": "370" }, { "Text": "", "X": "440", "Y": "370" } ] }, { "Text": "", "ID": "SequenceFlow_1y6oad7_di", "BpmnElement": "SequenceFlow_1y6oad7", "Waypoint": [ { "Text": "", "X": "540", "Y": "370" }, { "Text": "", "X": "586", "Y": "370" }, { "Text": "", "X": "586", "Y": "250" }, { "Text": "", "X": "635", "Y": "250" } ] }, { "Text": "", "ID": "SequenceFlow_18hsq1p_di", "BpmnElement": "条件3——ID", "Waypoint": [ { "Text": "", "X": "320", "Y": "160" }, { "Text": "", "X": "380", "Y": "160" }, { "Text": "", "X": "380", "Y": "340" }, { "Text": "", "X": "440", "Y": "340" } ] } ] } } }