由 liuqing01 于 2025/07/23 07:05 最后修改
摘要
-
页面属性 (2 修改, 0 新增, 0 删除)
-
附件 (0 修改, 14 新增, 0 删除)
- 1741686459694-659.png
- 1741686498801-276.png
- 1741686531103-177.png
- 1741686549674-439.png
- 1741686596683-996.png
- 1741686607634-332.png
- 1751269132744-902.png
- 1751269691489-384.png
- 1751269836118-922.png
- 1751269940050-146.png
- 1751270009451-352.png
- 1753064871834-492.png
- 1753064891433-308.png
- 1753065148807-206.png
细节
- 页面属性
-
- 标题
-
... ... @@ -1,1 +1,1 @@ 1 - 4ApprovalNode1 +5 Sub-process node - 内容
-
... ... @@ -1,144 +1,86 @@ 1 - Theapproval nodesupports the configuration:Nodename, approver, approval mode, no-approver rules, fieldpermissions, buttons, validation, and notifications.1 +=== 1、Feature Overview === 2 2 3 - [[image:1741680073490-233.png]](% contenteditable="false"style="background-image:url(http://192.168.102.35:8080/webjars/wiki%3Axwiki/xwiki-platform-ckeditor-webjar/16.8.0/plugins/widget/images/handle.png);background:rgba(220,220,220,0.5);display:none" tabindex="-1"%)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true"height="15"role="presentation"title="拖曳以移動" width="15"]]3 +Sub-process nodes that can call other processes to run under the current process. 4 4 5 +When the business process is more complex, the process can be split into a parent process and one or more sub-processes to execute. When the parent process to a part of the process will begin to enter the sub-process approval flow, sub-process flow is completed and back to the parent process to complete the acceptance of the entire business. 5 5 6 - ===1、**ApproverSettings**===7 +ps: child process is also a complete self-executing process. 7 7 8 - Choosefrom address book or form controls; Multiple approverscan beselected.9 +=== 2、**Use Cases** === 9 9 10 - MultipleApprovers:Selectdifferentapproval modes fordifferentoutcomes.11 +Scenarios such as: employees need to return the relevant equipment when leaving, in the exit process can call the “return of equipment” process, will leave the employee's equipment for the return. 11 11 12 - [[image:1741680091439-552.png]]13 +=== 3、**Design Approach:** === 13 13 15 +[[image:1753064871834-492.png]] 14 14 15 -=== 2、ApprovalMode ===17 +==== 1 Select Process ==== 16 16 17 - Theapproval modessupportChainsigningand Parallelsigning。19 +Select the process within the authority, only one can be selected. 18 18 19 - Chain signing:A → B → C (in order);21 +[[image:1753064891433-308.png]] 20 20 21 - *Approvers(A, B, C) mustapprove in sequence. After A completes the approval, the task moves to B's pending list. After Bcompletes theapproval, the task moves to C's pending list.23 +==== 2 Participant ==== 22 22 23 - Parallelsigning: A,B,C(simultaneously);25 +Sub-processes are automatically initiated, you need to select the participant of the sub-process, and the participant acts as the initiator of the process; 24 24 25 - *Approvers (A, B, C) receivethetasksimultaneouslyintheirpending lists.Once A,B,andCcomplete theirapprovals, theprocesscontinuesaccordingto theconfiguredapprovalrules.27 +The participant can select one or more, and if you select more than one, there will be more than one sub-process running. 26 26 27 27 28 - **SequentialandParallel SigningModes**30 +==== 3 Run Mode ==== 29 29 30 -(% style="width:1480px" %) 31 -|(% colspan="2" rowspan="1" style="width:492px" %)((( 32 -Approval Mode 33 -)))|(% colspan="1" rowspan="1" style="width:987px" %)((( 34 -description 35 -))) 36 -|(% colspan="1" rowspan="4" style="width:161px" %)Chain signing|(% colspan="1" rowspan="1" style="width:331px" %)((( 37 -Default 38 -)))|(% colspan="1" rowspan="1" style="width:987px" %)((( 39 -A, B, and C must all sign. If any one person rejects, the approval fails. 40 -))) 41 -|(% colspan="1" rowspan="1" style="width:331px" %)((( 42 -One-Vote Veto 43 -)))|(% colspan="1" rowspan="1" style="width:987px" %)((( 44 -If any one person (A, B, or C) votes to reject, the process node is rejected, and the remaining approvers do not need to continue 45 -))) 46 -|(% colspan="1" rowspan="1" style="width:331px" %)((( 47 -One-Vote Pass 48 -)))|(% colspan="1" rowspan="1" style="width:987px" %)((( 49 -If any one person (A, B, or C) votes to approve, the process node is approved, and the remaining approvers do not need to continue. 50 -))) 51 -|(% colspan="1" rowspan="1" style="width:331px" %)((( 52 -All Sign, Pass by Ratio (Customizable Ratio) 53 -)))|(% colspan="1" rowspan="1" style="width:987px" %)((( 54 -A, B, and C must all sign. If the approval ratio reaches the set threshold, the process node is approved. 55 -))) 56 -|(% colspan="1" rowspan="6" style="width:161px" %)((( 57 -Parallel signing 58 -)))|(% style="width:331px" %)Default|(% style="width:987px" %)A, B, and C must all sign. If any one person rejects, the approval fails. 59 -|(% style="width:331px" %)One-Vote Veto|(% style="width:987px" %)If any one person (A, B, or C) votes to reject, the process node is rejected, and the remaining approvers do not need to continue. 60 -|(% style="width:331px" %)One-Vote Pass|(% style="width:987px" %)If any one person (A, B, or C) votes to approve, the process node is approved, and the remaining approvers do not need to continue. 61 -|(% style="width:331px" %)Any Approval|(% style="width:987px" %)If any one person (A, B, or C) votes to approve or reject, the process node is approved or rejected accordingly. 62 -|(% style="width:331px" %)Pass by Ratio (Customizable Ratio)|(% style="width:987px" %)If the approval ratio reaches the set threshold, the process node is approved, and the remaining approvers do not need to continue. 63 -|(% style="width:331px" %)All Sign, Pass by Ratio (Customizable Ratio)|(% style="width:987px" %)A, B, and C must all sign. If the approval ratio reaches the set threshold, the process node is approved. 32 +Set the running relationship between the parent process and the child process; 64 64 65 -=== 3、Rules for When No Approver is Found === 34 +* Synchronization: enter the next node after the end of the child process; the parent process will continue to flow down only after the end of the child process flow (the end of the child process flow contains the flow status of flow completion and manual end). If there are multiple sub-processes, all sub-processes will end before completion. 35 +* Asynchronous: the child process is initiated to the next node; the flow state of the parent process is not affected by the child process, i.e., after the process flows to the child process, the parent process continues to flow down the line. 66 66 67 -Th is rule determines how to handle situationswhere no approverisfound due to reasons suchas the assigned approver leaving the company or incorrectsettings.Three modes are supported:37 +The default is synchronous. 68 68 69 -[[image:1741684876645-964.png]] 70 70 71 -1. ((( 72 -**Designated by the Previous Approver** 40 +==== 4 Automatically submit after the sub-process is initiated ==== 73 73 74 -* During the approval process, after the current approver submits, a dialog box pops up for the approver to designate a handler for the node with no approver. 75 -))) 76 -1. ((( 77 -**Handled by System Administrator** 42 +If it is turned on and the sub-process is automatically submitted after it is initiated, the sub-process is automatically created for the Participant, and it is submitted directly to the next node of the order making, and goes to the subsequent approval node. 78 78 79 -* During the approval process, after the current approver submits, the process flows normally to the node with no approver. The system administrator then designates a handler for the node on the process monitoring page in the admin console. 80 -))) 81 -1. ((( 82 -**Auto-Approval** 44 +If it is not enabled, only the sub-process form data is created, and a pending process is created for the Participant to stay in the order node, and the sub-process needs to be submitted manually by the Participant. 83 83 84 -* During the approval process, after the current approver submits, the process skips the node with no approver and proceeds to the next node, where the next approver continues processing. 85 -))) 86 86 47 +==== 5 Data transfer ==== 87 87 88 - ===4、**FieldPermissions**===49 +Sets the data transfer rules between processes when the parent process and the child process are running. 89 89 90 -(% class="wikigeneratedid" %) 91 -The default field permissions for approval nodes are set to **visible**. These can be modified to **editable** or **required**. 92 -**Note**: 93 - 51 +* Parent process →Sub-process: When the parent process flows to the sub-process node, the following parent process field values will be assigned to the corresponding sub-process fields 94 94 * ((( 95 - A field mustfirstbe setto**visible** before itcanbemarkedas **editable**.53 +Sub-process→ parent process: When the sub-process flow is completed, the following sub-process field values will be assigned to the corresponding parent process fields 96 96 ))) 97 -* A field must be marked as **editable** before it can be marked as **required**. 98 98 99 -[[image:17 41680106933-786.png]]56 +[[image:1753065148807-206.png]] 100 100 58 +Data transfer rules: 101 101 102 -=== 5、**Function Buttons** === 60 +* Support [master-master], [child-child] two kinds of assignment relationship; 61 +* field type filtering the new data of the same data service; 62 +* and can only be assigned by business fields, system fields to business fields; 63 +* each field can only be selected once; 64 +* when assigning values between sub-tables, a sub-table can only be assigned by the same sub-table; e.g., the parent process has sub-tables A and B, and the sub-processes have sub-tables C and D. Sub-tables A can be; 65 +* assigned to the sub-processes' child table C, child table D, but can not assign both child table A, child table B to child table C; 103 103 67 +==== 6 Sub-process operation rules ==== 104 104 105 -The approval node supports the following function buttons: Agree、Save、Reject、Transfer、Recall、Circulate、Terminate、Add Signatory。 106 106 107 - [[image:1741680117231-445.png]]70 +When a sub-process is executed asynchronously, if the last node of the parent process also passes, the status of the parent process becomes “completed” regardless of whether the status of the sub-process is completed or not. 108 108 72 +When there are multiple sub-processes, the values will be passed according to the completion time of the sub-processes, and the sub-processes completed first will pass the values first, and the sub-processes completed later will overwrite the previous data. 109 109 110 - ButtonFunctions andEffects:74 +When the sub-process is executed asynchronously, when the sub-process is completed, if the parent process is completed, it still needs to pass the value, and the order of passing the value is the same as above. 111 111 112 -(% style="width:1439px" %) 113 -|(% style="width:132px" %)**Button Name**|(% style="width:302px" %)**Button Meaning**|(% style="width:1002px" %)**Effect After Clicking** 114 -|(% style="width:132px" %)Agree|(% style="width:302px" %)Submit to Next Node|(% style="width:1002px" %)The process is submitted to the next node. After clicking "Details," further approval is not allowed. 115 -|(% style="width:132px" %)Save|(% style="width:302px" %)Save as Draft|(% style="width:1002px" %)Stays on the current page and can be viewed in the pending list. Clicking "Details" allows continued approval. 116 -|(% style="width:132px" %)Reject|(% style="width:302px" %)Reject to Previous Node|(% style="width:1002px" %)The process is rejected to a previous node based on rejection rules. It can be viewed in the completed list, but further approval is not allowed after clicking "Details." 117 -|(% style="width:132px" %)Transfer|(% style="width:302px" %)Transfer the Process to Another Approver|(% style="width:1002px" %)The process stays at the current node, and the approver is changed from the reassigner to the new assignee. The new assignee can approve the process, while the reassigner can view details in the completed list but cannot approve further. 118 -|(% style="width:132px" %)Circulate|(% style="width:302px" %)Circulate the Process for Others to View|(% style="width:1002px" %)Stays on the current page, allowing other operations. Recipients can view the process in the "Circulated List" under the Process Center. 119 -|(% style="width:132px" %)Terminate|(% style="width:302px" %)Terminate the Process|(% style="width:1002px" %)The process stops and does not proceed further. It can be viewed in the completed list, but no further actions are allowed. 120 -|(% style="width:132px" %)Add Signatory|(% style="width:302px" %)Add an Approver to the Process|(% style="width:1002px" %)After adding a signatory, the process stays at the current node, and the new approver is added. Once the new approver completes their approval, the process returns to the original approver's pending list for continued approval. 121 -|(% style="width:132px" %)Recall|(% style="width:302px" %)Recall the Approved Process|(% style="width:1002px" %)Requires operation in the completed details. The recalled process can be approved again. 76 +Dismissal rule of approval node in parent process: If “Dismiss to previous approval node” is set, if the previous approval node is on top of the child process node, it will be dismissed to the previous approval node normally and the child process node will be skipped. 122 122 123 -The "Recall" button is displayed and operated on the completed details page. 124 124 79 +Parent process dismissal (child process subsequent nodes dismissed to the node in front of the child process), the impact on the operation of the child process 125 125 126 -In the admin console, rejection rules can be configured to support the following options: 81 +* synchronized: does not affect the operation of the sub-process; 82 +* asynchronous : 83 +** If the dismissal to the node in front of the sub-process, and the node is submitted and runs normally according to the process, the running sub-process is discarded, and when you go to the node of the sub-process again, the sub-process activates a new process; 84 +** If the dismissal to the node in front of the sub-process and the node is submitted and goes directly to the node that is dismissed, the running sub-process is unaffected and runs normally. 127 127 128 -* Reject to Document Creation Node 129 -* Reject to Previous Node 130 -* Reject to Specified Node 131 - 132 -[[image:1741680137160-379.png]] 133 - 134 -=== === 135 - 136 -=== 6、**Circulation Notification** === 137 - 138 -The circulation notification feature supports configuring recipients and circulation comments. When setting recipients, allowing multiple people to be selected. 139 - 140 -Circulation comments are text-based, and once set, recipients can view these comments in the approval records 141 - 142 -[[image:1741680162647-311.png]] 143 - 144 - 86 +When the parent process run is discarded, the child process data is also nullified. When the parent process run is terminated, the child process is discarded.
- 1741686459694-659.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.liuqing01 - 大小
-
... ... @@ -1,0 +1,1 @@ 1 +126.0 KB - 内容
- 1741686498801-276.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.liuqing01 - 大小
-
... ... @@ -1,0 +1,1 @@ 1 +42.1 KB - 内容
- 1741686531103-177.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.liuqing01 - 大小
-
... ... @@ -1,0 +1,1 @@ 1 +24.7 KB - 内容
- 1741686549674-439.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.liuqing01 - 大小
-
... ... @@ -1,0 +1,1 @@ 1 +59.0 KB - 内容
- 1741686596683-996.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.liuqing01 - 大小
-
... ... @@ -1,0 +1,1 @@ 1 +11.2 KB - 内容
- 1741686607634-332.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.liuqing01 - 大小
-
... ... @@ -1,0 +1,1 @@ 1 +5.4 KB - 内容
- 1751269132744-902.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.liuqing01 - 大小
-
... ... @@ -1,0 +1,1 @@ 1 +180.8 KB - 内容
- 1751269691489-384.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.liuqing01 - 大小
-
... ... @@ -1,0 +1,1 @@ 1 +23.1 KB - 内容
- 1751269836118-922.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.liuqing01 - 大小
-
... ... @@ -1,0 +1,1 @@ 1 +21.6 KB - 内容
- 1751269940050-146.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.liuqing01 - 大小
-
... ... @@ -1,0 +1,1 @@ 1 +31.7 KB - 内容
- 1751270009451-352.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.liuqing01 - 大小
-
... ... @@ -1,0 +1,1 @@ 1 +155.8 KB - 内容
- 1753064871834-492.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.liuqing01 - 大小
-
... ... @@ -1,0 +1,1 @@ 1 +146.7 KB - 内容
- 1753064891433-308.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.liuqing01 - 大小
-
... ... @@ -1,0 +1,1 @@ 1 +8.0 KB - 内容
- 1753065148807-206.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.liuqing01 - 大小
-
... ... @@ -1,0 +1,1 @@ 1 +31.3 KB - 内容