一种工作流系统实现流程实例合并拆分的方法技术方案

技术编号:6076959 阅读:330 留言:0更新日期:2012-04-11 18:40
本发明专利技术提供一种工作流系统实现流程实例合并拆分的方法,工作流引擎处理合并时,首先把要合并的多个流程实例继续驱动到下一环节,驱动到下一环节后,把这些流程实例都挂起;同时,创建新的流程实例,表示是合并生成的新流程实例,并驱动到下一环节;再把合并生成的新流程实例与原有的各流程实例建立对应关系。这样,用户在待办任务中只能看到一条合并生成的新流程实例的任务,流程实例合并完成。拆分时,工作流引擎根据合并生成的新流程实例与原有的各流程实例之间的对应关系,找到原有的各流程实例,把各流程实例恢复挂起,再驱动到下一环节,不再挂起;同时,删除合并生成的新流程实例。通过上述方法,能有效解决流程实例的合并拆分问题。

Method for merging and splitting process instances in workflow system

The invention provides a workflow system implementation process instance Split Merge, workflow engine to deal with, first put multiple process instances to be combined to drive to the next link, drive to the next link, the process instances are suspended; at the same time, to create a new instance of the process, that is combined to build the new process instance, and drive to the next link; then combined to generate a new process instance and the original of each process instance to establish the corresponding relationship. In this way, the user can only see a task of merging the generated new process instances in the to-do task, and the process instance is merged. Split, the workflow engine according to the relationship between the new generation and the process instance and the original of each process instance, the original of each process instance is found, the process instance recovery pending, and then drive to the next link, no longer hang; at the same time, the new generation of process instances with delete. The above method can effectively solve the merging and splitting problem of process instances.

【技术实现步骤摘要】

本专利技术涉及一种计算机应用
,具体地说是一种工作流系统实现流程实例 合并拆分的方法。
技术介绍
随着工作流技术的不断发展,工作流已广泛应用在办公、电子政务、电子商务等领 域,越来越多的应用系统已经把工作流系统作为基础平台,处理内部办公、政务或企业的业 务流程。工作流技术关注的是流程从起始到结束这样一个完整的运行过程,一般是以一个 流程实例作为关注对象。在现实应用中,流程在运行过程中,需要把多个运行的流程实例在某个环节进行 合并,合并成一个实例进行处理,处理完之后,再把合并的实例分开,继续按原来多个流程 实例走。如下面药品GMP证书核发流程所示接受登记_>技术审查_>现场检查_>专家会审_>综合审评_>办结转处室其中,专家会审是流程实例合并拆分环节,它具体又包含以下几个环节制定会审 方案_>科长审评_>中心领导审评其中,制定会审方案是合并环节,它会把运行到该环节的多个流程实例合并成一 个,然后制定出一个会审方案,再由科长审批、中心领导审批。中心领导审批是拆分环节,中心领导审批通过后,原来合并的多个流程实例又拆 分开来,各自走各自的。专本文档来自技高网...

【技术保护点】
1.一种工作流系统实现流程实例合并拆分的方法,其特征在于,包括工作流系统实现流程实例的合并或拆分,流程步骤如下:1)用户在合并环节,选择多个流程实例进行合并并提交:a.工作流引擎把要合并的多个流程实例继续驱动到下一环节,驱动到下一环节后,把这些流程实例都挂起;b.工作流引擎创建新的流程实例,表示是合并生成的新流程实例,并驱动到下一环节;c.把合并生成的新流程实例与原有的各流程实例建立对应关系;挂起原有的各流程实例,作用是用户在待办任务中只能看到一条合并生成的新流程实例的任务,这样,流程实例合并完成;2)合并后的任务,用户处理后,再提交a.工作流引擎根据合并生成的新流程实例与原有的各流程实例之间...

【技术特征摘要】

【专利技术属性】
技术研发人员:胡清刘桂海
申请(专利权)人:山东浪潮齐鲁软件产业股份有限公司
类型:发明
国别省市:88

网友询问留言 已有0条评论
  • 还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。

1