文档更改5 Sub-process node

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

从版本 2.1
yufei li编辑
在2024/10/23 02:06上
修改评论: 该版本没有评论
到版本
liuqing01编辑
在2025/07/21 02:36上
修改评论: 该版本没有评论

摘要

细节

页面属性
标题
... ... @@ -1,1 +1,1 @@
1 -5.6.3.4 审批节点
1 +5 Approval Node
... ... @@ -1,1 +1,1 @@
1 -Main.5\. 设计应用.5\.6 流程.5\.6\.3 流程设计.5\.6\.3\.3 添加节点.WebHome
1 +Egret Cloud Operation manual.5\. 设计应用.5\.6 流程.5\.6\.3 流程设计.WebHome
文档作者
... ... @@ -1,1 +1,1 @@
1 -XWiki.YufeiLi
1 +XWiki.liuqing01
内容
... ... @@ -1,84 +1,88 @@
1 -审批节点支持设置,节点名称审批人、审批模式、无审批人的处理规则、字段权限、功能按钮、提交校验、传阅知会等属性。
1 +=== 1Feature Overview ===
2 2  
3 -[[image:1729590151559-393.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 -=== 5.6.3.4.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 -=== 5.6.3.4.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 -说明
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;
26 +
27 +The participant can select one or more, and if you select more than one, there will be more than one sub-process running.
28 +
29 +
30 +==== 3  Run Mode ====
31 +
32 +Set the running relationship between the parent process and the child process;
33 +
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.
36 +
37 +The default is synchronous.
38 +
39 +
40 +==== 4 Automatically submit after the sub-process is initiated ====
41 +
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.
43 +
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.
45 +
46 +
47 +==== 5 Data transfer ====
48 +
49 +Sets the data transfer rules between processes when the parent process and the child process are running.
50 +
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
28 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 -)))
83 83  
84 -
56 +[[image:1753065148807-206.png]]
57 +
58 +Data transfer rules:
59 +
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;
66 +
67 +
68 +==== 6 Sub-process operation rules ====
69 +
70 +
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.
72 +
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.
74 +
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.
76 +
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.
1736387143635-924.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.liuqing01
大小
... ... @@ -1,0 +1,1 @@
1 +115.0 KB
内容
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
内容
image (15).png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.liuqing01
大小
... ... @@ -1,0 +1,1 @@
1 +6.3 KB
内容
image43.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.liuqing01
大小
... ... @@ -1,0 +1,1 @@
1 +3.9 KB
内容
image44.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.liuqing01
大小
... ... @@ -1,0 +1,1 @@
1 +38.2 KB
内容
image45.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.liuqing01
大小
... ... @@ -1,0 +1,1 @@
1 +58.2 KB
内容
image46.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.liuqing01
大小
... ... @@ -1,0 +1,1 @@
1 +11.1 KB
内容
image47.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.liuqing01
大小
... ... @@ -1,0 +1,1 @@
1 +6.6 KB
内容