概念

驳回是指审批人或司法机关对提交的申请或请求进行审查后,认为其不符合要求或无法成立,从而作出的不予同意、拒绝其通过的决定,该决定通常会导致流程回退或申请被否定。

建模

leave1

<?xml version="1.0" encoding="UTF-8"?><bpmn:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn">  <bpmn:process id="Process_9729" name="请假流程" isExecutable="true">    <bpmn:startEvent id="Event_0ucy4xc">      <bpmn:outgoing>Flow_1fgnagb</bpmn:outgoing>    </bpmn:startEvent>    <bpmn:sequenceFlow id="Flow_1fgnagb" sourceRef="Event_0ucy4xc" targetRef="Activity_04kx462" />    <bpmn:userTask id="Activity_04kx462" name="请假申请" camunda:assignee="${startUser}">      <bpmn:extensionElements>        <camunda:formData>          <camunda:formField id="type" label="请假类型" type="string" />          <camunda:formField id="reason" label="请假理由" type="string" />          <camunda:formField id="days" label="请假天数" type="long" defaultValue="" />        </camunda:formData>      </bpmn:extensionElements>      <bpmn:incoming>Flow_1fgnagb</bpmn:incoming>      <bpmn:outgoing>Flow_0nrxozi</bpmn:outgoing>    </bpmn:userTask>    <bpmn:sequenceFlow id="Flow_0nrxozi" sourceRef="Activity_04kx462" targetRef="Activity_0qetwmj" />    <bpmn:userTask id="Activity_0qetwmj" name="直属领导审批" camunda:assignee="${candidate}">      <bpmn:extensionElements>        <camunda:formData>          <camunda:formField id="userComment" label="评论" type="string" />        </camunda:formData>      </bpmn:extensionElements>      <bpmn:incoming>Flow_0nrxozi</bpmn:incoming>      <bpmn:outgoing>Flow_0bpj5l6</bpmn:outgoing>    </bpmn:userTask>    <bpmn:sequenceFlow id="Flow_0bpj5l6" sourceRef="Activity_0qetwmj" targetRef="Gateway_07216c1" />    <bpmn:exclusiveGateway id="Gateway_07216c1">      <bpmn:incoming>Flow_0bpj5l6</bpmn:incoming>      <bpmn:outgoing>Flow_0uf4uhb</bpmn:outgoing>      <bpmn:outgoing>Flow_1jmp8ly</bpmn:outgoing>    </bpmn:exclusiveGateway>    <bpmn:endEvent id="Event_0lhm65y">      <bpmn:incoming>Flow_0uf4uhb</bpmn:incoming>    </bpmn:endEvent>    <bpmn:sequenceFlow id="Flow_0uf4uhb" name="审批通过" sourceRef="Gateway_07216c1" targetRef="Event_0lhm65y">      <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">${approved == true}</bpmn:conditionExpression>    </bpmn:sequenceFlow>    <bpmn:endEvent id="Event_0xmax1y">      <bpmn:incoming>Flow_1jmp8ly</bpmn:incoming>    </bpmn:endEvent>    <bpmn:sequenceFlow id="Flow_1jmp8ly" name="审批拒绝" sourceRef="Gateway_07216c1" targetRef="Event_0xmax1y">      <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">${approved==false}</bpmn:conditionExpression>    </bpmn:sequenceFlow>  </bpmn:process></bpmn:definitions>


演示情况
以小依这个账号登陆,发起请假流程
发起流程后, 流转到管理员进行审批
管理员对这个流程进行驳回
此时看到审批时间线又跳转到到小依,并且看到了驳回意见
小依登陆系统,进行重发。流程将再次进入审批。
文章所有账号信息
https://www.ruoyiflow.com/documentation/workflow/reject

标签: 分类

添加新评论