文档更改5 Sub-process node

liuqing01 于 2025/07/23 07:05 最后修改

从版本 5.3
yufei li编辑
在2025/02/14 02:14上
修改评论: Update document after refactoring.
到版本
liuqing01编辑
在2025/07/21 02:36上
修改评论: 该版本没有评论

摘要

细节

页面属性
标题
... ... @@ -1,1 +1,1 @@
1 -4 审批节点
1 +5 Approval Node
文档作者
... ... @@ -1,1 +1,1 @@
1 -XWiki.YufeiLi
1 +XWiki.liuqing01
内容
... ... @@ -1,198 +1,88 @@
1 -审批节点支持设置,节点名称审批人、审批模式、无审批人的处理规则、字段权限、功能按钮、提交校验、传阅知会等属性。
1 +=== 1Feature Overview ===
2 2  
3 -[[image:1736387143635-924.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 审批人设置 ===
7 +ps: child process is also a complete self-executing process.
7 7  
8 -支持选择通讯录中的人员和表单控件中的人员,可以选择多个人员。当选择多个人员时,根据审批模式的不同有不同的审批效果。
9 +=== 2、**Use Cases** ===
9 9  
10 -[[image:image (14).png]]
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  
13 +=== 3、**Design Approach:** ===
12 12  
13 -=== 2 审批模式 ===
15 +[[image:1753064871834-492.png]]
14 14  
15 -审批模式支持串签、并签。
17 +==== 1 Select Process ====
16 16  
17 -串签模式下,节点的审批人ABC需要按照顺序审批,A审批完成后到B的待办,B审批完成后到C的待办,按照设置的串签审批规则确定流程的流转方向,即:A审核完成后流程到达B,B审核完成后到达C。ABC审核完成之后流程按照设置的审批规则进行流转。
19 +Select the process within the authority, only one can be selected.
18 18  
19 -并签模式下,节点审批人ABC同时收到待办,按照设置的并签审批规则确定流程的流转方向。即:A、B、C都会收到待办。ABC审核完成后流程按照设置的审批规则进行流转。
21 +[[image:1753064891433-308.png]]
20 20  
21 -串并签的模式说明如下
23 +==== 2 Participant ====
22 22  
23 -(% style="width:1040px" %)
24 -|(% colspan="2" rowspan="1" style="width:386px" %)(((
25 -审批模式
26 -)))|(% colspan="1" rowspan="1" style="width:649px" %)(((
27 -说明
28 -)))
29 -|(% colspan="1" rowspan="4" %)(((
30 -串签
31 -)))|(% colspan="1" rowspan="1" style="width:313px" %)(((
32 -默认
33 -)))|(% colspan="1" rowspan="1" style="width:649px" %)(((
34 -A,B,C 3 个人串签,需所有人都签批,但只要一个人不通过,则审批不通过。
35 -)))
36 -|(% colspan="1" rowspan="1" style="width:313px" %)(((
37 -一票否决
38 -)))|(% colspan="1" rowspan="1" style="width:649px" %)(((
39 -A、B、C 3 个人串签,只要有 1 个人投了否决,流程节点驳回,未审批的不用继续审批。
40 -)))
41 -|(% colspan="1" rowspan="1" style="width:313px" %)(((
42 -一票通过
43 -)))|(% colspan="1" rowspan="1" style="width:649px" %)(((
44 -A,B,C 3 个人串签,只要有 1 个人投了通过,流程节点审批通过,未审批的不用继续审批。
45 -)))
46 -|(% colspan="1" rowspan="1" style="width:313px" %)(((
47 -全部签批,按比例通过 (可以设置比例)
48 -)))|(% colspan="1" rowspan="1" style="width:649px" %)(((
49 -A,B,C 3 个人串签,需所有人都签批,通过比率达到(设定值),流程节点审批通过。
50 -)))
51 -|(% colspan="1" rowspan="6" %)(((
52 -并签
53 -)))|(% colspan="1" rowspan="1" style="width:313px" %)(((
54 -默认
55 -)))|(% colspan="1" rowspan="1" style="width:649px" %)(((
56 -A,B,C 3 个人并签,需所有人都签批,但只要一个人不通过,则审批不通过。
57 -)))
58 -|(% colspan="1" rowspan="1" style="width:313px" %)(((
59 -一票否决
60 -)))|(% colspan="1" rowspan="1" style="width:649px" %)(((
61 -A、B、C 3 个人并签,只要有 1 个人投了否决,流程节点驳回,未审批的不用继续审批。
62 -)))
63 -|(% colspan="1" rowspan="1" style="width:313px" %)(((
64 -一票通过
65 -)))|(% colspan="1" rowspan="1" style="width:649px" %)(((
66 -A,B,C 3 个人并签,只要有 1 个人投了通过,流程节点审批通过,即任一审批通过,就算通过。
67 -)))
68 -|(% colspan="1" rowspan="1" style="width:313px" %)(((
69 -任一审批
70 -)))|(% colspan="1" rowspan="1" style="width:649px" %)(((
71 -A,B,C 3 个人并签,只要有 1 个人审批为通过或者否决,流程节点就为通过或者否决。
72 -)))
73 -|(% colspan="1" rowspan="1" style="width:313px" %)(((
74 -按比例通过 (可以设置比例)
75 -)))|(% colspan="1" rowspan="1" style="width:649px" %)(((
76 -A,B,C 3 个人并签,只要签批通过比率达到(设定值),流程节点审批通过,其余可以不签批。
77 -)))
78 -|(% colspan="1" rowspan="1" style="width:313px" %)(((
79 -全部签批,按比例通过 (可以设置比例)
80 -)))|(% colspan="1" rowspan="1" style="width:649px" %)(((
81 -A,B,C 3 个人并签,需所有人都签批,通过比率达到(设定值),流程节点审批通过。
82 -)))
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;
83 83  
84 -=== 3 找不到审批人时规则 ===
27 +The participant can select one or more, and if you select more than one, there will be more than one sub-process running.
85 85  
86 -用于确定当因设置的审批人离职或者设置异常导致流程找不到审批人的处理方式。支持设置 3 种模式:由上一个人指定、系统管理员处理、自动通过。
87 87  
88 -[[image:image43.png]]
30 +==== 3  Run Mode ====
89 89  
90 -* (((
91 -由上一个人指定:在流程审批时,审批人提交后弹出选人对话框,由审批人指定无人节点的处理人。
92 -)))
93 -* (((
94 -系统管理员处理:在流程审批时,审批人提交后流程正常流转到无人节点,由管理员在管理端流程监控页面指定无人节点的处理人。
95 -)))
96 -* (((
97 -自动通过:在流程审批时,审批人提交流程后流程跳过无处理人节点,到达无处理人节点的下一个节点,有下一个节点的审批人继续处理。
98 -)))
32 +Set the running relationship between the parent process and the child process;
99 99  
100 -=== 4 字段权限 ===
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.
101 101  
102 -审批节点的字段权限默认为显示,可以修改为可编辑或必填。在设置时,需要注意只有将控件设置为显示后,才能勾选是否编辑,只有勾选编辑后,才能勾选必填。
37 +The default is synchronous.
103 103  
104 -[[image:image44.png]]
105 105  
40 +==== 4 Automatically submit after the sub-process is initiated ====
106 106  
107 -=== 5 功能按钮 ===
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.
108 108  
109 -审批节点功能按钮支持设置同意、暂存、驳回、转办、收回、传阅、终止、加签
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.
110 110  
111 -[[image:image45.png]]
112 112  
47 +==== 5 Data transfer ====
113 113  
114 -各个按钮对应的含义具体如下:
49 +Sets the data transfer rules between processes when the parent process and the child process are running.
115 115  
116 -(% style="width:1203px" %)
117 -|(% colspan="1" rowspan="1" style="width:90px" %)(((
118 -按钮名称
119 -)))|(% colspan="1" rowspan="1" style="width:213px" %)(((
120 -按钮含义
121 -)))|(% colspan="1" rowspan="1" style="width:897px" %)(((
122 -点击后的效果
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
52 +* (((
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
123 123  )))
124 -|(% colspan="1" rowspan="1" style="width:90px" %)(((
125 -同意
126 -)))|(% colspan="1" rowspan="1" style="width:213px" %)(((
127 -提交到下一节点
128 -)))|(% colspan="1" rowspan="1" style="width:897px" %)(((
129 -提交的流程到达下一流程节点,点击详情后不可再继续审批。
130 -)))
131 -|(% colspan="1" rowspan="1" style="width:90px" %)(((
132 -暂存
133 -)))|(% colspan="1" rowspan="1" style="width:213px" %)(((
134 -暂存草稿
135 -)))|(% colspan="1" rowspan="1" style="width:897px" %)(((
136 -停留在当前页面,并可在待办中查看,点击详情后可继续审批。
137 -)))
138 -|(% colspan="1" rowspan="1" style="width:90px" %)(((
139 -驳回
140 -)))|(% colspan="1" rowspan="1" style="width:213px" %)(((
141 -驳回到前面节点
142 -)))|(% colspan="1" rowspan="1" style="width:897px" %)(((
143 -根据驳回规则驳回到前面的节点,并可在已办中查看,点击详情后不可再继续审批
144 -)))
145 -|(% colspan="1" rowspan="1" style="width:90px" %)(((
146 -转办
147 -)))|(% colspan="1" rowspan="1" style="width:213px" %)(((
148 -将该流程转给其他人审批
149 -)))|(% colspan="1" rowspan="1" style="width:897px" %)(((
150 -转办的流程停留在当前审批节点,节点审批人由转办人变更为被转办人。被转办人可以审批流程,转办人再已办中查看详情,不可再审批。
151 -)))
152 -|(% colspan="1" rowspan="1" style="width:90px" %)(((
153 -传阅
154 -)))|(% colspan="1" rowspan="1" style="width:213px" %)(((
155 -将该流程传阅给其他人查看
156 -)))|(% colspan="1" rowspan="1" style="width:897px" %)(((
157 -停留在当前页面,能够继续其他操作,被传阅人能够在流程中心-传阅列表中查看。
158 -)))
159 -|(% colspan="1" rowspan="1" style="width:90px" %)(((
160 -终止
161 -)))|(% colspan="1" rowspan="1" style="width:213px" %)(((
162 -终止流程
163 -)))|(% colspan="1" rowspan="1" style="width:897px" %)(((
164 -流程不再往下流转,不再继续审批,可在已办中查看详情,不可再操作流程
165 -)))
166 -|(% colspan="1" rowspan="1" style="width:90px" %)(((
167 -加签
168 -)))|(% colspan="1" rowspan="1" style="width:213px" %)(((
169 -将该流程添加审批人
170 -)))|(% colspan="1" rowspan="1" style="width:897px" %)(((
171 -加签后流程节点停留在当前的审批节点,节点审批人多了被加签的人。被加签的人审批完成后返回到加签人的待办,由加签人继续审批。
172 -)))
173 -|(% colspan="1" rowspan="1" style="width:90px" %)(((
174 -收回
175 -)))|(% colspan="1" rowspan="1" style="width:213px" %)(((
176 -将已审批的流程收回
177 -)))|(% colspan="1" rowspan="1" style="width:897px" %)(((
178 -需要在已办详情中操作,收回后的流程可以继续审批。
179 -)))
180 180  
181 -其中收回按钮是在已办详情页面显示和操作。
56 +[[image:1753065148807-206.png]]
182 182  
183 -另外,驳回操作在管理端可以设置驳回规则,支持设置“制单节点”、“上一节点”、“指定节点”。
58 +Data transfer rules:
184 184  
185 -[[image:image46.png]]
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;
186 186  
187 -=== ===
188 188  
189 -=== 6 传阅知会 ===
68 +==== 6 Sub-process operation rules ====
190 190  
191 191  
192 - 传阅知会支持设置被传阅人和传阅意见,被传阅人设置时弹出选人控件,支持选择多人。
71 +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.
193 193  
194 - 传阅意见为文本,设置后被传阅人可以再审批记录中看到传阅意见。
73 +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.
195 195  
196 -[[image:image (15).png]]
75 +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.
197 197  
198 -
77 +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.
78 +
79 +
80 +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
81 +
82 +* synchronized: does not affect the operation of the sub-process;
83 +* asynchronous :
84 +** 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;
85 +** 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.
86 +
87 +
88 +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.
1741684876645-964.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.liuqing01
大小
... ... @@ -1,0 +1,1 @@
1 +4.7 KB
内容
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
内容