yangys
2025-09-19 b0d0191a88912b352385349461b500a4964d693b
blade-service/blade-mdm/src/main/resources/processesbpmn/program-unlock.bpmn20.xml
@@ -1,6 +1,6 @@
<?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:flowable="http://flowable.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.flowable.org/processdef">
  <process id="program-unlock" name="锁定流程" isExecutable="true">
  <process id="program-unlock" name="解锁流程" isExecutable="true">
    <startEvent id="unlockStart"/>
    <endEvent id="unlockApproveEnd">
      <extensionElements>
@@ -12,10 +12,10 @@
    <sequenceFlow id="sid-030b6e4b-640a-41aa-a536-ddf9fb485ac1" sourceRef="unlockStart" targetRef="unlockApproveTask"/>
    <userTask id="unlockProgramConfirm" name="编制复核" flowable:assignee="${assignee}"/>
    <sequenceFlow id="sid-eef79355-70bc-4610-aece-b1aed2f9876a" sourceRef="unlockApproveTask" targetRef="unlockApproveEnd">
      <conditionExpression>{approve=='Y'}</conditionExpression>
      <conditionExpression>${approve=='Y'}</conditionExpression>
    </sequenceFlow>
    <sequenceFlow id="sid-be770b3a-d711-45df-8477-fdd73b84d85b" sourceRef="unlockApproveTask" targetRef="unlockProgramConfirm">
      <conditionExpression>{approve=='N'}</conditionExpression>
      <conditionExpression>${approve=='N'}</conditionExpression>
    </sequenceFlow>
    <sequenceFlow id="sid-5a3d8229-b648-424a-a0f4-f356082d5375" sourceRef="unlockProgramConfirm" targetRef="exceptionHandleScriptTask">
      <conditionExpression>${approve=='N'}</conditionExpression>
@@ -23,7 +23,7 @@
    <sequenceFlow id="sid-185054ce-c200-475e-8128-2369554b05cf" sourceRef="unlockProgramConfirm" targetRef="unlockApproveTask">
      <conditionExpression>${approve=='Y'}</conditionExpression>
    </sequenceFlow>
    <scriptTask id="exceptionHandleScriptTask" scriptFormat="JavaScript">
    <scriptTask id="exceptionHandleScriptTask" scriptFormat="groovy">
      <script><![CDATA[
          execution.setVariable("exception", "1");//设置异常标志
        ]]></script>