CN106600226B - Method and device for optimizing process management system - Google Patents
Method and device for optimizing process management system Download PDFInfo
- Publication number
- CN106600226B CN106600226B CN201611146326.0A CN201611146326A CN106600226B CN 106600226 B CN106600226 B CN 106600226B CN 201611146326 A CN201611146326 A CN 201611146326A CN 106600226 B CN106600226 B CN 106600226B
- Authority
- CN
- China
- Prior art keywords
- node
- task
- module
- address
- countersigning
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/10—Office automation; Time management
- G06Q10/103—Workflow collaboration or project management
Landscapes
- Business, Economics & Management (AREA)
- Human Resources & Organizations (AREA)
- Strategic Management (AREA)
- Engineering & Computer Science (AREA)
- Entrepreneurship & Innovation (AREA)
- Operations Research (AREA)
- Economics (AREA)
- Marketing (AREA)
- Data Mining & Analysis (AREA)
- Quality & Reliability (AREA)
- Tourism & Hospitality (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer And Data Communications (AREA)
- Debugging And Monitoring (AREA)
Abstract
Description
技术领域technical field
本发明涉及工作流技术领域,具体而言,涉及一种用于优化流程管理系统的方法及装置。The present invention relates to the technical field of workflow, and in particular, to a method and device for optimizing a process management system.
背景技术Background technique
Activiti是一项新的基于Apache许可的开源BPM(Business Process Model)平台,从基础开始构建,旨在提供支持新的BPMN(Business Process Model and Notation)2.0标准,包括支持对象管理组(OMG)。Activiti是一种轻量级、可嵌入的BPM引擎。Activiti is a new Apache-licensed open source BPM (Business Process Model) platform built from the ground up to provide support for the new BPMN (Business Process Model and Notation) 2.0 standard, including support for the Object Management Group (OMG). Activiti is a lightweight, embeddable BPM engine.
BPMN 2.0对比于第一个版本,其最重要的变化在于其定义了流程的元模型和执行语义,即它自己解决了存储、交换和执行的问题。这代表着BPMN 2.0流程定义模型不仅仅可以在任何兼容BPMN 2.0的引擎中执行,而且也可以在图形编辑器间交换。作为一个标准,BPMN 2.0统一了工作流社区。Compared with the first version, the most important change of BPMN 2.0 is that it defines the meta-model and execution semantics of the process, that is, it solves the problems of storage, exchange and execution by itself. This means that the BPMN 2.0 process definition model can not only be executed in any BPMN 2.0 compliant engine, but can also be exchanged between graphical editors. As a standard, BPMN 2.0 unifies the workflow community.
以开源的Activiti作为基础开发的、独立于业务系统的对外提供服务的流程管理系统,业务系统通过服务调用来完成整个业务流程生命周期的管理,在调用服务前流程管理系统会对业务系统进行租户(即业务系统)权限校验,只有校验通过的业务系统才能进行服务调用。Based on the open source Activiti, a process management system that provides external services independent of the business system. The business system completes the management of the entire business process life cycle through service calls. Before calling the service, the process management system will tenant the business system. (ie business system) permission verification, only the business system that passes the verification can make service calls.
流程管理系统中有一些自动任务节点不需要人工干预,但这些任务受到网络环境等因素的制约,一旦执行失败将会导致流程的中断,以致整个业务流程需要从头开始执行,浪费了很多资源。There are some automatic task nodes in the process management system that do not require manual intervention, but these tasks are restricted by factors such as the network environment. Once the execution fails, the process will be interrupted, so that the entire business process needs to be executed from scratch, wasting a lot of resources.
发明内容SUMMARY OF THE INVENTION
有鉴于此,本发明提供一种用于优化流程管理系统的方法及装置,以用于部分或者全部解决上述现有技术中存在的技术问题。In view of this, the present invention provides a method and apparatus for optimizing a process management system, so as to partially or completely solve the above-mentioned technical problems in the prior art.
本发明的其他特性和优点将通过下面的详细描述变得显然,或部分地通过本发明的实践而习得。Other features and advantages of the present invention will become apparent from the following detailed description, or be learned in part by practice of the present invention.
根据本公开的一个方面,提供一种用于优化流程管理系统的方法,包括:According to one aspect of the present disclosure, there is provided a method for optimizing a process management system, comprising:
捕获自动任务节点的异常信息并存储,阻止任务的回滚;Capture and store abnormal information of automatic task nodes to prevent the rollback of tasks;
根据流程实例的标识信息查询当前流程停留的节点;以及Query the node where the current process stays according to the identification information of the process instance; and
根据当前流程停留的节点的标识信息生成新的任务并执行。Generate a new task and execute it according to the identification information of the node where the current process stays.
在本公开的一种示例性实施例中,还包括:In an exemplary embodiment of the present disclosure, it also includes:
判断当前的节点是否为会签节点;Determine whether the current node is a countersigned node;
当所述节点为会签节点时,读取流程建模时配置的参与会签人员;When the node is a countersigning node, read the countersigning personnel configured during process modeling;
根据所述参与会签人员自动生成集合变量;Automatically generate set variables according to the participating countersigners;
激活所述会签节点生成会签任务。Activating the countersignature node generates a countersignature task.
在本公开的一种示例性实施例中,还包括:In an exemplary embodiment of the present disclosure, it also includes:
将需要查阅日志文件的业务系统的标识信息设置在logback提供的MDC上下文中;Set the identification information of the business system that needs to consult the log file in the MDC context provided by logback;
输出以所述业务系统的标识信息命名的相应日志文件。A corresponding log file named with the identification information of the business system is output.
在本公开的一种示例性实施例中,还包括:In an exemplary embodiment of the present disclosure, it also includes:
配置流程图时,将所述自动任务节点调用的网络服务的地址映射为一个唯一标识;When configuring the flowchart, map the address of the network service called by the automatic task node to a unique identifier;
配置一所述唯一标识与调用的所述网络服务的地址的映射表;Configure a mapping table of the unique identifier and the address of the called network service;
发布所述流程图并执行流程时,在所述自动任务节点根据所述唯一标识和所述映射表查询调用的所述网络服务的地址。When the flow chart is published and the flow is executed, the automatic task node queries the address of the called network service according to the unique identifier and the mapping table.
在本公开的一种示例性实施例中,还包括:In an exemplary embodiment of the present disclosure, it also includes:
当系统发生迁移时,所述自动任务任务节点调用的所述网络服务的地址变更;When the system is migrated, the address of the network service called by the automatic task task node is changed;
修改所述映射表中的相应的调用的所述网络服务的地址。The address of the corresponding invoked network service in the mapping table is modified.
在本公开的一种示例性实施例中,还包括:In an exemplary embodiment of the present disclosure, it also includes:
所述流程管理系统提供的流程设计器使用预设协议向相应的业务系统发送获取业务信息的请求;The process designer provided by the process management system uses a preset protocol to send a request for acquiring service information to the corresponding service system;
所述流程设计器接收所述业务系统返回的预设数据格式的所述业务信息。The process designer receives the business information in a preset data format returned by the business system.
根据本公开的一个方面,提供一种用于优化流程管理系统的装置,包括:According to one aspect of the present disclosure, there is provided an apparatus for optimizing a process management system, comprising:
异常捕获模块,用于捕获自动任务节点的异常信息并存储,阻止任务的回滚;The exception capture module is used to capture the exception information of the automatic task node and store it to prevent the rollback of the task;
停留节点查询模块,用于根据流程实例的标识信息查询当前流程停留的节点;以及A stay node query module, used for querying the node where the current process stays according to the identification information of the process instance; and
任务创建模块,用于根据当前流程停留的节点的标识信息生成新的任务并执行。The task creation module is used to generate and execute a new task according to the identification information of the node where the current process stays.
在本公开的一种示例性实施例中,还包括:In an exemplary embodiment of the present disclosure, it also includes:
判断模块,用于判断当前的节点是否为会签节点;The judgment module is used to judge whether the current node is a countersigned node;
读取模块,用于当所述节点为会签节点时,读取流程建模时配置的参与会签人员;a reading module, used for reading the counter-signing personnel configured during process modeling when the node is a counter-signing node;
集合变量生成模块,用于根据所述参与会签人员自动生成集合变量;A set variable generation module, for automatically generating set variables according to the said participating countersigners;
会签任务生成模块,用于激活所述会签节点生成会签任务。The countersignature task generating module is used for activating the countersignature node to generate the countersignature task.
在本公开的一种示例性实施例中,还包括:In an exemplary embodiment of the present disclosure, it also includes:
租户标识写入模块,用于将需要查阅日志文件的业务系统的标识信息设置在logback提供的MDC上下文中;The tenant identification writing module is used to set the identification information of the business system that needs to consult the log file in the MDC context provided by logback;
日志文件输出模块,用于输出以所述业务系统的标识信息命名的相应日志文件。A log file output module, configured to output a corresponding log file named with the identification information of the business system.
在本公开的一种示例性实施例中,还包括:In an exemplary embodiment of the present disclosure, it also includes:
地址映射模块,用于配置流程图时,将所述自动任务节点调用的网络服务的地址映射为一个唯一标识;The address mapping module is used to map the address of the network service called by the automatic task node into a unique identifier when configuring the flowchart;
映射表配置模块,用于配置一所述唯一标识与调用的所述网络服务的地址的映射表;a mapping table configuration module, configured to configure a mapping table between the unique identifier and the address of the called network service;
地址查询模块,用于发布所述流程图并执行流程时,在所述自动任务节点根据所述唯一标识和所述映射表查询调用的所述网络服务的地址。The address query module is configured to query the address of the network service invoked by the automatic task node according to the unique identifier and the mapping table when publishing the flow chart and executing the flow chart.
在本公开的一种示例性实施例中,还包括:In an exemplary embodiment of the present disclosure, it also includes:
变更地址模块,用于当系统发生迁移时,所述自动任务任务节点调用的所述网络服务的地址变更;an address change module, configured to change the address of the network service invoked by the automatic task task node when the system is migrated;
修改映射表模块,用于修改所述映射表中的相应的调用的所述网络服务的地址。Modifying the mapping table module, for modifying the address of the corresponding called network service in the mapping table.
在本公开的一种示例性实施例中,还包括:In an exemplary embodiment of the present disclosure, it also includes:
请求发送模块,用于所述流程管理系统提供的流程设计器使用预设协议向相应的业务系统发送获取业务信息的请求;a request sending module, used for the process designer provided by the process management system to send a request for acquiring service information to the corresponding service system using a preset protocol;
业务信息接收模块,用于所述流程设计器接收所述业务系统返回的预设数据格式的所述业务信息。A service information receiving module is used for the process designer to receive the service information in a preset data format returned by the service system.
本发明的用于优化流程管理系统的方法及装置,通过捕获自动任务节点对应的任务发生异常时的异常信息并存储,并在当前停留的节点生成新的任务继续执行,从而能够防止流程的中断,节省了大量的资源。The method and device for optimizing the process management system of the present invention can prevent the interruption of the process by capturing and storing the abnormal information when the task corresponding to the automatic task node is abnormal, and generating a new task to continue execution at the currently staying node. , saving a lot of resources.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性的,并不能限制本发明。It is to be understood that the foregoing general description and the following detailed description are exemplary only and do not limit the invention.
附图说明Description of drawings
通过参照附图详细描述其示例实施例,本发明的上述和其它目标、特征及优点将变得更加显而易见。The above and other objects, features and advantages of the present invention will become more apparent from the detailed description of example embodiments thereof with reference to the accompanying drawings.
图1是根据一示例性实施方式示出的第一种用于优化流程管理系统的方法的流程图。FIG. 1 is a flow chart of a first method for optimizing a process management system according to an exemplary embodiment.
图2是根据一示例性实施方式示出的第二种用于优化流程管理系统的方法的流程图。Fig. 2 is a flow chart of a second method for optimizing a process management system according to an exemplary embodiment.
图3是根据一示例性实施方式示出的第三种用于优化流程管理系统的方法的流程图。Fig. 3 is a flow chart of a third method for optimizing a process management system according to an exemplary embodiment.
图4是根据一示例性实施方式示出的第四种用于优化流程管理系统的方法的流程图。Fig. 4 is a flowchart showing a fourth method for optimizing a process management system according to an exemplary embodiment.
图5是根据一示例性实施方式示出的第五种用于优化流程管理系统的方法的流程图。Fig. 5 is a flowchart showing a fifth method for optimizing a process management system according to an exemplary embodiment.
图6是根据一示例性实施方式示出的一种用于优化流程管理系统的装置的框图。Fig. 6 is a block diagram of an apparatus for optimizing a process management system according to an exemplary embodiment.
具体实施方式Detailed ways
现在将参考附图更全面地描述示例实施方式。然而,示例实施方式能够以多种形式实施,且不应被理解为限于在此阐述的范例;相反,提供这些实施方式使得本发明将更加全面和完整,并将示例实施方式的构思全面地传达给本领域的技术人员。附图仅为本发明的示意性图解,并非一定是按比例绘制。图中相同的附图标记表示相同或类似的部分,因而将省略对它们的重复描述。Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments, however, can be embodied in various forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The drawings are merely schematic illustrations of the invention and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus their repeated descriptions will be omitted.
此外,所描述的特征、结构或特性可以以任何合适的方式结合在一个或更多实施方式中。在下面的描述中,提供许多具体细节从而给出对本发明的实施方式的充分理解。然而,本领域技术人员将意识到,可以实践本发明的技术方案而省略所述特定细节中的一个或更多,或者可以采用其它的方法、组元、装置、步骤等。在其它情况下,不详细示出或描述公知结构、方法、装置、实现、材料或者操作以避免喧宾夺主而使得本发明的各方面变得模糊。Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided in order to give a thorough understanding of the embodiments of the present invention. However, those skilled in the art will appreciate that the technical solutions of the present invention may be practiced without one or more of the specific details, or other methods, components, devices, steps, etc. may be employed. In other instances, well-known structures, methods, devices, implementations, materials, or operations have not been shown or described in detail to avoid obscuring aspects of the invention.
图1是根据一示例性实施方式示出的第一种用于优化流程管理系统的方法的流程图。FIG. 1 is a flow chart of a first method for optimizing a process management system according to an exemplary embodiment.
本实施例中,以所述流程管理系统以开源的Activiti作为基础开发的、独立于业务系统并采用SOA(Service-Oriented Architecture,面向服务的体系结构)的方式对外提供服务的流程管理系统为例进行说明,对外可以提供Hessian和rest两种协议的服务,业务系统可以通过服务调用来完成整个业务流程生命周期的管理。但本公开对此不作限定。In this embodiment, the process management system that is developed based on the open source Activiti, is independent of the business system, and uses SOA (Service-Oriented Architecture, service-oriented architecture) to provide services to the outside world is taken as an example To illustrate, the services of Hessian and rest protocols can be provided externally, and the business system can complete the management of the entire business process life cycle through service calls. However, this disclosure does not limit it.
SOA是一个组件模型,它将应用程序的不同功能单元(称为服务)通过这些服务之间定义良好的接口和契约联系起来。接口是采用中立的方式进行定义的,它应该独立于实现服务的硬件平台、操作系统和编程语言。这使得构建在各种这样的系统中的服务可以以一种统一和通用的方式进行交互。SOA is a component model that links different functional units of an application (called services) through well-defined interfaces and contracts between those services. An interface is defined in a neutral way, and it should be independent of the hardware platform, operating system, and programming language that implements the service. This allows services built into various such systems to interact in a unified and common way.
Hessian是一个轻量级的remoting onhttp工具,使用简单的方法提供了RMI的功能。相比WebService,Hessian更简单、快捷。采用的是二进制RPC协议,因为采用的是二进制协议,所以它很适合于发送二进制数据。Hessian is a lightweight remoting onhttp tool that provides the functionality of RMI in a simple way. Compared with WebService, Hessian is simpler and faster. The binary RPC protocol is used, because it is a binary protocol, so it is very suitable for sending binary data.
业务流程是将具体业务的处理过程离散成一系列的有顺序、有组织、有逻辑的业务节点或者任务,并在计算机中以恰当的模型进行表示和自动运算,它属于计算机支持的协同工作(Computer Supported Cooperative Work,CSCW)的一部分。A business process is to separate the processing process of a specific business into a series of ordered, organized, and logical business nodes or tasks, and to represent and automatically operate in a computer with an appropriate model. It belongs to computer-supported collaborative work (Computer Part of Supported Cooperative Work, CSCW).
如图1所示,在步骤S110中,捕获自动任务节点的异常信息并存储,阻止任务的回滚。As shown in FIG. 1, in step S110, the abnormal information of the automatic task node is captured and stored to prevent the rollback of the task.
其中,所述自动任务节点可以为serviceTask节点。当serviceTask节点出现异常时,捕获该异常并将异常信息记录例如在数据库中。Wherein, the automatic task node may be a serviceTask node. When an exception occurs in the serviceTask node, the exception is caught and the exception information is recorded in a database, for example.
自动任务节点是指,在启动流程之前,准备流程所需要的控制流程进度的变量数据,启动流程之后,无需外部干预,就能够按照预定义的流程执行。An automatic task node refers to preparing variable data required by the process to control the progress of the process before starting the process. After the process is started, it can be executed according to the predefined process without external intervention.
本实施例中,可以通过重写Activiti代码的方式,在serviceTask节点捕获异常,并且把异常信息存储在数据库中,不再向外抛出异常,这样就可以阻止任务的回滚。In this embodiment, the exception can be caught at the serviceTask node by rewriting the Activiti code, and the exception information is stored in the database, and the exception is no longer thrown out, so that the rollback of the task can be prevented.
在步骤S120中,根据流程实例的标识信息(例如流程实例ID)查询当前流程停留的节点。In step S120, the node where the current process is staying is queried according to the identification information of the process instance (for example, the process instance ID).
本实施例中,可以通过Activiti对外提供的查询执行中节点的API,根据流程实例ID就能知道当前流程停留在哪个节点上。In this embodiment, through the API provided by Activiti externally to query the node in execution, it is possible to know which node the current process stays on according to the process instance ID.
所述流程实例是流程定义的运行实例,它代表了一个待完成的业务。当用户调用API启动了流程后,会产生一条流程实例。流程实例被用户操作,会产生不同的运行状态:预启动,运行,已挂起,已终止,失败,结束。流程实例的状态在不同的操作下可以互相转换。当流程实例在运行过程中,因为系统异常或者数据异常等原因导致流程实例的流转失败。The process instance is a running instance of the process definition, which represents a business to be completed. When the user calls the API to start the process, a process instance will be generated. When a process instance is operated by the user, it will produce different running states: pre-started, running, suspended, terminated, failed, ended. The state of the process instance can be converted to each other under different operations. When the process instance is running, the flow of the process instance fails due to system exceptions or data exceptions.
在步骤S130中,根据当前流程停留的节点的标识信息(例如节点ID)生成新的任务并执行。In step S130, a new task is generated and executed according to the identification information (eg, node ID) of the node where the current flow stays.
本实施例中,可以通过Activiti对外提供的创建任务的API,在当前流程节点调用创建任务的API形成新的任务,使用这种方式使异常的serviceTask节点停留在当前节点并且能够继续执行。In this embodiment, a task creation API provided externally by Activiti can be used to call the task creation API at the current process node to form a new task. In this way, the abnormal serviceTask node can stay in the current node and can continue to execute.
现有技术中Activiti为了保证一致性,在serviceTask节点出现异常时会进行任务的回滚导致任务不能停留在当前的serviceTask节点,从而导致流程的中断。本发明实施例提供的用于优化流程管理系统的方法,通过在serviceTask节点捕获异常并存储,不再向外抛出异常阻止任务的回滚,而且通过查询得到当前流程停留在哪个节点上,在当前流程节点调用创建任务的API形成新的任务,使用这种方式使异常的serviceTask节点停留在当前节点并且能够继续执行,从而使得中断的流程能够继续执行,能够节省大量的资源。In the prior art, in order to ensure consistency, Activiti rolls back the task when an exception occurs in the serviceTask node, so that the task cannot stay in the current serviceTask node, thereby causing the process to be interrupted. In the method for optimizing a process management system provided by the embodiment of the present invention, by catching and storing exceptions at the serviceTask node, an exception is no longer thrown out to prevent the rollback of the task, and the node on which the current process is staying is obtained by querying, and the The current process node calls the API for creating a task to form a new task. In this way, the abnormal serviceTask node stays on the current node and can continue to execute, so that the interrupted process can continue to execute, which can save a lot of resources.
应清楚地理解,本发明描述了如何形成和使用特定示例,但本发明的原理不限于这些示例的任何细节。相反,基于本发明公开的内容的教导,这些原理能够应用于许多其它实施方式。It should be clearly understood that this disclosure describes how to make and use specific examples and that the principles of this disclosure are not limited to any details of these examples. Rather, these principles can be applied to many other implementations based on the teachings of this disclosure.
在流程业务管理时,任务通常是由一个人去处理的,而多个人同时处理一个任务,这种任务称之为会签任务。这种业务需求也很常见,如一个请款单,领导审批环节中,就需要多个部门领导签字。现有的流程管理系统中,流程会签时需要在代码中显式的声明一个集合变量,这种方式导致开发人员经常遗漏设置变量导致流程错误。In process business management, a task is usually handled by one person, and multiple people handle a task at the same time, which is called a countersignature task. This kind of business requirement is also very common. For example, a payment request form needs to be signed by the leaders of multiple departments during the approval process of the leader. In the existing process management system, a collection variable needs to be explicitly declared in the code when the process is countersigned, which leads to developers often omitting to set the variable, resulting in process errors.
图2是根据一示例性实施方式示出的第二种用于优化流程管理系统的方法的流程图。Fig. 2 is a flow chart of a second method for optimizing a process management system according to an exemplary embodiment.
本发明实施方式的用于优化流程管理系统的方法,可以通过继承会签节点的实现类,自动实现创建会签节点的方法,读取配置在创建会签实例前把所需的条件准备完毕,用此方法可以避免每次开发时都要显式声明一个集合变量的麻烦。The method for optimizing the process management system according to the embodiment of the present invention can automatically realize the method of creating the countersigning node by inheriting the implementation class of the countersigning node, read the configuration and prepare the required conditions before creating the countersigning instance, and use this method You can avoid the trouble of explicitly declaring a collection variable every time you develop.
如图2所示,在步骤S210中,判断当前的节点是否为会签节点;当所述节点为会签节点时,进入下一步;反之,跳转到步骤S250结束本次操作。As shown in FIG. 2, in step S210, it is judged whether the current node is a countersigned node; when the node is a countersigned node, the next step is entered; otherwise, jump to step S250 to end this operation.
在步骤S220中,读取流程建模时配置的参与会签人员。In step S220, the participating countersigning personnel configured during the process modeling are read.
参与会签人员,是指对业务流程进行流程建模时指定的会签节点的潜在的处理人,管理者。Persons participating in countersignatures refer to potential handlers and managers of countersignature nodes designated during process modeling of business processes.
会签节点的潜在处理人指工作项的所有者,负责完成该任务。会签节点的潜在处理人可以由其他人代理,也可以进行改变,即将工作项重新分配给其他人。工作项,是流程节点的运行实例,是业务操作者的待处理业务。业务操作者通过查询属于自己的待处理的工作项获取任务并完成任务,进而将流程实例推向下一个节点,为下一个业务操作者产生新的任务。A potential handler of a countersignature node refers to the owner of the work item, who is responsible for completing the task. Potential handlers for countersignature nodes can be delegated by someone else, or they can be changed, i.e. reassign work items to someone else. A work item is a running instance of a process node and a pending business of a business operator. The business operator obtains the task by querying its own pending work items and completes the task, and then pushes the process instance to the next node to generate a new task for the next business operator.
会签节点的管理者拥有特殊的权限,如对任务进行重新分配等操作。Managers of countersignature nodes have special permissions, such as reassigning tasks.
在步骤S230中,根据所述参与会签人员自动生成集合变量。In step S230, a set variable is automatically generated according to the persons participating in the countersignature.
在步骤S240中,激活所述会签节点生成会签任务。In step S240, the countersignature node is activated to generate a countersignature task.
在步骤S250中,结束。In step S250, it ends.
本发明实施例提供的用于优化流程管理系统的方法,开发会签时不用再显式声明集合变量,会签节点开发时省去了设置集合变量的麻烦,从而降低了流程出错的概率。The method for optimizing the process management system provided by the embodiment of the present invention eliminates the need to explicitly declare set variables when developing countersignatures, and saves the trouble of setting set variables when developing countersignature nodes, thereby reducing the probability of process errors.
流程管理系统对外提供服务,同时会记录业务系统的访问日志,日志内容通过租户(即业务系统)的ID进行区分,这样多个租户访问时访问日志就交叉的记录在同一个日志文件中,一个租户查看访问日志时就会看到其他租户的访问日志,现有的设计方式不能满足系统的安全性和租户查看日志的便利性。The process management system provides external services and records the access logs of the business system. The log content is distinguished by the ID of the tenant (ie, the business system). In this way, the access logs are cross-recorded in the same log file when multiple tenants access. When a tenant views access logs, they will see the access logs of other tenants. The existing design method cannot satisfy the security of the system and the convenience of viewing logs for tenants.
图3是根据一示例性实施方式示出的第三种用于优化流程管理系统的方法的流程图。Fig. 3 is a flow chart of a third method for optimizing a process management system according to an exemplary embodiment.
MDC(Mapped Diagnostic Context)是logback提供的一个方便在多线程条件下记录日志的功能,在多租户调用中每个请求都会带有租户的信息(例如租户账号(ID)、密码等),不同的租户开启不同的线程进行处理,也就是说可以在需要打印日志的地方把租户ID设置进MDC上下文中,输出的日志文件名可以例如以租户ID为变量,那么最终输出的日志文件将会是以租户ID(tenantId)来标识的日志文件,从而达到分租户查阅日志的目的。MDC (Mapped Diagnostic Context) is a function provided by logback to facilitate logging in multi-threaded conditions. In multi-tenant calls, each request will carry tenant information (such as tenant account (ID), password, etc.), different The tenant starts different threads for processing, that is to say, the tenant ID can be set into the MDC context where the log needs to be printed, and the output log file name can be, for example, the tenant ID as a variable, then the final output log file will be as Tenant ID (tenantId) to identify log files, so as to achieve the purpose of sub-tenant viewing logs.
logback是log4j创始人设计的一个开源日志组件。Logback当前分成三个模块:logback-core,logback-classic和logback-access。logback-access访问模块与Servlet容器集成提供通过Http来访问日志的功能。Logback is an open source log component designed by the founder of log4j. Logback is currently divided into three modules: logback-core, logback-classic and logback-access. The logback-access access module integrates with the servlet container to provide the function of accessing logs through Http.
在示例性实施例中,用于优化流程管理系统的方法可以包括以下步骤:将需要查阅日志文件的业务系统的标识信息设置在logback提供的MDC上下文中,例如可以通过filter或者自己在Action中通过命令MDC.put("userId",DEFAULT_USERID);向MDC设置值;输出以所述业务系统的标识信息命名的相应日志文件,例如可以在log4j的配置文件中通过[%X{userId}]提取出用户设置的值并输出到日志,如下In an exemplary embodiment, the method for optimizing the process management system may include the following steps: setting the identification information of the business system that needs to consult the log file in the MDC context provided by logback, for example, it can be passed through filter or in Action itself. Command MDC.put("userId", DEFAULT_USERID); set a value to MDC; output the corresponding log file named after the identification information of the business system, for example, it can be extracted from the log4j configuration file through [%X{userId}] The value set by the user and output to the log, as follows
log4j.appender.layout.ConversionPattern=%d[%t]%-5p-%c#%M%x-%m(%r ms)%n[%X{userId}]。log4j.appender.layout.ConversionPattern=%d[%t]%-5p-%c#%M%x-%m(%r ms)%n[%X{userId}].
下面通过图3对其进行举例说明。The following is an example to illustrate it with FIG. 3 .
如图3所示,在步骤S310中,配置基于用户会话的SiftingAppender,设置租户变量tenantId。As shown in FIG. 3 , in step S310, the SiftingAppender based on the user session is configured, and the tenant variable tenantId is set.
其中SiftingAppender是MDC中一个全能的追加器。它可以基于任何给定的实时属性分开(或者筛选)日志。例如,SiftingAppender可以基于用户会话分开日志事件,这样,可以为每一个租户建立一个独立的日志文件。Among them, SiftingAppender is a versatile appender in MDC. It can separate (or filter) logs based on any given real-time attribute. For example, SiftingAppender can separate log events based on user sessions, so that a separate log file can be created for each tenant.
在步骤S320中,从流程管理系统上下文获取租户ID tenantId。In step S320, the tenant ID tenantId is obtained from the context of the process management system.
在步骤S330中,使用logback的API(Application,应用程序接口)设置日志输出上下文。In step S330, the log output context is set using the API (Application, application programming interface) of logback.
在步骤S340中,流程管理系统输出日志。In step S340, the process management system outputs a log.
在步骤S350中,SiftingAppender判断所述流程管理系统输出日志的上下文中是否有tenantId;当没有tenantId时,进入步骤S360;当有tenantId时,跳转到步骤S370。In step S350, SiftingAppender determines whether there is a tenantId in the context of the process management system output log; if there is no tenantId, it goes to step S360; if there is a tenantId, it jumps to step S370.
在步骤S360中,输出其他日志文件,并进入步骤S380。In step S360, other log files are output, and the process proceeds to step S380.
在步骤S370中,输出以tenantId命名的日志文件。In step S370, a log file named with tenantId is output.
在步骤S380中,结束。In step S380, it ends.
本发明实施例提供的用于优化流程管理系统的方法,利用logback的MDC上下文实现了分租户输出日志文件,从而实现了分租户查阅日志的功能,能够保证系统的安全性和用户查询的便利性。The method for optimizing the process management system provided by the embodiment of the present invention utilizes the MDC context of logback to realize the output of log files by sub-tenants, thereby realizing the function of viewing logs by sub-tenants, which can ensure the security of the system and the convenience of user query .
自动任务节点例如serviceTask节点允许调用远程的网络(webService)服务,现有技术中webService的地址是维护在流程图里的,流程图一旦在流程管理系统内发布运行就不能再进行更改。此时如果webService的地址发生变更,就需要修改流程图再发布新的流程图进流程管理系统,这将导致运行中的流程不能找到webService的地址,从而导致运行中的流程中断。An automatic task node such as a serviceTask node allows calling a remote network (webService) service. In the prior art, the address of the webService is maintained in the flowchart. Once the flowchart is published and run in the process management system, it cannot be changed. At this time, if the address of the webService changes, it is necessary to modify the flow chart and then publish the new flow chart into the process management system, which will cause the running process to not be able to find the address of the webService, thus causing the running process to be interrupted.
图4是根据一示例性实施方式示出的第四种用于优化流程管理系统的方法的流程图。Fig. 4 is a flowchart showing a fourth method for optimizing a process management system according to an exemplary embodiment.
如图4所示,在步骤S410中,配置流程图时,将所述自动任务节点调用的网络服务的地址映射为一个唯一标识(唯一ID)。As shown in FIG. 4 , in step S410, when configuring the flowchart, the address of the network service invoked by the automatic task node is mapped to a unique identifier (unique ID).
在步骤S420中,配置一所述唯一标识与调用的所述网络服务的地址的映射表。In step S420, a mapping table of the unique identifier and the address of the called network service is configured.
本实施例中,采用数据库表映射的方式,serviceTask节点配置调用的网络服务的地址时设置一个唯一的ID,这个ID和数据库表中的所述映射表的主键一致,在这个映射表中主键和真实的调用的网络服务的地址匹配。In this embodiment, the database table mapping method is adopted, and a unique ID is set when the serviceTask node configures the address of the called network service. This ID is consistent with the primary key of the mapping table in the database table. In this mapping table, the primary key and the Matches the address of the actual calling web service.
在步骤S430中,发布所述流程图并执行流程时,在所述自动任务节点根据所述唯一标识和所述映射表查询调用的所述网络服务的地址。In step S430, when the flow chart is published and executed, the automatic task node queries the address of the called network service according to the unique identifier and the mapping table.
在流程管理系统启动时加载所述映射表中的内容到内存中。在执行serviceTask节点时,根据配置的唯一ID从内存中获取真实的调用的网络服务的地址。The content in the mapping table is loaded into the memory when the process management system is started. When the serviceTask node is executed, the address of the real called network service is obtained from the memory according to the configured unique ID.
继续参考图4,在示例性实施例中,用于优化流程管理系统的方法还可以包括步骤S440,其中,在步骤S440中,当系统发生迁移时,所述自动任务任务节点调用的所述网络服务的地址变更。Continuing to refer to FIG. 4 , in an exemplary embodiment, the method for optimizing a process management system may further include step S440, wherein, in step S440, when the system is migrated, the network called by the automatic task task node Change of address for services.
继续参考图4,在示例性实施例中,用于优化流程管理系统的方法还可以包括步骤S450,其中,在步骤S450中,修改所述映射表中的相应的调用的所述网络服务的地址。Continuing to refer to FIG. 4 , in an exemplary embodiment, the method for optimizing a process management system may further include step S450 , wherein, in step S450 , modifying the address of the corresponding called network service in the mapping table .
如果serviceTask节点调用的网络服务的地址发生变化,只需要修改数据库中映射表的相应内容而不用修改流程图,也不用发布新的流程图进流程管理系统中,也不会对正在运行的流程造成影响。If the address of the network service called by the serviceTask node changes, it is only necessary to modify the corresponding content of the mapping table in the database without modifying the flowchart, and there is no need to publish a new flowchart into the process management system, and it will not cause any damage to the running process. influences.
本发明实施例提供的用于优化流程管理系统的方法,利用数据库表映射的方式维护webService地址,方便了系统运维,并降低了由于webService地址迁移对正在运行中的流程带来的影响。The method for optimizing the process management system provided by the embodiment of the present invention maintains the webService address by means of database table mapping, which facilitates system operation and maintenance and reduces the impact of the webService address migration on the running process.
系统开发时有三个参与者,分别是:流程管理系统、业务系统(租户)以及流程设计器。流程管理系统提供流程引擎,负责流程图的解析,流程的启动、完成、查询等;业务系统调用流程管理系统发布的服务完成业务流程;流程设计器负责业务系统的建模。There are three participants in system development, namely: process management system, business system (tenant) and process designer. The process management system provides a process engine, which is responsible for flow chart analysis, process initiation, completion, and query; the business system invokes the services published by the process management system to complete the business process; the process designer is responsible for modeling the business system.
本实施例中,可以使用Activiti Eclipse流程设计器设计Activiti流程,使用标准的BPMN2.0流程定义文件来描述工作流的定义。BPMN2.0流程定义文件是一个符合行业标准的XML格式的文件。在这个文件中包含了流程的流转序列,步骤节点以及各个节点上相关的用户,变量信息等流程元素。在BPMN2.0XML流程定义文件中还包含了各个流程元素在定义中的显示位置等信息,从而可以以图形化的方式来显示或编辑流程定义文件。目前已经有多种BPMN2.0流程定义文件的可视化编辑器。Activiti中提供了2种定义文件的可视化编辑器:Web Application形式的Activiti Modeler和Eclipse插件形式的流程编辑器。Activiti Modeler必须部署在Web应用服务器中才能通过Web浏览器来使用而Eclipse插件形式的编辑器可以在Eclipse中直接使用,更好的结合了Activiti的流程设计和程序编码。在Activiti5.6版之后,Activiti Modeler已经不再包含在Activiti的下载中。In this embodiment, the Activiti process can be designed using the Activiti Eclipse process designer, and the standard BPMN2.0 process definition file can be used to describe the definition of the workflow. The BPMN2.0 process definition file is an industry standard XML format file. This file contains the flow sequence of the process, step nodes, and related user, variable information and other process elements on each node. The BPMN2.0XML process definition file also contains information such as the display position of each process element in the definition, so that the process definition file can be displayed or edited in a graphical way. There are already a variety of visual editors for BPMN2.0 process definition files. Activiti provides two visual editors for definition files: the Activiti Modeler in the form of a Web Application and the process editor in the form of an Eclipse plug-in. Activiti Modeler must be deployed in a web application server to be used through a web browser, and an editor in the form of an Eclipse plug-in can be used directly in Eclipse, which better combines Activiti's process design and program coding. After Activiti version 5.6, Activiti Modeler is no longer included in Activiti downloads.
其中,流程建模时需要根据业务系统的需要设置流程任务的权限比如任务的执行人、执行角色、任务的表单路径等,现有技术中这些属性都必须手工录入到流程设计器中,效率比较低下而且容易出错。Among them, during process modeling, it is necessary to set the permissions of process tasks according to the needs of the business system, such as task executor, execution role, task form path, etc. In the prior art, these attributes must be manually entered into the process designer. Low and error prone.
图5是根据一示例性实施方式示出的第五种用于优化流程管理系统的方法的流程图。Fig. 5 is a flowchart showing a fifth method for optimizing a process management system according to an exemplary embodiment.
如图5所示,在步骤S510中,所述流程管理系统提供的流程设计器使用预设协议向相应的业务系统发送获取业务信息的请求。As shown in FIG. 5 , in step S510 , the process designer provided by the process management system sends a request for acquiring service information to the corresponding service system by using a preset protocol.
所述流程设计器用于流程建模,流程建模时需要用到业务系统(租户)的用户、角色和表单等业务信息,那么这些数据完全可以由业务系统通过服务的方式提供。The process designer is used for process modeling, and business information such as users, roles, and forms of the business system (tenant) needs to be used for process modeling, so these data can be completely provided by the business system through services.
本实施例中,所述流程设计器可以指定使用rest协议和预设数据格式(例如json),向所述业务系统发送获取业务信息的请求。In this embodiment, the process designer may specify to use a rest protocol and a preset data format (eg, json), and send a request for acquiring business information to the business system.
在步骤S520中,所述流程设计器接收所述业务系统返回的预设数据格式的所述业务信息。In step S520, the process designer receives the business information in a preset data format returned by the business system.
业务系统接收到所述请求后,使用rest协议发布服务并返回指定的预设数据格式(例如json)的业务信息。After receiving the request, the business system uses the rest protocol to publish the service and returns business information in a specified preset data format (eg, json).
所述流程设计器拿到json格式的数据后展示在页面上供开发者选择,可以省去手动录入的麻烦,并降低了出错的概率,以及提高了流程建模的效率。The process designer obtains the data in json format and displays it on the page for developers to choose, which can save the trouble of manual input, reduce the probability of errors, and improve the efficiency of process modeling.
在Eclipse项目中可以直接通过创建Activiti Diagram的形式来创建一个流程定义文件并在可视化编辑器中编辑。如果项目中已经存在BPMN2.0流程定义XML文件,双击该文件Eclipse插件会自动生成一个后缀为.activiti的流程可视化编译文件。双击该文件可在可视化流程编辑器中打开该流程。In the Eclipse project, a process definition file can be created directly by creating an Activiti Diagram and edited in the visual editor. If the BPMN2.0 process definition XML file already exists in the project, double-clicking the file Eclipse plug-in will automatically generate a process visualization compilation file with the suffix .activiti. Double-clicking the file opens the process in the visual process editor.
继续参考图5,在示例性实施例中,用于优化流程管理系统的方法还可以包括步骤S530,其中,在步骤S530中,所述流程设计器向所述流程管理系统发布流程图。Continuing to refer to FIG. 5 , in an exemplary embodiment, the method for optimizing a process management system may further include step S530, wherein, in step S530, the process designer publishes a flowchart to the process management system.
当流程定义文件设计完成后,可以使用以下的API代码获取RepositoryService,并使用该服务将流程定义文件部署到Activiti流程引擎中。When the process definition file is designed, you can use the following API code to obtain the RepositoryService, and use this service to deploy the process definition file to the Activiti process engine.
当获得了这些Service对象后,就可以使用这些Service对象来完成各种Activiti流程引擎的操作。在实际应用中需要综合使用各种服务来部署流程定义,启动流程实例,领取、查询完成用户任务以及查询流程运行历史纪录等Activiti流程引擎的主要功能。When these Service objects are obtained, these Service objects can be used to complete the operations of various Activiti process engines. In practical applications, it is necessary to comprehensively use various services to deploy process definitions, start process instances, receive, query and complete user tasks, and query process operation history and other main functions of the Activiti process engine.
本发明实施例提供的用于优化流程管理系统的方法,流程设计器和业务系统通过rest服务关联,从而提高了开发效率,提高了流程建模的效率并降低了流程建模的出错率。In the method for optimizing the process management system provided by the embodiment of the present invention, the process designer and the business system are associated through the rest service, thereby improving the development efficiency, improving the efficiency of process modeling and reducing the error rate of process modeling.
下述为本发明装置实施例,可以应用于本发明的上述流程管理系统。对于本发明装置实施例中未披露的细节,请参照本发明上述方法实施例。The following are device embodiments of the present invention, which can be applied to the above-mentioned process management system of the present invention. For details not disclosed in the apparatus embodiments of the present invention, please refer to the above method embodiments of the present invention.
图6是根据一示例性实施方式示出的一种用于优化流程管理系统的装置的框图。Fig. 6 is a block diagram of an apparatus for optimizing a process management system according to an exemplary embodiment.
如图6所示,用于优化流程管理系统的装置600可以包括异常捕获模块610、停留节点查询模块620以及任务创建模块630。As shown in FIG. 6 , the
其中异常捕获模块610用于捕获自动任务节点的异常信息并存储,阻止任务的回滚。The
停留节点查询模块620用于根据流程实例的标识信息查询当前流程停留的节点。The stop
任务创建模块630用于根据当前流程停留的节点的标识信息生成新的任务并执行。The
在示例性实施例中,用于优化流程管理系统的装置600还可以包括判断模块,用于判断当前的节点是否为会签节点;读取模块,用于当所述节点为会签节点时,读取流程建模时配置的参与会签人员;集合变量生成模块,用于根据所述参与会签人员自动生成集合变量;会签任务生成模块,用于激活所述会签节点生成会签任务。In an exemplary embodiment, the
在示例性实施例中,用于优化流程管理系统的装置600还可以包括租户标识写入模块,用于将需要查阅日志文件的业务系统的标识信息设置在logback提供的MDC上下文中;日志文件输出模块,用于输出以所述业务系统的标识信息命名的相应日志文件。In an exemplary embodiment, the
在示例性实施例中,用于优化流程管理系统的装置600还可以包括地址映射模块,用于配置流程图时,将所述自动任务节点调用的网络服务的地址映射为一个唯一标识;In an exemplary embodiment, the
映射表配置模块,用于配置一所述唯一标识与调用的所述网络服务的地址的映射表;地址查询模块,用于发布所述流程图并执行流程时,在所述自动任务节点根据所述唯一标识和所述映射表查询调用的所述网络服务的地址。The mapping table configuration module is used to configure a mapping table between the unique identifier and the address of the called network service; the address query module is used to publish the flow chart and execute the flow chart. The unique identifier and the address of the network service invoked by the mapping table query.
在示例性实施例中,用于优化流程管理系统的装置600还可以包括变更地址模块,用于当系统发生迁移时,所述自动任务任务节点调用的所述网络服务的地址变更;修改映射表模块,用于修改所述映射表中的相应的调用的所述网络服务的地址。In an exemplary embodiment, the
在示例性实施例中,用于优化流程管理系统的装置600还可以包括请求发送模块,用于所述流程管理系统提供的流程设计器使用预设协议向相应的业务系统发送获取业务信息的请求;业务信息接收模块,用于所述流程设计器接收所述业务系统返回的预设数据格式的所述业务信息。In an exemplary embodiment, the
本发明实施方式提供的用于优化流程管理系统的装置,一方面,可以解决流程serviceTask节点出现异常无法从当前节点继续执行的问题,使得中断的流程能够继续执行,节省了大量资源。另一方面,还可以解决租户日志混杂的问题,实现了分租户输出日志文件的功能,保证了系统的安全性和租户查阅日志的便利性。再一方面,还可以解决开发会签任务时显式声明集合变量的问题,开发会签时不用再显式声明集合变量,降低了流程出错的概率。又一方面,还可以解决serviceTask节点webService地址变更后需要大量修改流程图,发布流程图而且影响运行中流程的问题,降低了由于webService地址迁移带来的影响。此外,还可以解决流程建模时手动输入效率低、易出错的问题,提高了流程建模的效率,并降低了流程建模时的出错率。The apparatus for optimizing the process management system provided by the embodiment of the present invention can solve the problem that the process serviceTask node cannot continue to be executed from the current node due to abnormality, so that the interrupted process can continue to be executed, saving a lot of resources. On the other hand, it can also solve the problem of mixed tenant logs, realize the function of outputting log files by tenants, and ensure the security of the system and the convenience for tenants to view logs. On the other hand, it can also solve the problem of explicitly declaring set variables when developing countersignature tasks. When developing countersignatures, there is no need to explicitly declare set variables, which reduces the probability of process errors. On the other hand, it can also solve the problem that a large number of flowcharts need to be modified after the webService address of the serviceTask node is changed, the flowcharts are published and the process in operation is affected, and the impact caused by the migration of the webService address can be reduced. In addition, the problem of low efficiency and error-prone manual input during process modeling can also be solved, the efficiency of process modeling is improved, and the error rate during process modeling is reduced.
需要注意的是,上述附图中所示的框图是功能实体,不一定必须与物理或逻辑上独立的实体相对应。可以采用软件形式来实现这些功能实体,或在一个或多个硬件模块或集成电路中实现这些功能实体,或在不同网络和/或处理器装置和/或微控制器装置中实现这些功能实体。It should be noted that the block diagrams shown in the above figures are functional entities, and do not necessarily necessarily correspond to physically or logically independent entities. These functional entities may be implemented in software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
本领域技术人员可以理解实现上述实施方式的全部或部分步骤被实现为由CPU执行的计算机程序。在该计算机程序被CPU执行时,执行本发明提供的上述方法所限定的上述功能。所述的程序可以存储于一种计算机可读存储介质中,该存储介质可以是只读存储器,磁盘或光盘等。Those skilled in the art can understand that all or part of the steps for implementing the above-described embodiments are implemented as computer programs executed by the CPU. When the computer program is executed by the CPU, the above-mentioned functions defined by the above-mentioned methods provided by the present invention are executed. The program can be stored in a computer-readable storage medium, which can be a read-only memory, a magnetic disk, an optical disk, or the like.
此外,需要注意的是,上述附图仅是根据本发明示例性实施方式的方法所包括的处理的示意性说明,而不是限制目的。易于理解,上述附图所示的处理并不表明或限制这些处理的时间顺序。另外,也易于理解,这些处理可以是例如在多个模块中同步或异步执行的。In addition, it should be noted that the above-mentioned drawings are only schematic illustrations of the processes included in the methods according to the exemplary embodiments of the present invention, and are not intended to be limiting. It is easy to understand that the processes shown in the above figures do not indicate or limit the chronological order of these processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, for example, in multiple modules.
通过以上的实施方式的描述,本领域的技术人员易于理解,这里描述的示例实施方式可以通过软件实现,也可以通过软件结合必要的硬件的方式来实现。因此,根据本发明实施方式的技术方案可以以软件产品的形式体现出来,该软件产品可以存储在一个非易失性存储介质(可以是CD-ROM,U盘,移动硬盘等)中或网络上,包括若干指令以使得一台计算设备(可以是个人计算机、服务器、移动终端、或者网络设备等)执行根据本发明实施方式的方法。From the description of the above embodiments, those skilled in the art can easily understand that the exemplary embodiments described herein may be implemented by software, or may be implemented by software combined with necessary hardware. Therefore, the technical solutions according to the embodiments of the present invention can be embodied in the form of software products, and the software products can be stored in a non-volatile storage medium (which can be CD-ROM, U disk, mobile hard disk, etc.) or on the network , which includes several instructions to cause a computing device (which may be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to an embodiment of the present invention.
以上具体地示出和描述了本发明的示例性实施方式。应可理解的是,本发明不限于这里描述的详细结构、设置方式或实现方法;相反,本发明意图涵盖包含在所附权利要求的精神和范围内的各种修改和等效设置。Exemplary embodiments of the present invention have been specifically shown and described above. It should be understood that the invention is not limited to the details of construction, arrangements, or implementations described herein; on the contrary, the invention is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.
Claims (12)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201611146326.0A CN106600226B (en) | 2016-12-13 | 2016-12-13 | Method and device for optimizing process management system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201611146326.0A CN106600226B (en) | 2016-12-13 | 2016-12-13 | Method and device for optimizing process management system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN106600226A CN106600226A (en) | 2017-04-26 |
| CN106600226B true CN106600226B (en) | 2020-08-04 |
Family
ID=58801095
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201611146326.0A Active CN106600226B (en) | 2016-12-13 | 2016-12-13 | Method and device for optimizing process management system |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106600226B (en) |
Families Citing this family (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108009799B (en) * | 2017-12-21 | 2021-12-31 | 泰康保险集团股份有限公司 | Method and device for persistence of workflow, storage medium and electronic equipment |
| CN108460078B (en) * | 2018-01-08 | 2020-10-13 | 平安科技(深圳)有限公司 | Auxiliary function execution method and device, storage medium and terminal |
| CN110674083B (en) * | 2019-10-10 | 2023-11-28 | 深圳前海微众银行股份有限公司 | Workflow migration method, device, equipment and computer-readable storage medium |
| CN110928525A (en) * | 2019-11-12 | 2020-03-27 | 中信百信银行股份有限公司 | Automatic log generation method and system for business flow development tool |
| CN112418796B (en) * | 2020-11-20 | 2023-12-08 | 泰康保险集团股份有限公司 | Sub-process task node activation method and device, electronic equipment and storage medium |
| CN114595941A (en) * | 2022-02-08 | 2022-06-07 | 阿里巴巴(中国)有限公司 | Task processing method and device |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101388844A (en) * | 2008-11-07 | 2009-03-18 | 东软集团股份有限公司 | Data flow processing method and system |
| CN105302581A (en) * | 2015-12-02 | 2016-02-03 | 南京莱斯信息技术股份有限公司 | Workflow event mechanism implementation method based on script engine |
| CN105630589A (en) * | 2014-11-24 | 2016-06-01 | 航天恒星科技有限公司 | Distributed process scheduling system and process scheduling and execution method |
| CN105824842A (en) * | 2015-01-07 | 2016-08-03 | 阿里巴巴集团控股有限公司 | Distributed transaction processing method and system |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP2420929A1 (en) * | 2010-08-18 | 2012-02-22 | Software AG | System and method for ad-hoc modification of a process during runtime |
-
2016
- 2016-12-13 CN CN201611146326.0A patent/CN106600226B/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101388844A (en) * | 2008-11-07 | 2009-03-18 | 东软集团股份有限公司 | Data flow processing method and system |
| CN105630589A (en) * | 2014-11-24 | 2016-06-01 | 航天恒星科技有限公司 | Distributed process scheduling system and process scheduling and execution method |
| CN105824842A (en) * | 2015-01-07 | 2016-08-03 | 阿里巴巴集团控股有限公司 | Distributed transaction processing method and system |
| CN105302581A (en) * | 2015-12-02 | 2016-02-03 | 南京莱斯信息技术股份有限公司 | Workflow event mechanism implementation method based on script engine |
Non-Patent Citations (1)
| Title |
|---|
| 工作流管理系统的异常处理机制研究;肖庆等;《信息与电脑》;20150823(第16期);第62-66页 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106600226A (en) | 2017-04-26 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN106600226B (en) | Method and device for optimizing process management system | |
| CN110058846B (en) | A business application software development system and method | |
| US10565095B2 (en) | Hybrid testing automation engine | |
| CN105094818B (en) | Method and system for building comprehensive application of natural resources based on SOA | |
| US9846849B2 (en) | System and method for providing an editor for use with a business process design environment | |
| CN112130993B (en) | Power edge IoT proxy edge computing method and system based on graphical modeling | |
| US20080262815A1 (en) | Processing logic modeling and execution | |
| US20130080350A1 (en) | Management and notification of object model changes | |
| US20070261017A1 (en) | Applying Packages To Configure Software Stacks | |
| US9513874B2 (en) | Enterprise computing platform with support for editing documents via logical views | |
| CN103744647B (en) | A kind of Java workflow development system and method based on workflow visualization toolkit | |
| CN107944773A (en) | Business process control method, device and storage medium | |
| JP2009534773A (en) | Process coding | |
| Vaisman | An introduction to business process modeling | |
| US20210263833A1 (en) | Code Generation Platform with Debugger | |
| WO2019062673A1 (en) | Information-based management implementation method and system based on input and output semantization | |
| CN112948110A (en) | Topology and arrangement system and method of cloud application, storage medium and electronic device | |
| CN117234480A (en) | Ontology-based multi-programming language component specification and workflow system and use method | |
| CN117539472A (en) | Flow management interaction method and device | |
| CN115955408B (en) | Conductor framework-based application programming service system and method | |
| JP5243908B2 (en) | Computer system, method and computer program for verifying model quality | |
| CN114356314B (en) | Application construction method, system, electronic device and storage medium | |
| US12164934B1 (en) | Robotic process automation system with advanced combinational triggers | |
| US20240370236A1 (en) | Managing an app, developing an app including an event artifact, method, and system | |
| JP5007041B2 (en) | Job management apparatus and job management method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |