66 lines
9.5 KiB
XML
66 lines
9.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?><definitions xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:fgc="http://www.forguncy.com/schema/bpmn/1.0" xmlns:activiti="http://activiti.org/bpmn" id="_f0891378-904d-4a7a-9433-88bd2bac0c55" name="BPMN Model" targetNamespace="http://www.forguncy.com/schema/bpmn/1.0" expressionLanguage="https://www.ecma-international.org/publications/standards/Ecma-334.htm">
|
|
<extension/>
|
|
<process id="_f9fc28f7-09f7-46bc-a48e-f889c5ee7879" name="项目立项申请" isExecutable="true">
|
|
<documentation>用于项目的立项申请审批</documentation>
|
|
<extensionElements>
|
|
<fgc:ForguncyExtension Properties="{"variableSetting":{"variables":[]},"eventSetting":{"eventHandlers":[{"id":"0","enable":true,"event":100,"commands":[]},{"id":"1","enable":true,"event":101,"commands":[{"enable":true,"id":"1709614677003-20e96939","$fgc_java_type":"com.grapecity.forguncy.service.command.impl.callserver.CallServerCommandDefinition","$fgc_csharp_type":"ServerDesignerCommon.ProcessEngine.ExtensionModel.CallServerCommandDefinition","returnCodeTo":"","returnMessageTo":"","inputParams":[{"key":"项目ID","value":{"valueType":2,"tableFieldValue":{"$type":"ForguncyDataAccess.BindingInfo, ForguncyDataAccess","TableName":"项目表","ColumnName":"ID"}}},{"key":"状态码","value":{"valueType":1,"fixedValue":"2"}}],"returnPropertiesTo":[],"serverCommandName":"修改项目状态","isAsync":false}]},{"id":"2","enable":true,"event":102,"commands":[]}]},"timeoutSetting":{"deadlines":[]},"page":"项目审批","tables":["项目表"]}"/>
|
|
</extensionElements>
|
|
<startEvent id="_f08335ab-b838-4a55-8421-200f30047003" name="开始">
|
|
<extensionElements>
|
|
<fgc:ForguncyExtension Properties="{"eventSetting":{"eventHandlers":[{"id":"0","enable":true,"event":401,"commands":[]}]},"variableSetting":{"variables":[]}}"/>
|
|
</extensionElements>
|
|
<outgoing>Flow_1m23z42</outgoing>
|
|
</startEvent>
|
|
<userTask id="_1f754255-6fd9-4eab-8d0f-10df7976e222" name="审批" activiti:formKey="${formKeyResolver.getFormKey(execution)}" activiti:assignee="${FGC_activitiAssignee}">
|
|
<extensionElements>
|
|
<fgc:ForguncyExtension Properties="{"generalSetting":{"page":"项目审批","tables":["项目表"],"actions":[{"key":"0","type":100,"enable":true,"remarks":[{"key":1,"enable":true,"required":false},{"key":2,"enable":false,"required":false}],"title":"同意立项","commitOption":{"autoSave":true}},{"key":"1644290578551-fb1cce84","type":200,"enable":true,"remarks":[{"key":1,"enable":true,"required":true},{"key":2,"enable":false,"required":false}],"title":"拒绝","terminateOption":{"type":2}}]},"userSetting":{"assigneeSettings":[{"key":"1709614946145-d4008ffd","type":2,"value":{"valueType":1,"fixedValue":"项目总监"},"enable":true}],"assigneeTarget":2,"isMultiple":true,"isCountersign":false,"isSequential":false,"autoCommitStrategies":[{"status":1,"enable":false},{"status":2,"enable":true},{"status":3,"enable":false}],"nobodyAssignStrategy":{"status":1}},"dataSetting":{"tablePermissions":[]},"timeoutSetting":{"deadlines":[]},"eventSetting":{"eventHandlers":[{"id":"0","enable":true,"event":400,"commands":[{"enable":true,"id":"1709614651297-a52d85bf","$fgc_java_type":"com.grapecity.forguncy.service.command.impl.callserver.CallServerCommandDefinition","$fgc_csharp_type":"ServerDesignerCommon.ProcessEngine.ExtensionModel.CallServerCommandDefinition","returnCodeTo":"","returnMessageTo":"","inputParams":[{"key":"项目ID","value":{"valueType":2,"tableFieldValue":{"$type":"ForguncyDataAccess.BindingInfo, ForguncyDataAccess","TableName":"项目表","ColumnName":"ID"}}},{"key":"状态码","value":{"valueType":1,"fixedValue":"1"}}],"returnPropertiesTo":[],"serverCommandName":"修改项目状态","isAsync":true}]},{"id":"1","enable":true,"event":300,"commands":[]},{"id":"2","enable":true,"event":302,"commands":[]}]},"variableSetting":{"variables":[]}}"/>
|
|
</extensionElements>
|
|
<incoming>Flow_1m23z42</incoming>
|
|
<outgoing>_8c854f9d-40d8-4aed-acb1-6778e09b2e08</outgoing>
|
|
<multiInstanceLoopCharacteristics activiti:collection="${userTaskResolver.getCollection(execution)}" activiti:elementVariable="FGC_activitiAssignee"><completionCondition>${nrOfCompletedInstances > 0}</completionCondition></multiInstanceLoopCharacteristics>
|
|
</userTask>
|
|
<endEvent id="_3392ccdd-ae91-44fa-b2ee-f744284c12b0" name="结束">
|
|
<extensionElements>
|
|
<fgc:ForguncyExtension Properties="{"eventSetting":{"eventHandlers":[{"id":"0","enable":true,"event":400,"commands":[]}]},"variableSetting":{"variables":[]}}"/>
|
|
</extensionElements>
|
|
<incoming>_8c854f9d-40d8-4aed-acb1-6778e09b2e08</incoming>
|
|
</endEvent>
|
|
<sequenceFlow id="_8c854f9d-40d8-4aed-acb1-6778e09b2e08" name="" sourceRef="_1f754255-6fd9-4eab-8d0f-10df7976e222" targetRef="_3392ccdd-ae91-44fa-b2ee-f744284c12b0">
|
|
<extensionElements>
|
|
<fgc:ForguncyExtension Properties="{"eventSetting":{"eventHandlers":[{"id":"0","enable":true,"event":200,"commands":[]}]},"sequenceProperty":{}}"/>
|
|
</extensionElements>
|
|
</sequenceFlow>
|
|
<sequenceFlow id="Flow_1m23z42" sourceRef="_f08335ab-b838-4a55-8421-200f30047003" targetRef="_1f754255-6fd9-4eab-8d0f-10df7976e222">
|
|
<extensionElements>
|
|
<fgc:ForguncyExtension Properties="{"eventSetting":{"eventHandlers":[{"id":"0","enable":true,"event":200,"commands":[]}]},"sequenceProperty":{}}"/>
|
|
</extensionElements>
|
|
</sequenceFlow>
|
|
</process>
|
|
<BPMNDiagram xmlns="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:color="http://www.omg.org/spec/BPMN/non-normative/color/1.0" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="_bc75e97d-3718-40b3-954c-1093a5051bd0" name="" resolution="96">
|
|
<BPMNPlane bpmnElement="_f9fc28f7-09f7-46bc-a48e-f889c5ee7879">
|
|
<BPMNEdge id="Flow_1m23z42_di" bpmnElement="Flow_1m23z42" color:border-color="rgb(172, 172, 172)" color:background-color="rgb(172, 172, 172)">
|
|
<di:waypoint x="170" y="20"/>
|
|
<di:waypoint x="420" y="20"/>
|
|
</BPMNEdge>
|
|
<BPMNEdge id="_0f004c02-cfdf-4445-8c14-43b1a506b260" bpmnElement="_8c854f9d-40d8-4aed-acb1-6778e09b2e08" color:border-color="rgb(172, 172, 172)" color:background-color="rgb(172, 172, 172)">
|
|
<di:waypoint x="540" y="20"/>
|
|
<di:waypoint x="770" y="20"/>
|
|
</BPMNEdge>
|
|
<BPMNShape id="_77a930b7-a08f-48be-9e93-2006953ed6ad" bpmnElement="_f08335ab-b838-4a55-8421-200f30047003" isHorizontal="false" isExpanded="false" isMarkerVisible="false" isMessageVisible="false">
|
|
<Bounds xmlns="http://www.omg.org/spec/DD/20100524/DC" x="130" y="0" width="40" height="40"/>
|
|
<BPMNLabel>
|
|
<dc:Bounds x="137" y="47" width="26" height="16"/>
|
|
</BPMNLabel>
|
|
</BPMNShape>
|
|
<BPMNShape id="_2bf92c2b-1b3d-4815-b6c9-f696d0b501a1" bpmnElement="_1f754255-6fd9-4eab-8d0f-10df7976e222" isHorizontal="false" isExpanded="false" isMarkerVisible="false" isMessageVisible="false">
|
|
<Bounds xmlns="http://www.omg.org/spec/DD/20100524/DC" x="420" y="0" width="120" height="40"/>
|
|
</BPMNShape>
|
|
<BPMNShape id="_dffb7850-c3b4-4469-b322-8af82e48919d" bpmnElement="_3392ccdd-ae91-44fa-b2ee-f744284c12b0" isHorizontal="false" isExpanded="false" isMarkerVisible="false" isMessageVisible="false">
|
|
<Bounds xmlns="http://www.omg.org/spec/DD/20100524/DC" x="770" y="0" width="40" height="40"/>
|
|
<BPMNLabel>
|
|
<dc:Bounds x="777" y="47" width="26" height="16"/>
|
|
</BPMNLabel>
|
|
</BPMNShape>
|
|
</BPMNPlane>
|
|
</BPMNDiagram>
|
|
</definitions> |