# 拆分流程样例

![拆分流程图](/files/-LnWU7_o8Gkt4u36PM8q)

多个协办处室且有分支的情况，我们建议使用拆分活动，拆分活动是将一个工单拆成多个，可同时处理，所有待办都处理完毕后合并，使用合并活动，所以拆分活动和合并活动是成对使用的。

![拆分依据](/files/-LnWVjzAbDJ-9A2kI-qI)

拆分节点需要拆分依据，来计算拆分成几份文档，我们这里可以使用表单上选择的协办部门来拆分。

![协办处室的处理人](/files/-LnWYIKPW3wfywtHHAlr)

协办处室的处理人为协办部门的正职领导，我们在他的处理人这里可以配置职位，参数为拆分后的单个协办处室，代码：return this.workContext.getWork().splitValue;然后协办人员配置为多人处理，处理完后返回到协办处室，由处室领导送合并汇总。

表单配置：

![表单配置](/files/-LnWZBEzaTIBEGZmy_gZ)

协办部门配置为选择部门，可多选。

![协办部门](/files/-LnWZPDYJNkce-EA1Tkf)

协办人员配置为选择人员，可多选。

![协办人员](/files/-LnWZb4pDxisDtnNY172)

注意：

1、拆分后的文件必须所有的都流转到合并节点才会合并。

2、拆分后的文件data值和流程记录是即时合并的，每一个文件都可以看到其他部门的流转意见和填写的内容。

3、协办部门和协办人员是多人处理，在节点配置时需要选择处理方式为并行处理或串行处理

样例地址：[http://sample.o2oa.net/x\_desktop/index.html](http://samplebase.o2oa.net/x_desktop/index.html)流程应用下的应用样例

![](/files/-LnW_QcU7hdll-y8A_0M)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://o2oa.gitbook.io/course/liu-cheng-guan-li/liu-cheng-ying-yong-kai-fa-yu-she-ji/chai-fen-liu-cheng-yang-li.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
