{"Message":"1. 新增任务审批流程;","MessageType":2,"Modules":[{"State":4,"Type":7,"Name":"Table/任务状态"},{"State":1,"Type":7,"Name":"Table/任务表"},{"State":1,"Type":30,"Name":"TableProcessView/ACT_RU_TASK_View"},{"State":1,"Type":23,"Name":"TableView/审批历史简约视图"},{"State":1,"Type":1,"Name":"PCPage/FGC_我的待办"},{"State":1,"Type":1,"Name":"PCPage/FGC_任务详情"},{"State":1,"Type":2,"Name":"MobilePage/FGC_任务详情_手机版"},{"State":1,"Type":1,"Name":"PCPage/项目首页"},{"State":1,"Type":1,"Name":"PCPage/项目标题"},{"State":1,"Type":1,"Name":"PCPage/任务列表"},{"State":1,"Type":1,"Name":"PCPage/项目审批"},{"State":1,"Type":1,"Name":"PCPage/任务首页"},{"State":1,"Type":1,"Name":"PCPage/任务-子任务列表"},{"State":1,"Type":1,"Name":"PCPage/新增任务"},{"State":1,"Type":3,"Name":"MasterPCPage/FGC_母版页"},{"State":1,"Type":15,"Name":"ServerCommand/变更任务状态"},{"State":1,"Type":15,"Name":"ServerCommand/新增任务"},{"State":1,"Type":15,"Name":"ServerCommand/新增或修改项目"},{"State":1,"Type":28,"Name":"ProcessItem/立项流程"},{"State":1,"Type":9,"Name":"Theme"},{"State":3,"Type":1,"Name":"PCPage/项目审批历史"},{"State":3,"Type":28,"Name":"ProcessItem/任务分配流程"}],"Version":"v1"}
This commit is contained in:
138
Process/任务分配流程.bpmn
Normal file
138
Process/任务分配流程.bpmn
Normal file
@@ -0,0 +1,138 @@
|
||||
<?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="_0029152c-6da3-486d-9282-4c24a6d2fff1" isExecutable="true">
|
||||
<documentation />
|
||||
<extensionElements>
|
||||
<fgc:ForguncyExtension Properties="{"description":null,"page":null,"tables":["任务表"],"variableSetting":{"variables":[{"name":"code","type":null,"initialValue":{"valueType":1,"fixedValue":"0","tableFieldValue":null}},{"name":"msg","type":null,"initialValue":{"valueType":1,"fixedValue":null,"tableFieldValue":null}}]},"eventSetting":{"eventHandlers":[{"id":"0","event":100,"comment":null,"commands":[],"index":null},{"id":"1","event":101,"comment":null,"commands":[{"$type":"ServerDesignerCommon.ProcessEngine.ExtensionModel.CallServerCommandDefinition, ServerDesignerCommon","serverCommandName":"变更任务状态","isAsync":false,"inputParams":[{"key":"任务ID","value":{"valueType":2,"fixedValue":null,"tableFieldValue":{"TableName":"任务表","ColumnName":"ID","GUID":"c2c851d2-cdd8-4eb0-9998-d6ef7ad36067","AttachType":null,"RelationBinding":null,"AggregateBindingInfo":null}}},{"key":"状态码","value":{"valueType":1,"fixedValue":"2","tableFieldValue":null}}],"returnCodeTo":"","returnMessageTo":"","returnPropertiesTo":[],"$fgc_java_type":"com.grapecity.forguncy.service.command.impl.callserver.CallServerCommandDefinition","$fgc_csharp_type":"ServerDesignerCommon.ProcessEngine.ExtensionModel.CallServerCommandDefinition","id":"1718541633462-593d3555","enable":true,"comment":null}],"index":null},{"id":"2","event":102,"comment":null,"commands":[{"$type":"ServerDesignerCommon.ProcessEngine.ExtensionModel.CallServerCommandDefinition, ServerDesignerCommon","serverCommandName":"变更任务状态","isAsync":false,"inputParams":[{"key":"任务ID","value":{"valueType":2,"fixedValue":null,"tableFieldValue":{"TableName":"任务表","ColumnName":"ID","GUID":"ed83e2d8-95ee-4418-885b-81f4015fde04","AttachType":null,"RelationBinding":null,"AggregateBindingInfo":null}}},{"key":"状态码","value":{"valueType":1,"fixedValue":"-1","tableFieldValue":null}}],"returnCodeTo":"","returnMessageTo":"","returnPropertiesTo":[],"$fgc_java_type":"com.grapecity.forguncy.service.command.impl.callserver.CallServerCommandDefinition","$fgc_csharp_type":"ServerDesignerCommon.ProcessEngine.ExtensionModel.CallServerCommandDefinition","id":"1718542074903-4b212565","enable":true,"comment":null}],"index":null}]},"timeoutSetting":{"deadlines":[]},"relationSetting":{"processInstanceIdFields":[{"TableName":"任务表","ColumnName":"流程实例ID","GUID":"e8ac0e8b-0205-4c18-bc21-3ac48aacf3cd","AttachType":null,"RelationBinding":null,"AggregateBindingInfo":null}]},"comment":null,"fgcBpmnGuid":"6ae34481-ff83-4e44-8345-28f6f93e312e"}" />
|
||||
</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>_4f4ab1b2-ce52-46c6-bcc8-52c43b0c4a9f</outgoing>
|
||||
</startEvent>
|
||||
<userTask id="_c4888637-b61c-4ffb-a818-95443aba9610" name="编写任务" activiti:formKey="${formKeyResolver.getFormKey(execution)}" activiti:assignee="${userTaskResolver.getAssignee(execution)}">
|
||||
<extensionElements>
|
||||
<fgc:ForguncyExtension Properties="{"generalSetting":{"page":"新增任务","tables":["任务表"],"actions":[{"key":"0","type":100,"enable":true,"commitOption":{"autoSave":true},"remarks":[{"key":1,"enable":true,"required":false},{"key":2,"enable":false,"required":false}],"title":"提交","condition":"{\"$type\":\"Forguncy.Model.IfCondition, ServerDesignerCommon\",\"LeftBracket\":0,\"param\":{\"$type\":\"Forguncy.Model.IfConditionProcessTableDataParam, ServerDesignerCommon\",\"BindingInfo\":{\"$type\":\"ForguncyDataAccess.BindingInfo, ForguncyDataAccess\",\"TableName\":\"任务表\",\"ColumnName\":\"执行者\"},\"IfConditionParamType\":5},\"compareType\":1,\"value\":\"%Null%\",\"RightBracket\":0}"},{"key":"1644290566823-71614d19","type":200,"enable":true,"remarks":[{"key":1,"enable":true}],"title":"作废","terminateOption":{"type":2}},{"key":"1","type":1000,"enable":true,"title":"暂存","remarks":[]}]},"userSetting":{"assigneeSettings":[{"key":"1641910702820","type":1,"value":{"valueType":2,"tableFieldValue":{"$type":"ForguncyDataAccess.BindingInfo, ForguncyDataAccess","TableName":"任务表","ColumnName":"执行者"}},"enable":true}],"assigneeTarget":2,"isMultiple":false,"isCountersign":false,"isSequential":false,"autoCommitStrategies":[{"status":1},{"status":2},{"status":3}],"nobodyAssignStrategy":{"status":1}},"dataSetting":{"tablePermissions":[]},"timeoutSetting":{"deadlines":[]},"eventSetting":{"eventHandlers":[{"id":"0","enable":true,"event":400,"commands":[{"enable":true,"id":"1718541499594-4eeeb7c4","$fgc_java_type":"com.grapecity.forguncy.service.command.impl.callserver.CallServerCommandDefinition","$fgc_csharp_type":"ServerDesignerCommon.ProcessEngine.ExtensionModel.CallServerCommandDefinition","returnCodeTo":"code","returnMessageTo":"msg","inputParams":[{"key":"任务ID","value":{"valueType":2,"tableFieldValue":{"$type":"ForguncyDataAccess.BindingInfo, ForguncyDataAccess","TableName":"任务表","ColumnName":"ID"}}},{"key":"状态码","value":{"valueType":1,"fixedValue":"0"}}],"returnPropertiesTo":[],"serverCommandName":"变更任务状态","isAsync":false}]},{"id":"1","enable":true,"event":300,"commands":[]},{"id":"2","enable":true,"event":302,"commands":[]}]},"variableSetting":{"variables":[]}}" />
|
||||
</extensionElements>
|
||||
<incoming>_4f4ab1b2-ce52-46c6-bcc8-52c43b0c4a9f</incoming>
|
||||
<incoming>Flow_1cryizq</incoming>
|
||||
<outgoing>_9fac5c71-636e-41e6-915a-49a1e7b67072</outgoing>
|
||||
</userTask>
|
||||
<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}],"title":"同意"},{"type":300,"key":"1718540832318-10dd4d08","enable":true,"title":"回退","remarks":[{"key":1,"enable":true,"required":true},{"key":2,"enable":false,"required":false}],"rollbackOption":{"type":1}},{"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":"1718540797338-814a28fa","type":1,"value":{"valueType":2,"tableFieldValue":{"$type":"ForguncyDataAccess.BindingInfo, ForguncyDataAccess","TableName":"任务表","ColumnName":"项目ID","RelationBinding":{"$type":"ForguncyDataAccess.RelationBinding, ForguncyDataAccess","RelatedTable":"项目表","RelatedColumn":"ID","DisplayColumn":"项目经理"}}},"enable":true}],"assigneeTarget":1,"isMultiple":true,"isCountersign":false,"isSequential":false,"autoCommitStrategies":[{"status":1,"enable":false},{"status":2,"enable":false},{"status":3,"enable":true}],"nobodyAssignStrategy":{"status":2}},"dataSetting":{"tablePermissions":[]},"timeoutSetting":{"deadlines":[]},"eventSetting":{"eventHandlers":[{"id":"0","enable":true,"event":400,"commands":[{"enable":true,"id":"1718541653523-04eeb920","$fgc_java_type":"com.grapecity.forguncy.service.command.impl.callserver.CallServerCommandDefinition","$fgc_csharp_type":"ServerDesignerCommon.ProcessEngine.ExtensionModel.CallServerCommandDefinition","returnCodeTo":"code","returnMessageTo":"msg","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":[]},{"id":"1718541289570-eba8d038","enable":true,"event":401,"commands":[]}]},"variableSetting":{"variables":[]}}" />
|
||||
</extensionElements>
|
||||
<incoming>_9fac5c71-636e-41e6-915a-49a1e7b67072</incoming>
|
||||
<outgoing>Flow_1yepfaf</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>Flow_07xobdn</incoming>
|
||||
</endEvent>
|
||||
<sequenceFlow id="_4f4ab1b2-ce52-46c6-bcc8-52c43b0c4a9f" name="" sourceRef="_f08335ab-b838-4a55-8421-200f30047003" targetRef="_c4888637-b61c-4ffb-a818-95443aba9610">
|
||||
<extensionElements>
|
||||
<fgc:ForguncyExtension Properties="{"eventSetting":{"eventHandlers":[{"id":"0","enable":true,"event":200,"commands":[]}]},"sequenceProperty":{}}" />
|
||||
</extensionElements>
|
||||
</sequenceFlow>
|
||||
<sequenceFlow id="_9fac5c71-636e-41e6-915a-49a1e7b67072" name="成功" sourceRef="_c4888637-b61c-4ffb-a818-95443aba9610" targetRef="_1f754255-6fd9-4eab-8d0f-10df7976e222">
|
||||
<extensionElements>
|
||||
<fgc:ForguncyExtension Properties="{"sequenceProperty":{"condition":"{\"$type\":\"Forguncy.Model.IfCondition, ServerDesignerCommon\",\"LeftBracket\":0,\"param\":{\"$type\":\"Forguncy.Model.IfConditionProcessFormulaParam, ServerDesignerCommon\",\"FormulaText\":\"=code\",\"IfConditionParamType\":6},\"value\":\"0\",\"RightBracket\":0}"},"eventSetting":{"eventHandlers":[{"id":"0","enable":true,"event":200,"commands":[]}]}}" />
|
||||
</extensionElements>
|
||||
<conditionExpression xsi:type="tFormalExpression">${sequenceFlowResolver.getConditionResult(execution,'_9fac5c71-636e-41e6-915a-49a1e7b67072')}</conditionExpression>
|
||||
</sequenceFlow>
|
||||
<exclusiveGateway id="Gateway_07lhqi4">
|
||||
<extensionElements>
|
||||
<fgc:ForguncyExtension Properties="{"eventSetting":{"eventHandlers":[{"id":"0","enable":true,"event":400,"commands":[{"enable":true,"id":"1718541350577-5e8907b0","$fgc_java_type":"com.grapecity.forguncy.service.command.impl.callserver.CallServerCommandDefinition","$fgc_csharp_type":"ServerDesignerCommon.ProcessEngine.ExtensionModel.CallServerCommandDefinition","returnCodeTo":"code","returnMessageTo":"msg","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":"1","enable":true,"event":401,"commands":[]}]}}" />
|
||||
</extensionElements>
|
||||
<incoming>Flow_1yepfaf</incoming>
|
||||
<outgoing>Flow_07xobdn</outgoing>
|
||||
<outgoing>Flow_1cryizq</outgoing>
|
||||
</exclusiveGateway>
|
||||
<sequenceFlow id="Flow_1yepfaf" name="成功" sourceRef="_1f754255-6fd9-4eab-8d0f-10df7976e222" targetRef="Gateway_07lhqi4">
|
||||
<extensionElements>
|
||||
<fgc:ForguncyExtension Properties="{"eventSetting":{"eventHandlers":[{"id":"0","enable":true,"event":200,"commands":[]}]},"sequenceProperty":{"condition":"{\"$type\":\"Forguncy.Model.IfCondition, ServerDesignerCommon\",\"LeftBracket\":0,\"param\":{\"$type\":\"Forguncy.Model.IfConditionProcessFormulaParam, ServerDesignerCommon\",\"FormulaText\":\"=code\",\"IfConditionParamType\":6},\"value\":\"0\",\"RightBracket\":0}"}}" />
|
||||
</extensionElements>
|
||||
<conditionExpression xsi:type="tFormalExpression">${sequenceFlowResolver.getConditionResult(execution,'Flow_1yepfaf')}</conditionExpression>
|
||||
</sequenceFlow>
|
||||
<sequenceFlow id="Flow_07xobdn" name="成功" sourceRef="Gateway_07lhqi4" targetRef="_3392ccdd-ae91-44fa-b2ee-f744284c12b0">
|
||||
<extensionElements>
|
||||
<fgc:ForguncyExtension Properties="{"eventSetting":{"eventHandlers":[{"id":"0","enable":true,"event":200,"commands":[]}]},"sequenceProperty":{"condition":"{\"$type\":\"Forguncy.Model.IfCondition, ServerDesignerCommon\",\"LeftBracket\":0,\"param\":{\"$type\":\"Forguncy.Model.IfConditionProcessFormulaParam, ServerDesignerCommon\",\"FormulaText\":\"=code\",\"IfConditionParamType\":6},\"value\":\"0\",\"RightBracket\":0}"}}" />
|
||||
</extensionElements>
|
||||
<conditionExpression xsi:type="tFormalExpression">${sequenceFlowResolver.getConditionResult(execution,'Flow_07xobdn')}</conditionExpression>
|
||||
</sequenceFlow>
|
||||
<sequenceFlow id="Flow_1cryizq" name="失败" sourceRef="Gateway_07lhqi4" targetRef="_c4888637-b61c-4ffb-a818-95443aba9610">
|
||||
<extensionElements>
|
||||
<fgc:ForguncyExtension Properties="{"eventSetting":{"eventHandlers":[{"id":"0","enable":true,"event":200,"commands":[]}]},"sequenceProperty":{"condition":"{\"$type\":\"Forguncy.Model.IfCondition, ServerDesignerCommon\",\"LeftBracket\":0,\"param\":{\"$type\":\"Forguncy.Model.IfConditionProcessFormulaParam, ServerDesignerCommon\",\"FormulaText\":\"=code\",\"IfConditionParamType\":6},\"compareType\":1,\"value\":\"0\",\"RightBracket\":0}"}}" />
|
||||
</extensionElements>
|
||||
<conditionExpression xsi:type="tFormalExpression">${sequenceFlowResolver.getConditionResult(execution,'Flow_1cryizq')}</conditionExpression>
|
||||
</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="_0029152c-6da3-486d-9282-4c24a6d2fff1">
|
||||
<BPMNEdge id="Flow_1cryizq_di" bpmnElement="Flow_1cryizq" color:border-color="rgb(172, 172, 172)" color:background-color="rgb(172, 172, 172)">
|
||||
<di:waypoint x="830" y="45" />
|
||||
<di:waypoint x="830" y="120" />
|
||||
<di:waypoint x="350" y="120" />
|
||||
<di:waypoint x="350" y="40" />
|
||||
<BPMNLabel>
|
||||
<dc:Bounds x="599" y="102" width="27" height="16" />
|
||||
</BPMNLabel>
|
||||
</BPMNEdge>
|
||||
<BPMNEdge id="Flow_07xobdn_di" bpmnElement="Flow_07xobdn" color:border-color="rgb(172, 172, 172)" color:background-color="rgb(172, 172, 172)">
|
||||
<di:waypoint x="855" y="20" />
|
||||
<di:waypoint x="940" y="20" />
|
||||
<BPMNLabel>
|
||||
<dc:Bounds x="885" y="2" width="26" height="16" />
|
||||
</BPMNLabel>
|
||||
</BPMNEdge>
|
||||
<BPMNEdge id="Flow_1yepfaf_di" bpmnElement="Flow_1yepfaf" color:border-color="rgb(172, 172, 172)" color:background-color="rgb(172, 172, 172)">
|
||||
<di:waypoint x="650" y="20" />
|
||||
<di:waypoint x="805" y="20" />
|
||||
<BPMNLabel>
|
||||
<dc:Bounds x="715" y="2" width="26" height="16" />
|
||||
</BPMNLabel>
|
||||
</BPMNEdge>
|
||||
<BPMNEdge id="_a4482b47-1e47-4d58-85ed-30f504ce12b9" bpmnElement="_9fac5c71-636e-41e6-915a-49a1e7b67072" color:border-color="rgb(172, 172, 172)" color:background-color="rgb(172, 172, 172)">
|
||||
<waypoint xmlns="http://www.omg.org/spec/DD/20100524/DI" x="410" y="20" />
|
||||
<waypoint xmlns="http://www.omg.org/spec/DD/20100524/DI" x="530" y="20" />
|
||||
<BPMNLabel>
|
||||
<dc:Bounds x="457" y="2" width="26" height="16" />
|
||||
</BPMNLabel>
|
||||
</BPMNEdge>
|
||||
<BPMNEdge id="_b2af9167-b562-4ac3-a386-acf24b122376" bpmnElement="_4f4ab1b2-ce52-46c6-bcc8-52c43b0c4a9f" color:border-color="rgb(172, 172, 172)" color:background-color="rgb(172, 172, 172)">
|
||||
<waypoint xmlns="http://www.omg.org/spec/DD/20100524/DI" x="170" y="20" />
|
||||
<waypoint xmlns="http://www.omg.org/spec/DD/20100524/DI" x="290" 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="_2e819254-0a57-4077-b12c-2b6b6063cbcd" bpmnElement="_c4888637-b61c-4ffb-a818-95443aba9610" isHorizontal="false" isExpanded="false" isMarkerVisible="false" isMessageVisible="false">
|
||||
<Bounds xmlns="http://www.omg.org/spec/DD/20100524/DC" x="290" y="0" width="120" height="40" />
|
||||
<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="530" y="0" width="120" height="40" />
|
||||
<BPMNLabel />
|
||||
</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="940" y="0" width="40" height="40" />
|
||||
<BPMNLabel>
|
||||
<dc:Bounds x="947" y="47" width="27" height="16" />
|
||||
</BPMNLabel>
|
||||
</BPMNShape>
|
||||
<BPMNShape id="Gateway_07lhqi4_di" bpmnElement="Gateway_07lhqi4" isMarkerVisible="true">
|
||||
<dc:Bounds x="805" y="-5" width="50" height="50" />
|
||||
</BPMNShape>
|
||||
</BPMNPlane>
|
||||
</BPMNDiagram>
|
||||
</definitions>
|
||||
25
Process/任务分配流程.json
Normal file
25
Process/任务分配流程.json
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"Name": "任务分配流程",
|
||||
"PermissionData": {
|
||||
"$type": "Forguncy.RbacPermission.Core.Impl.BpmProcess.BpmProcessPermissionData, Forguncy.RbacPermission.Core",
|
||||
"permissionResource": {
|
||||
"$type": "Forguncy.RbacPermission.Core.Impl.BpmProcess.BpmProcessPermissionResource, Forguncy.RbacPermission.Core"
|
||||
},
|
||||
"permissionBindings": [
|
||||
{
|
||||
"$type": "Forguncy.RbacPermission.Core.Impl.BpmProcess.BpmProcessPermissionBinding, Forguncy.RbacPermission.Core",
|
||||
"bpmProcessPermissionType": 1,
|
||||
"roleNames": [
|
||||
"FGC_LoginUser"
|
||||
]
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.RbacPermission.Core.Impl.BpmProcess.BpmProcessPermissionBinding, Forguncy.RbacPermission.Core",
|
||||
"bpmProcessPermissionType": 2,
|
||||
"roleNames": [
|
||||
"FGC_LoginUser"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -4,7 +4,7 @@
|
||||
<process id="_f9fc28f7-09f7-46bc-a48e-f889c5ee7879" name="项目立项申请" isExecutable="true">
|
||||
<documentation>用于项目的立项申请审批</documentation>
|
||||
<extensionElements>
|
||||
<fgc:ForguncyExtension Properties="{"description":null,"page":"项目审批","tables":["项目表"],"variableSetting":{"variables":[]},"eventSetting":{"eventHandlers":[{"id":"0","event":100,"comment":null,"commands":[],"index":null},{"id":"1","event":101,"comment":null,"commands":[{"$type":"ServerDesignerCommon.ProcessEngine.ExtensionModel.CallServerCommandDefinition, ServerDesignerCommon","serverCommandName":"修改项目状态","isAsync":false,"inputParams":[{"key":"项目ID","value":{"valueType":2,"fixedValue":null,"tableFieldValue":{"TableName":"项目表","ColumnName":"ID","GUID":"635c536a-d1a2-4fd2-a0f7-53a5e7189de3","AttachType":null,"RelationBinding":null,"AggregateBindingInfo":null}}},{"key":"状态码","value":{"valueType":1,"fixedValue":"2","tableFieldValue":null}}],"returnCodeTo":"","returnMessageTo":"","returnPropertiesTo":[],"$fgc_java_type":"com.grapecity.forguncy.service.command.impl.callserver.CallServerCommandDefinition","$fgc_csharp_type":"ServerDesignerCommon.ProcessEngine.ExtensionModel.CallServerCommandDefinition","id":"1709614677003-20e96939","enable":true,"comment":null}],"index":null},{"id":"2","event":102,"comment":null,"commands":[],"index":null}]},"timeoutSetting":{"deadlines":[]},"relationSetting":{"processInstanceIdFields":[{"TableName":"项目表","ColumnName":"立项流程示例ID","GUID":"fec07633-c41c-45c5-9991-057e88566137","AttachType":null,"RelationBinding":null,"AggregateBindingInfo":null}]},"comment":null,"fgcBpmnGuid":"579432b0-aa69-47a5-b8de-99268764b86c"}" />
|
||||
<fgc:ForguncyExtension Properties="{"description":null,"page":"项目审批","tables":["项目表"],"variableSetting":{"variables":[]},"eventSetting":{"eventHandlers":[{"id":"0","event":100,"comment":null,"commands":[],"index":null},{"id":"1","event":101,"comment":null,"commands":[{"$type":"ServerDesignerCommon.ProcessEngine.ExtensionModel.CallServerCommandDefinition, ServerDesignerCommon","serverCommandName":"修改项目状态","isAsync":false,"inputParams":[{"key":"项目ID","value":{"valueType":2,"fixedValue":null,"tableFieldValue":{"TableName":"项目表","ColumnName":"ID","GUID":"635c536a-d1a2-4fd2-a0f7-53a5e7189de3","AttachType":null,"RelationBinding":null,"AggregateBindingInfo":null}}},{"key":"状态码","value":{"valueType":1,"fixedValue":"2","tableFieldValue":null}}],"returnCodeTo":"","returnMessageTo":"","returnPropertiesTo":[],"$fgc_java_type":"com.grapecity.forguncy.service.command.impl.callserver.CallServerCommandDefinition","$fgc_csharp_type":"ServerDesignerCommon.ProcessEngine.ExtensionModel.CallServerCommandDefinition","id":"1709614677003-20e96939","enable":true,"comment":null}],"index":null},{"id":"2","event":102,"comment":null,"commands":[],"index":null}]},"timeoutSetting":{"deadlines":[]},"relationSetting":{"processInstanceIdFields":[{"TableName":"项目表","ColumnName":"立项流程示例ID","GUID":"fec07633-c41c-45c5-9991-057e88566137","AttachType":null,"RelationBinding":null,"AggregateBindingInfo":null}]},"comment":null,"fgcBpmnGuid":"bb019b51-8c25-4ee8-92b7-e16ba603f789"}" />
|
||||
</extensionElements>
|
||||
<startEvent id="_f08335ab-b838-4a55-8421-200f30047003" name="开始">
|
||||
<extensionElements>
|
||||
@@ -14,9 +14,9 @@
|
||||
</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":[]}}" />
|
||||
<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}},{"type":300,"key":"1718539289443-380b793d","enable":true,"title":"回退","remarks":[{"key":1,"enable":true,"required":true},{"key":2,"enable":false,"required":false}],"commitOption":{"autoSave":false},"rollbackOption":{"type":1}},{"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>
|
||||
<incoming>Flow_0cq5pfu</incoming>
|
||||
<outgoing>_8c854f9d-40d8-4aed-acb1-6778e09b2e08</outgoing>
|
||||
<multiInstanceLoopCharacteristics activiti:collection="${userTaskResolver.getCollection(execution)}" activiti:elementVariable="FGC_activitiAssignee">
|
||||
<completionCondition>${nrOfCompletedInstances > 0}</completionCondition>
|
||||
@@ -33,7 +33,22 @@
|
||||
<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">
|
||||
<sequenceFlow id="Flow_1m23z42" sourceRef="_f08335ab-b838-4a55-8421-200f30047003" targetRef="Activity_128hlps">
|
||||
<extensionElements>
|
||||
<fgc:ForguncyExtension Properties="{"eventSetting":{"eventHandlers":[{"id":"0","enable":true,"event":200,"commands":[]}]},"sequenceProperty":{}}" />
|
||||
</extensionElements>
|
||||
</sequenceFlow>
|
||||
<userTask id="Activity_128hlps" name="创建项目" activiti:formKey="${formKeyResolver.getFormKey(execution)}" activiti:assignee="${FGC_activitiAssignee}">
|
||||
<extensionElements>
|
||||
<fgc:ForguncyExtension Properties="{"generalSetting":{"page":"项目审批","tables":["项目表"],"actions":[{"key":"100","type":100,"enable":true,"title":"提交","remarks":[{"key":1,"enable":true,"required":false},{"key":2,"enable":false,"required":false}],"commitOption":{"autoSave":true}}]},"userSetting":{"assigneeSettings":[{"key":"1718537558155-58d82bab","type":1,"value":{"valueType":2,"tableFieldValue":{"$type":"ForguncyDataAccess.BindingInfo, ForguncyDataAccess","TableName":"项目表","ColumnName":"项目经理"}},"enable":true}],"assigneeTarget":2,"isMultiple":true,"isCountersign":false,"isSequential":false,"autoCommitStrategies":[{"status":1,"enable":false},{"status":2,"enable":false},{"status":3,"enable":false}],"nobodyAssignStrategy":{"status":1}},"dataSetting":{"tablePermissions":[]},"timeoutSetting":{"deadlines":[]},"eventSetting":{"eventHandlers":[{"id":"0","enable":true,"event":400,"commands":[]},{"id":"1","enable":true,"event":300,"commands":[]},{"id":"2","enable":true,"event":302,"commands":[]}]},"variableSetting":{"variables":[]}}" />
|
||||
</extensionElements>
|
||||
<incoming>Flow_1m23z42</incoming>
|
||||
<outgoing>Flow_0cq5pfu</outgoing>
|
||||
<multiInstanceLoopCharacteristics activiti:collection="${userTaskResolver.getCollection(execution)}" activiti:elementVariable="FGC_activitiAssignee">
|
||||
<completionCondition>${nrOfCompletedInstances > 0}</completionCondition>
|
||||
</multiInstanceLoopCharacteristics>
|
||||
</userTask>
|
||||
<sequenceFlow id="Flow_0cq5pfu" sourceRef="Activity_128hlps" targetRef="_1f754255-6fd9-4eab-8d0f-10df7976e222">
|
||||
<extensionElements>
|
||||
<fgc:ForguncyExtension Properties="{"eventSetting":{"eventHandlers":[{"id":"0","enable":true,"event":200,"commands":[]}]},"sequenceProperty":{}}" />
|
||||
</extensionElements>
|
||||
@@ -41,27 +56,35 @@
|
||||
</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_0cq5pfu_di" bpmnElement="Flow_0cq5pfu" color:border-color="rgb(172, 172, 172)" color:background-color="rgb(172, 172, 172)">
|
||||
<di:waypoint x="300" y="20" />
|
||||
<di:waypoint x="410" y="20" />
|
||||
</BPMNEdge>
|
||||
<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" />
|
||||
<di:waypoint x="20" y="20" />
|
||||
<di:waypoint x="180" 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" />
|
||||
<di:waypoint x="530" y="20" />
|
||||
<di:waypoint x="650" 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" />
|
||||
<Bounds xmlns="http://www.omg.org/spec/DD/20100524/DC" x="-20" y="0" width="40" height="40" />
|
||||
<BPMNLabel>
|
||||
<dc:Bounds x="137" y="47" width="26" height="16" />
|
||||
<dc:Bounds x="-13" y="47" width="27" 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" />
|
||||
<Bounds xmlns="http://www.omg.org/spec/DD/20100524/DC" x="410" y="0" width="120" height="40" />
|
||||
</BPMNShape>
|
||||
<BPMNShape id="Activity_128hlps_di" bpmnElement="Activity_128hlps">
|
||||
<dc:Bounds x="180" y="0" width="120" height="40" />
|
||||
<BPMNLabel />
|
||||
</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" />
|
||||
<Bounds xmlns="http://www.omg.org/spec/DD/20100524/DC" x="650" y="0" width="40" height="40" />
|
||||
<BPMNLabel>
|
||||
<dc:Bounds x="777" y="47" width="26" height="16" />
|
||||
<dc:Bounds x="657" y="47" width="27" height="16" />
|
||||
</BPMNLabel>
|
||||
</BPMNShape>
|
||||
</BPMNPlane>
|
||||
|
||||
Reference in New Issue
Block a user