Workflow Design 工作流设计

Workflow Design 工作流设计
Workflow Design 工作流设计

Toward Workflow Block Activity Patterns for Reuse in

Workflow Design

Lucinéia Heloisa Thom and Cirano Iochpe

Federal University of Rio Grande do Sul, Brazil;

Vinícius Amaral and Daniel Viero, iProcess, Brazil

1.I NTRODUCTION

Research on both business process modeling and implementation issues re-lated to workflow technology have quickly increased over the last years. The most significant initiatives are in the field of standardization [1], [2], [4], specification [5] and workflow definition languages [6], [7], [3]. However, since it is a relatively new and still evolving technology, workflow design pre-sents some challenges, especially with respect to techniques that can en-force correctness as well as efficiency during both the requirements analysis and the modeling phase of the workflow project.

Within this context, research on workflow patterns has attracted increasing attention mainly because of the advantages of reusing patterns [8], [9]. The most extensively studied are in the field of control/data flow patterns [10], [11] as well as resource and application–oriented patterns (12). Such pat-terns are being used not only in business/workflow process modeling but also in critical evaluations of workflow languages and workflow tools (13). However, a lot less research can be found relating workflow design to a set of recurrent business process “pieces” or “parts” that must be atomically exe-cuted by the workflow process (e.g., an activity request execution and a noti-fication activity). Although one can precisely characterize the semantics of such business process “pieces” [14], [15], [16] and they have to be recur-rently re-designed in practically every workflow modeling process, there is no known research relating these business process structures to workflow pat-terns.

1.1 Approach

Our approach applies the concept of block activity to well-known business processes. An activity set is a self-contained set of activities and transitions [7]. Transitions in the set should refer only to activities in the same set and there should be no transitions into or out of the set. Activity sets can be modeled as block activities. The block execution starts at the first activity in the set and executes the next activities by following the partial order im-posed upon them by the transitions until an exit activity is reached. Work-flow execution then returns to the next activity following the block.

In this paper, we apply the block activity concept in order to represent a set of business (sub-)process types (e.g., logistic, financial, information and de-cision) that we call “workflow block activity patterns”. These patterns are re-lated to a set of specific atomic structures that are frequently found in busi-ness processes and have already been identified in the literature [14], [15],

[16], [10], [6]. According to [17] a pattern is the abstraction from a concrete form which keeps recurring in specific non-arbitrary contexts.

The block activity concept is suitable for representing the business (sub-)process types because it can encapsulate their well-defined semantics as well as represent their atomic characteristic. This means that all activities defined inside the block activity pattern must completely execute before workflow continues execution.

Since our pattern representations may require input/output parameters and the block activity concept does not support parameters, we applied the transaction perspective of the serialization theory to overcome this limitation [18]. An input parameter is represented as a database read operation of “one-time-only” readable information. Similarly, an output parameter is rep-resented in the block as a database write operation of “one-time-only” write-able information.

As part of our investigation, after integrating different pattern classifications found in the literature, we decided to describe the so-called workflow block activity patterns in a common language. UML 2.0[19] was chosen for this purpose1. In order to verify whether these workflow patterns are modeled as often as their counterparts in business processes, we conducted some case studies by analyzing both a set of workflow definition languages and a set of workflow processes.

1.2 Related Work

Wil van der Aalst proposed 21 workflow patterns for the description of busi-ness process behavior [10]. More recently, van der Aalst proposed a set of workflow data patterns [11] and a set of resource workflow patterns [12]. Our approach differs from van der Aalst’s approach because each of our pat-terns has a well-defined goal (e.g., activity execution request and process status notification).

SAP created a cross-application tool called SAP Business Workflow. The tool makes feasible the integration of business tasks between applications in-cluding a workflow wizard with workflow templates [6]. Within this context, the Massachusetts Institute of Technology (MIT) started development in 1991 of the Process Handbook, an online knowledge base with entries for over 5000 business activities [15]. We consider some of our patterns more application independent than SAP and MIT patterns. The advantage of this is the different levels of abstraction that our patterns can provide when used to model both business processes and workflow processes. In our investiga-tion we observed that some of our patterns are more application –oriented while other are more information sys –oriented.

The remainder of the paper is structured as follow. Section 2 presents an overview of different business process types. Section 3 describes some of these process types through UML 2.0. In order to investigate whether they are implemented in workflow components of different workflow tools as well as different applications, a matching exercise was performed. The results are summarized in Section 4. Finally, Section 5 concludes the paper and de-scribes future directions.

1 UML is being considered a flexible language that makes possible the mapping of an

UML process to a BPEL4WS process. Such mapping can be useful when thinking

about implementation issues [8].

2B USINESS (S UB-)P ROCESS T YPES

Processes in organizations can be grouped into several categories, depending on the nature of the process object2 [16]. According to [16], while logistic processes are performed with the goal of manipulating a physical object (also called material process [14], [20]) or provisioning a service (e.g., the manu-facturing of a product and both selling and buying of goods), financial proc-esses are performed when monetary value is exchanged between two parties. Each of these processes is accompanied by an information process, which represents the flow of data in the company’s information systems that is set in motion by the relevant logistics and financial processes. Figure 1 illus-trates the semantics of the concepts.

Figure 1 : Semantic of Concepts

Within this context, Michael zur Muehlen [16] explains that the participants of a process communicate by exchanging messages. A message exchange involves two players: a sender or producer (sends a message) and a receiver or consumer (receives a message). The author classifies messages as unidi-rectional or bi-directional. Unidirectional messages are used either by a sender to request the execution of an activity from a receiver (also called a unidirectional performative message or communication), or by a receiver to no-tify a sender (notification message3). Bi-directional messages form a re-quest/respond pair, where a sender asks a receiver to perform an activity and the receiver answers the sender (also called (bi-directional performative message or communication), or they form a solicit/respond pair, where a re-ceiver asks the sender for information which is supplied subsequently (in-formative message).

In our approach the activities of an information process are the messages that implement the organization’s flow of data instigated by both logistic and financial processes. For example, in an “approval process” the activity con-cerning a “document review request” generates a bi-directional performative message (a sender requests a receiver to perform an activity). Figure 2 illus-trates a simple workflow meta-model, defined as an aggregation of applica-

2 A process object forms the object of work inside a process. The activities which are to

be executed inside a process contribute to the change of the process object’s state.

This organization-focused understanding of objects has to be distinguished from the

computer science term "object" (object as an encapsulation of data and function)[21].

3 In a workflow process it can be used to inform the status of an activity execution.

tion processes (i.e., logistic and financial processes) and information proc-esses (i.e. the kinds of message exchange).

We emphasize that either application processes or information processes can be related to a decision process i.e., a cognitive process of selecting a course of activities from among multiple alternatives [22], [15]. In the case of an ap-plication process it refers to a decision-making action such as the approving or rejecting in an approval process. In an information process the decision occurs in terms of workflow routing.

Figure 2 : Workflow metamodel

3 B LOCK A CTIVITY PATTERNS

Within the context of a business as well as a workflow process there are a variety of different “parts,” each of which is related either to the application domain (e.g., logistic and financial activities) or to the organization’s infor-mation process (e.g. decision or some kind of message exchange). These parts can be understood as self-contained activity blocks with a specific and well defined semantic. It is worth observing that the same “part” can be re-peated within the same process. At execution time different copies of a same “part” may be receiving either the same or different parameter values.

This section presents not only the basic logistic and financial activities but also the types of message exchange in UML 2.0 notation. We mainly focus on logistic, financial and information processes because these processes are widely recognized among different authors [14], [16]. Nevertheless, we rely

on the block activity concept of the Workflow Management Coalition to model structures which should be executed atomically. Figures 4 to 13 must be read according to the legend presented in Figure 3. We used the Visual Paradigm for the UML Community Edition based on UML 2.0 as an editing tool to design the patterns. (a)

(b) (c) (d)

(e) (f) (g) (h) Figure 3 : From right to left (a) InitialNode – a signal indicating a start point in a process; (b) Action – refers to an atomic activity; (c) De-cisionNode; (d) ForkNode or AND-Split; (e) JoinNode; (f) ControlFlow (g) ActivityPartition or Swimlane; (h) ActivityF

3.1 Logistic Pattern

A logistic process can refer to the manufacturing, buying and selling of prod-ucts or it can also comprise the offering of a service. Our intention here is not to present a detailed pattern for each of these logistic activities but to illustrate the main general possible logistic activities related to it. We focus on the information data (in terms of message exchange) these logistic activi-ties can generate. Accordingly, Figure 4 shows a conceptual view of the main logistic activities. Based on an order specification, for example, one of sev-eral kinds of activities will be chosen to start the execution.

Figure 4 : Logistic pattern

3.2 Financial Pattern

This pattern represents a financial process. As shown in Figure 5, the finan-cial activity manipulates and, eventually, generates a new monetary value.

Figure 5 : Financial pattern

3.3 Unidirectional Performative Message Pattern

This pattern represents a unidirectional performative message. As shown in Figure 6, first there is an activity execution request. Based on the activity description, a work item is assigned to a receiver (a specific workflow par-ticipant responsible for the activity execution). After that, the process can continue execution without waiting for a response. Both the write and read activities would be modeled as parameters if allowed by a block activity.

Figure 6 : Unidirectional performative message pattern

3.4 Bi-directional Performative Message Pattern

This pattern is based on the bi-directional performative message. As shown in Figure 7, the activity block finishes execution only after a notification of activity execution complete is sent and the result of the execution is re-corded in the database (AND-Split).

Figure 7 : Bi-directional performative message pattern

3.5 Informative Pattern

The informative pattern is based on the informative message. As illustrated in Figure 8, the activity block starts with an information request and finishes when the information required is received. This pattern differs from the bi-directional performative message mainly in terms of the type of activity re-sult being requested, i.e., a piece of information.

Figure 8 : Informative pattern

3.6 Notification Pattern

As shown Figure 9, this pattern is based on the notification message. It com-prises a notification activity that can either inform the end of an activity exe-cution or post news inherent to the workflow application. In the last case, the sender usually sends a notification. Since it informs the status of an ac-tivity execution, it can be understood as part of the bi-directional message. In our approach we are treating the notification activity as a self-contained activity because we assume that a notification activity status can eventually be sent after previously being requested to do so.

Figure 9 : Notification pattern

3.7 Decision Pattern

The decision pattern is similar to the decision control flow proposed in [19] (see Figure 10). In our approach this pattern is to be used in conjunction with other patterns. In this context, it can assume more significance such as in an approval process.

Figure 10 : Decision pattern

4C ASE S TUDY

To identify the kinds of message exchange patterns in real processes we per-formed a “matching exercise”. First we searched for individual as well as combinations of patterns in the workflow modeling language supported by the Oracle Workflow Cartridge [23]. After that, we tried to find the same pat-terns within a set of real workflow processes from different application do-mains that were modeled as well as implemented with that tool. In a third step we analyzed some of the main modeling elements of the Business Proc-ess Modeling Notation—BPMN [5].

Note that in Figures 9 to 12 a dashed line represents a notification pattern; a filled line means a decision pattern; a circle illustrates a unidirectional perfor-mative message pattern and a dotted line indicates a bi-directional performa-tive message pattern.

4.1 Block Activity Patterns Represented by Oracle Cartridge Compo-nents

The Oracle Workflow Cartridge offers a set of components to be used in workflow process design (e.g., item types; lookup types; activities, attributes, roles). From these components we investigated mainly the activity types.

In Oracle an activity is defined as a unit of work that contributes toward the accomplishment of a process [22]. An activity can be a notification, a func-tion, an event, or a process. Our investigation started with the notification activity, which sends a message to a workflow user. The message may sim-ply provide the user with information or request the user to take some ac-tion.

Figure 11 illustrates the case when the notification activity comprises the request of a task execution (a work item is assigned for a workflow partici-pant who must execute it. After execution completes the requester receives a notification). According to the patterns described above, the notification ac-tivity can be said to express two block activity patterns, a bi-directional per-formative message and a notification (because of the activity: “notify sender about execution complete”).

Figure 11 : Oracle notification activity represented as block activity

pattern

4.2 Block Activity Patterns Represented by BPMN

The Business Process Management Initiative (BPMI) has developed a stan-dard Business Process Modeling Notation (BPMN). The primary goal of BPMN

is to provide a notation that is readily understandable by all business users, from the business analysts that create the initial drafts of the processes, to the technical developers responsible for implementing the technology that will perform those processes, and finally, to the business people who will manage and monitor those processes [5].

BPMN has created a set of modeling elements which are classified as Events, Activities, Gateways, Pool, Lane, Artifacts, Sequence Flow, Message Flow, Association, Exception Flow and Compensation Association. As we are still studying most of these modeling elements in this paper we only present the analyses we performed with the “End Event”. According to [5] an Event is something that “happens” during the course of a business process. These Events affect the flow of the Process and usually have a cause or an impact. The main Events in BPMN are the Start and End Events, respectively. Figure 12 illustrates the logic of the end event represented as a block activity in UML.

Figure 12 : BPM End event represented as block activity

End Events may define a “Result” that is a consequence of a Sequence Flow ending. There are multiple types of Results. Figure 12 illustrates two kinds of results: (a) generate error code and; (b) send message. The activity “choose type of end event” for example can be understood as an application decision because the user must choose one of several kinds of end events or results to be used in a specific process modeling. Based on this, either an error code must be supplied (Generate error code) or a message needs to be sent reporting the reason for the end event (Send msg).

In addition to the decision message, Figure 12 shows two examples of block activity patterns, the unidirectional performative message that is generated by the activity “Generate code” and the notification message which is generated by the activity “Send msg”.

4.3 Block Activity Patterns Identified in Workflow Applications

We analyzed about 200 workflow (sub-)processes (such as the one presented in Figure 13) from different domain applications in order to identify the block activity patterns in the (sub)processes. To do so, we matched the content of one or more business activities (e.g., notify parties in charge about new launching – meaning that the workflow participant must perform an evalua-tion) with the pattern (e.g., unidirectional performative message).

Figure 13 illustrates the case where the launching of a new product is evaluated. Accordingly, the activities “Notify parties in charge about new

launching” and “Notify financial department about approvals” generate noti-fication messages that are implemented by the organization’s information system. On the other hand, the activity “Evaluate launching” generates a unidirectional performative message because it is related to an activity execu-tion request. Last but not least, the activity “Check whether there are new products to be evaluated” generates a bi-directional performative message be-cause it concerns an activity execution request (the workflow system is the performer) that must return a value, i.e., there exist or do not exist new launchings to be evaluated.

Figure 13 : Launching of new products

5C ONCLUSIONS

In this paper we reported the three most well-known business processes found in the literature, i.e., logistic process, financial process and informa-tion process. We argued that both logistic as well as financial processes generate data that are implemented by the organization’s information proc-ess activities as message exchanges (e.g., unidirectional and bi-directional messages). These processes and message types were then represented as block activities via UML 2.0. Through case studies we identified these block activity patterns not only in workflow elements but also in workflow applica-tions. The main results of the “matching exercise” were: (a) the patterns could be identified in most of the analyzed workflow elements, which sug-gests to us that the patterns are probably present in workflow applications developed on the basis of such workflow elements; (b) the patterns were also identified in specific “pieces” of a workflow application, which makes feasible their reuse in similar new applications.

By applying the WfMC concept of “block activity” to define patterns we pro-vide the atomicity property, meaning that whole activities inherent to a spe-cific pattern are completely executed from beginning to end before the flow (outside the activity block) can continue. The serializability theory approach was also suitable to cover the parameter expression limitation of the block activity. Finally, the representation of the patterns as well as the workflow elements and applications in a common language (UML 2.0) as an early step before the “matching exercise” proved to be an efficient method to avoid am-biguities during the process identification.

We observed that both logistic and financial patterns are application domain -oriented. On the other hand, the message exchange patterns are more re-lated to the organization’s information system. The decision pattern is an exception because it depends on the context, i.e., whether it is used for a control-flow purpose or for an application purpose such as an approval process. Our aim is to use the proposed patterns to improve both the qual-ity and the performance of the design phase in a workflow project mainly because of the reuse advantages of pattern approaches. We believe our ap-

proach represents a useful way to separate the business process parts, which depend on the application domain, from the parts which depend on the information system. These different abstractions of the same process are useful to determine the designer profile as well as to focus the design in one specific dimension just as occurs with the UML diagrams, for example.

In the future we plan to follow two avenues of research. The first involves the search for new patterns through the investigation of both workflow elements of different tools/notations such as the BPMN elements and workflow appli-cations of different domains. Second, we plan to investigate whether our pat-terns fit in the pattern classifications proposed by van der Aalst [10], [11], [12], SAP [6] and MIT [15]. The idea is to propose a new category when none of the existing ones match any of our patterns.

A CKNOWLEDGEMENTS

The authors would like to thank the German Academic Exchange Service—DAAD, the Coordination for the Improvement of Graduated students—CAPES, the Institute for Parallel and Distributed Systems—IPVS of Univer-sity of Stuttgart (Stuttgart, Germany) in special Prof. Dr.-Ing. habil. Bern-hard Mitschang and the Informatics Institute of Federal University of Rio Grande do Sul—UFRGS (Porto Alegre, Brazil).

R EFERENCES

1.Workflow Management Coalition. Terminology & Glossary. Bruxelas, Feb.

1999. 65p. Available at: . Visited in Nov. 2005. 2.Workflow Management Coalition. Interface 1: process definition inter-

change organizational model. 1998. Available at:

. Visited in Aug. 2005.

3.Eriksson H.-E., Penker, M. Business Modeling with UML. John Wiley &

Sons, Inc., 2001. 459p.

4.Castano, S. et. Al. Workflow on Intelligent Distributed database Envi-

ronment: workflow reference models. (ESPIRIT Project 20280). Politecnco di Milano.1997.

5.White, Stephen A. Introduction to BPMN. 2004. Available at:

. Visited in May. 2004.

6.Andrews, T. et al.: Business Execution Language For Web Services, (Ver-

sion 1.1). Available at: , 2003.

7.Workflow Management Coalition Workflow Standard. Process Definition

Interface: XML Process Definition Language. Doc. Number: WFMC-TC-

1025. 2005.

8.Thom, L., Iochpe, C., Mitschang, B. 2005. Improving the Workflow Pro-

ject Quality Via Business Process Patterns Based on Organizational

Structure Aspects. In: 1st GI Workshop XML4BPM—XML for Business

Process Management at BTW, Karlsruhe Germany.

9.Hohpe, G.; Woolf, B. Enterprise integration patterns: Designing, Build-

ing, and Deploying Messaging Solutions. Boston: Addison-Wesley. c2004.

10.van der Aalst, W.M.P. et al. Workflow Patterns. In Distributed and Paral-

lel Databases, 14(3), pages 5-51, July 2003.

11.Russell, N., Hofstede, A. H. M ter, Edmond, D.: Workflow Data Patterns.

In: Informatik 2004—Informatik verbindet (Band 1), Lecture Notes in Informatics (LNI). Proceedings... Ulm. v. p-50, 2004a.

12.Russell, N. et. al. Workflow Resource Patterns. Technical report, FIT-TR-

2004-01, Queensland University of Technology, Brisbane, 2004b.

13.van der Aalst, W.M.P. et al. Patterns and XPDL: A Critical Evaluation of

the XML Process Definition Language. QUT Technical report, FIT-TR-

2003-06, Queensland University of Technology, Brisbane, 2003.

14.Medina-Mora, R. et. Al. The action workflow approach to workflow man-

agement technology. 1992. Available in : https://www.360docs.net/doc/164643691.html,. Visited in

Jun/05.

15.Malone, T. W.; Crownston, K.; Herman, G. A. Organizing Business

Knowledge: The MIT Process Handbook. ISBN 0-262-13429-2. 2004.

Partes deste livro est?o disponíveis no site: (https://www.360docs.net/doc/164643691.html,/ph/). 16.zur Muehlen, M. Workflow-based process controlling: foundations, de-

sign, and application of workflow-driven process information systems.

Logos Verlang Berlin : Berlin. 299 p. 2002.

17.Gamma, E. et al. Design Ptterns. Addison-Wesley, 1995.

18.Bernstein, P. A.; Hadzilacos, V.; Goodman, N. Concurrency Control and

Recovery in Database Systems. Reading: Addison-Wesley, c1987. 370 p.

: il

19.Object Management Group. Unified Modeling Language: Superstructure.

V.2.0.2005.

20.Geurts, G.; Geelhoed, A. Business process decomposition and service

identification using communication patterns. 2002. Available in:

https://www.360docs.net/doc/164643691.html,/library/. Visited in Jun/05.

21.Rosemann, M.: Erstellung und Integration von Proze?modellen.

Methodenspezifische Gestaltungsempfehlungen für die

Informationsmodellierung. Diss., Universit?t Münster 1995.

22.Oracle Workflow Guide. Realise 2.6.2. v. 1. 2001. 1056p.

系统分析师辅导:工作流管理系统体系结构设计

系统分析师辅导:工作流管理系统体系结构设计 摘要:工作流管理系统将最终成为覆盖于各类台式机与网络操作系统之上的业务操作系统,但工作流技术目前还不够完善。作者在深入研究了工作流管理联盟提供的工作流管理系统模型和各大主流工作流管理系统的基础上设计了一套功能全面的工作流管理系统体系结构。本文主要从该体系结构的三个层次深入介绍了该系统结构。 关键词:工作流管理系统、业务操作系统、软件体系结构、业务建模 1、引言 在一个组织内部存在着两种信息:一种是数据信息,另一种是业务信息。在组织之间也同样存在着两种信息:一种是数据信息,另一种是业务往来信息。如果这两种信息用计算机系统来管理,前一种属于组织内部的信息系统,后一种属于B2B电子商务系统。目前对数据信息的计算机管理系统(即:数据库管理系统)经过多年的发展已经成熟。对业务过程的计算机管理系统由于比较复杂,可变因素较多,难度大,因此发展还不成熟。工作流技术作为现代组织实现过程管理与过程控制的一项关键技术,为组织的业务处理过程提供了一个从模型建立、管理到运行、分析的完整框架。同时,工作流管理系统(Workflow Management System ,WFMS)通过一套集成化、可互操作的软件工具为这个框架提供了全过程的支持。Thomas Koulopoulos曾预言:工作流管理系统将最终成为覆盖于各类台式机与网络操作系统(如:Windows,Unix,Windows NT)之上的业务操作系统BOS(Business Operating System),它将带来操作系统的一次革命。但是目前工作流技术无论从理论上还是从实践都还不够完善,要实现Thomas Koulopoulos的预言可能还需有一段路要走。本文主要介绍了由作者独立设计一套工作流管理系统体系结构,以供工作流技术爱好者参考。 2、工作流管理系统的基本概念 顾名思义,工作流就是工作任务在多个人或单位之间的流转。在计算机网络环境下,这种流转实际上表现为信息或数据在多个人之间的传送。工作流管理联盟( Workflow Management Coalition ,WfMC)对工作流的定义是:“业务过程的部分或全部在计算机应用环境下的自动化”。她所要解决的主要问题是,“使在多个参与者之间按照某种预定义规则传递的文档、信息或任务的过程自动进行,从而实现某个预期的业务目标,或者是促使此目标的实现”。 工作流管理系统就是通过管理一序列的工作活动以及相关人员、资源、信息技术资料来提供业务处理程序上的自动控制。工作流管理系统通过计算机软件来定义、管理和执行工作流程。在工作流管理系统中计算机运用程序的执行顺序是由工作流逻辑的计算机描述来驱动的。她的主要目标是对业务过程中各步骤(或称活动、环节)发生的先后次序,以及同各个步骤相关的人力、资源、信息资料的调用等进行管理,从而实现业务过程的自动化。当然这种管理可能会在不同的信息及通信环境下实现,所涉及的范围可以小至一个只有几人的工作组,也可以大到政府、企业组织各个机构之间。工作流管理系统将人员、组织结构、设备资源、信息源(如数据库、文件系统、电子邮件、计算机辅助设计工具等)整和成一个整体。这样,工作流管理系统就成为了一个理想的用来收容业务逻辑的业务知识仓库,并给予业务逻辑一个易操作易控制的界面。 工作流管理系统的最大优点就是实现具体应用逻辑和过程逻辑的分离,实现在不修改具体功能的情况下,通过修改业务流程模板来改变系统的功能,完成对组织生产经营过程的部

工作流系统需求分析

工作流系统需求分析 业务过程描述: 工作流是一种反映业务流程的计算机化的、实现经营过程集成与经营过程自动化而建立的可由工作流管理系统执行的业务模型。工作流起源于生产组织和办公自动化领域,其目的是将现有工作分解,按照一定的规则和过程来执行并监控,提高效率,降低成本。 下图是用户使用工作流系统的业务过程:

业务模型描述:

系统组成: 工作流管理系统由客户端、流程定制工具、流程监控与管理和工作流运行服务四个部分组成,下图是系统构件图: 系统功能划分: 工作流管理系统是指运行在一个或多个工作流引擎的软件上用于定义、实现和管理工作流运行的一套软件,从用户建模的过程来看在建立阶段功能主要是工作流过程和相关活动的定义和建模,在运行阶段包括运行流程的监控、管理以及执行过程中的人机交互等。 工作流管理系统由流程定制工具、流程监控与管理、工作流运行服务和客户端交互四个部分组成,整个系统的使用者可以分为四种:系统管理员、流程设计人员、流程管理人员、普通用户。 下图是整个工作流管理系统的顶层用例:

第一部分流程定制工具 本部分主要完成企业信息流中业务过程的图形化建模,定制工具提供丰富的图形化元素、简单易懂的建模方法以及完善的模型管理方式。 流程定制用例图:

打开流程模型 参与者:流程设计者。 前置条件:流程定制工具已经打开。 后置条件:被选择的流程模型中的内容被展开。 步骤序列: 1.打开流程模型列表或新建流程模型文件。 2.选择流程模型文件名称。 3.展开流程模型中的设计内容。 保存流程模型 参与者:流程设计者。 前置条件:某个流程模型已经被打开,并且被修改。 后置条件:修改过的流程模型存到了物理文件中。 步骤序列: 1.保存流程模型到物理文件中。 删除流程模型 参与者:流程设计者。 前置条件:拥有可被删除的流程模型。 后置条件:选中的流程模型被删除。 步骤序列: 1.用户打开流程模型列表。 2.用户选择想要删除的流程模型。 3.系统删除选中的流程模型。 导入导出流程模型 参与者:流程设计者。 前置条件:拥有可被导入的文件或导出的流程模型。 后置条件:流程模型被导出成文件或模型文件被导入到设计系统成为流程模型。 步骤序列: 1.用户打开可被导入文件列表或设计工具中的流程模型列表。 2.用户选择将被导入的流程文件或选择将被导出的流程模型。 3.系统把导入文件生成流程模型或把导出流程模型生成流程文件。 流程发布 参与者:流程设计者。 前置条件:拥有设计完成并可供发布的流程模型。 后置条件:流程模型被发布并可通过客户工具执行。 步骤序列: 1.用户打开流程模型列表。 2.用户选择发布的包或流程。 3.用户选择发布的运行服务器。 4.用户形成发布版本。

OA办公系统工作流设计文档

OA办公系统 (工作流部分) 概要设计说明书 第1版 目录 1、概述 1.1 工作流设计目标 通过OA系统提供的JBPM4引擎设计流程,实现流程的跳转,表单的设计以及表单和流程的关联。 1.2 文档的作用 本文档基于广州宏天软件有限公司开发的OA办公系统的工作流模块设计的.仅限于流程的简单开发,开发人员快速入门. 2、流程设计 2.1售前流程 2。2 采购流程 2.3 维保流程 2.4 故障处理流程 1.1 概述 主要是流程图,表单的设计以及流程图和表单关联的设计.以一个售前的流程例子介绍他们公用的部分的开发设计。

2.1。1售前流程图设计 由此页面进入“在线流程设计". 下面的页面就是OA系统提供编辑流程图的页面,可以把所需要的流程通过此工具画出来 在这里简单介绍下几个节点的作用 (1)开始节点开始:这是一个流程的起点,一个流程可以没有结束节点但是一定要有节点。 (2)任务节点:这是一个需要人参与的节点,需要人去提交数据。

(3)决策节点:这是一个特殊的节点,它不需要人参与,但是需要一些人定义的条件来决定其下一步条到哪一个分支。 (4)同步节点:这个节点是当2个分支需要同时执行时所用到的节点。(注:此节点通常和下面的合并节点成对使用,这样可以保证一个分支结束流程不会结束,等另外的分支都结束后流程才会结束) (5)合并节点:此节点是2个分支需要合并的时候的节点.其使用方法参照同步。 (6)此节点不是必须的,但是基本上都是需要这个节点的.他代表了一个流程的结束。 (7)流程节点的连接.当鼠标移到一个节点上时会有4个红点在四周,拖动一个红点到另一个节点的红点就可以连接2个节点。注意一个节点的到另一节点的线上的名字不能重复,因为流程引擎是通过流程线上的名字来跳转的,同样任何2个节点的名字也不能相同,否则会有冲突。流程就不能发布。 发布流程:再设计页面的右边会有一栏流程的详细信息如下图:

BPM工作流平台设计

工作流系统设计手册 一、引言 工作流管理是目前被业界广泛应用并迅速发展的技术,它的主要功能是使业务处理过程自动化,协调人和各种应用程序的工作。工作流管理系统(Workflow Management System,简称:WfMS)以企业业务过程为核心,结合了计算机支持协同工作以及企业信息系统的相关技术,立足于过程自动化,着眼于整体效率的提高。随着计算机软硬件技术的发展,特别是Internet 和Intranet的迅速普及,工作流管理系统的应用范围已不仅仅限于传统办公环境(如保险、银行、法律、行政管理等)和工业制造中,而且逐渐扩展到企业应用环境中。 1993年成立的工作流管理联盟(Workflow Management Coalition,简称:WfMC)给出了一系列工作流的规范。其主要概念有: 工作流 工作流是一类能够完全或者部分自动执行的经营过程,它根据一系列过程规则,文档信息或任务能够在不同的执行者之间传递与执行。 工作流是一种反映业务流程的计算机化的模型,实现经营过程集成与经营过程自动化而建立的可由工作流管理系统执行的业务模型。 工作流管理系统

它是一个软件系统,完成工作流的定义和管理,并按照在计算机中预先定义好的工作流逻辑推进工作流实例的执行。并监控其工作状态。工作流管理系统可称为企业的业务操作系统。(Business Operating System,简称:BOS) 工作流系统参考模型 有关工作流管理联盟更详细的规范请参见https://www.360docs.net/doc/164643691.html, 二、JU工作流管理系统 根据国际工作流管理联盟的标准模型,实现了过程定义工具、工作流执行服务(工作流机)、工作流管理工具以及工作流客户应用(人工动作)和供工作流执行服务(工作流机)直接调用的应用(自动化动作)。 人工动作必须与表单绑定。表单提供了人机交互的工作界面,而表单的后面是标准通用的关系型

系统分析与设计实验报告

鞋店进销存管理系统 一.项目背景 随着计算机技术的不断发展, 它已经成为人们工作和生活中不可缺少的工具。早在1954年,银行、大公司和大企业纷纷采用计算机进行账户和账目管理、生产管理、库存管理、销售管理、统计报表等。从数据的收集、存储、整理到检索统计,应用的范围日益扩大,使计算机的应用很快超过科学计算,成为最大的计算机应用领域。 鞋店管理的特点是信息处理量比较大,所存的鞋种类多,而且由于进货单、销售单、需求单等单据发行量特别大,关联信息多,查询和统计的方式各不相同等原因,因此在管理上实现起来有一定困难。在管理的过程中经常会出现信息的重复传递,单据报表种类繁多,各个部门管理规格不统一等问题。 在本系统的设计过程中,为了克服这些困难,满足计算机管理的需要,我们采取了下面的一些原则: 1、统一各种原始单据的格式,统一账目和报表的格式。 2、删除不必要的管理冗余,实现管理规范化、科学化。 3、程序代码标准化,软件统一化,确保软件的可维护性和实用性。 4、界面尽量简单化,做到实用,方便,尽量满足书店中不同层次员工 的需要。 二.定义 “鞋店进销存管理系统”为用户提供添加、修改、查询、退货操作等服务。用户在登陆界面输入用户名,密码后系统核对正确进入系统内部。系统就要求用户选择事务类型(添加、修改、查询、退货等),直至用户选择退出应用服务,询问用户是否退出应用服务,如果用户选择结束,系统重回登陆界面。用户进入添加界面后,首先可以输入的数字必须大于等于100),否则系统显示输入有误。用户点击确认后,由系统查询,判断该取值是否超出库存量,如果没有,则系统会显示确认界面,用户单点击“确认”后,系统自动生成账单,并在后台进行工作,系统进行清

Workflow Design 工作流设计

Toward Workflow Block Activity Patterns for Reuse in Workflow Design Lucinéia Heloisa Thom and Cirano Iochpe Federal University of Rio Grande do Sul, Brazil; Vinícius Amaral and Daniel Viero, iProcess, Brazil 1.I NTRODUCTION Research on both business process modeling and implementation issues re-lated to workflow technology have quickly increased over the last years. The most significant initiatives are in the field of standardization [1], [2], [4], specification [5] and workflow definition languages [6], [7], [3]. However, since it is a relatively new and still evolving technology, workflow design pre-sents some challenges, especially with respect to techniques that can en-force correctness as well as efficiency during both the requirements analysis and the modeling phase of the workflow project. Within this context, research on workflow patterns has attracted increasing attention mainly because of the advantages of reusing patterns [8], [9]. The most extensively studied are in the field of control/data flow patterns [10], [11] as well as resource and application–oriented patterns (12). Such pat-terns are being used not only in business/workflow process modeling but also in critical evaluations of workflow languages and workflow tools (13). However, a lot less research can be found relating workflow design to a set of recurrent business process “pieces” or “parts” that must be atomically exe-cuted by the workflow process (e.g., an activity request execution and a noti-fication activity). Although one can precisely characterize the semantics of such business process “pieces” [14], [15], [16] and they have to be recur-rently re-designed in practically every workflow modeling process, there is no known research relating these business process structures to workflow pat-terns. 1.1 Approach Our approach applies the concept of block activity to well-known business processes. An activity set is a self-contained set of activities and transitions [7]. Transitions in the set should refer only to activities in the same set and there should be no transitions into or out of the set. Activity sets can be modeled as block activities. The block execution starts at the first activity in the set and executes the next activities by following the partial order im-posed upon them by the transitions until an exit activity is reached. Work-flow execution then returns to the next activity following the block. In this paper, we apply the block activity concept in order to represent a set of business (sub-)process types (e.g., logistic, financial, information and de-cision) that we call “workflow block activity patterns”. These patterns are re-lated to a set of specific atomic structures that are frequently found in busi-ness processes and have already been identified in the literature [14], [15],

工作流分析及设计

工作流系统需求分析及设计 业务过程描述: 工作流是一种反映业务流程的计算机化的、实现经营过程集成与经营过程自动化而建立的可由工作流管理系统执行的业务模型。工作流起源于生产组织和办公自动化领域,其目的是将现有工作分解,按照一定的规则和过程来执行并监控,提高效率,降低成本。 下图是用户使用工作流系统的业务过程:

业务模型描述:

系统组成: 工作流管理系统由客户端、流程定制工具、流程监控与管理和工作流运行服务四个部分组成,下图是系统构件图: 系统功能划分: 工作流管理系统是指运行在一个或多个工作流引擎的软件上用于定义、实现和管理工作流运行的一套软件,从用户建模的过程来看在建立阶段功能主要是工作流过程和相关活动的定义和建模,在运行阶段包括运行流程的监控、管理以及执行过程中的人机交互等。 工作流管理系统由流程定制工具、流程监控与管理、工作流运行服务和客户端交互四个部分组成,整个系统的使用者可以分为四种:系统管理员、流程设计人员、流程管理人员、普通用户。 下图是整个工作流管理系统的顶层用例:

第一部分流程定制工具 本部分主要完成企业信息流中业务过程的图形化建模,定制工具提供丰富的图形化元素、简单易懂的建模方法以及完善的模型管理方式。 流程定制用例图:

打开流程模型 参与者:流程设计者。 前置条件:流程定制工具已经打开。 后置条件:被选择的流程模型中的内容被展开。 步骤序列: 1.打开流程模型列表或新建流程模型文件。 2.选择流程模型文件名称。 3.展开流程模型中的设计内容。 保存流程模型 参与者:流程设计者。 前置条件:某个流程模型已经被打开,并且被修改。 后置条件:修改过的流程模型存到了物理文件中。 步骤序列: 1.保存流程模型到物理文件中。 删除流程模型 参与者:流程设计者。 前置条件:拥有可被删除的流程模型。 后置条件:选中的流程模型被删除。 步骤序列: 1.用户打开流程模型列表。 2.用户选择想要删除的流程模型。 3.系统删除选中的流程模型。 导入导出流程模型 参与者:流程设计者。 前置条件:拥有可被导入的文件或导出的流程模型。 后置条件:流程模型被导出成文件或模型文件被导入到设计系统成为流程模型。 步骤序列: 1.用户打开可被导入文件列表或设计工具中的流程模型列表。 2.用户选择将被导入的流程文件或选择将被导出的流程模型。 3.系统把导入文件生成流程模型或把导出流程模型生成流程文件。 流程发布 参与者:流程设计者。 前置条件:拥有设计完成并可供发布的流程模型。 后置条件:流程模型被发布并可通过客户工具执行。 步骤序列: 1.用户打开流程模型列表。 2.用户选择发布的包或流程。 3.用户选择发布的运行服务器。 4.用户形成发布版本。

项目申报管理系统详细设计

文档编号: PRMS-2 版本号: V1.0 文档名称:详细设计说明书 项目名称:项目申报管理系统 项目负责人:董艳,苏丽,李瑞卿 编写:董艳 2009年11月10日 校对:董艳,苏丽,李瑞卿 2009年11月10日 审核:董艳,苏丽,李瑞卿2009年11月10日 批准:董艳,苏丽,李瑞卿2009年11月10日 开发单位:西北农林科技大学信息工程学院信管062班

详细设计说明书

1.引言 1.1编写目的 根据从该阶段开发正式进入软件的实际开发阶段,本阶段完成系统的大致设计并明确系统的数据结构与软件结构。在软件设计阶段主要是把一个软件需求转化为软件表示的过程,这种表示只是描绘出软件的总的概貌。本概要设计说明书的目的就是进一步细化软件设计阶段得出的软件总体概貌,把它加工成在程序细节上非常接近于源程序的软件表示。 该文档供系统开发人员使用,为进一步设计软件、编写代码打下基础。 1.2项目背景 在计算机日益普及的今天,科技高速发展,国家对科技项目的研究也越来越重视,每年都有很多项目要上报国家或政府,纸制的项目申报报告的审批浪费了大量的人力、物力、财力等资源。 为了适应社会的需求,使市级重点建设项目月报信息统计工作更加科学、规范、高效、简便,我们小组打算开发“项目申报管理系统”。本系统是为方便重点建设项目业主单位报送项目月报,增强申报部门与项目单位间的信息沟通与反馈,了解项目的建设进度及存在问题,协调解决项目建设中存在的前期工作、资金筹措、征地拆迁、建设施工等问题而开发的应用软件管理系统。 根据2009年重点项目申报工作的需要,由西北农林科技大学信息工程学院信管提出开发一套为重点项目申报工作服务的应用系统。 1.3定义 项目申报管理系统是指应用电子计算机和相关网络支持,为申报项目的相关人愿提供数据信息管理系统,从而优化项目申报,减少项目申报周期,提高工作质量。 文档中采用的专门术语的定义及缩略词简要如下: PRMS:Project Report Management System,项目申报管理系统。 1.4参考资料 [1]教学提供详细设计模板 [2]杨选辉《信息系统分析与设计》北京:清华大学出版社,2007。 [3]王珊,萨师宣。《数据库原理与应用》。北京:高等教育出版社,2003。 [4]耿祥义张跃平。《JSP实用教程》北京:清华大学出版社,2007。

景观设计工作流程

景观设计工作流程 项目前期 一、设计委托阶段 1.客户与公司达成初步设计意向,设计总监接受任务,收集项目背景资料并分析设计任务。 2.向甲方提供项目建议书(公司简介、案例展示,项目建议)。 3.促成甲方项目设计委托,达成委托意向。 4.确认项目主设计师 二、项目准备性分析(实地调研、收集资料,含影像资料、市场分析、项目定位) 1.基地现状分析 2.景观资源分析 3.交通区域分析 4.当地历史、人文景观分析 5.规划与建筑设计理念分析 6.项目市场定位分析 7.设计条件及客户要求的合理性分析 三、与客户进行第一次沟通,了解项目概况阶段 1.建设规模 2.投资规模 3.技术经济指标 4.设计周期 5.可持续发展 6.收集项目“红线图”,确认项目面积 7.提炼整理甲方的要求,植物品种和功能设施上的要求等 四、确定项目设计小组及人员分工,提供项目工作时间安排表(附合同后) 五、客户与公司签订设计合同,并支付设计费用的定金 概念方案阶段 六、概念设计阶段 1.从分析与定位得出概念主题 2.对客户项目进行投资经济分析 3.景观设计风格的确定 4.详细的设计分析过程 5.彩色总平面图及设计说明书 6.设计内容示意图 7.提供项目设计比较方案 8.选定方案硬质景观主材和软质景观苗木 9.商务着手整理收集项目资料

七、与客户进行第二次沟通(概念性方案的沟通,确定设计的整体方案) 1.方案PPT演示讲解 2.提供甲方投资经济分析建议,与甲方确定明确的投资强度 3.明确项目设计面积 4.设计师详细记录甲方提出的要求和意见 5.商务进行会议记录,并整理成为会议纪要,由主设计师修改签字认可后,次日发送给相关项目人员 6.提交设计成果并确认,商务协调项目合同履约情况 方案阶段 八、方案设计阶段 1.对甲方提出的方案意见及建议进行修改完善,并深化 2.据草图绘制彩色总平面图(注明各功能空间及景点名称,并标注剖面位置) 3.彩色鸟瞰图 4.景观区示意图,并附文字说明 5.总体景观设计分析图: (1)硬质景观平面 (2)软质景观(水景、灌木、草皮)平面图 (3)主干乔木配置图 (4)交通流线及消防分析图 (5)运动、活动(老人、儿童)场地、泳池及健身动线分析图 (6)轴线及景观焦点 6.主要景点的立剖面图以及整个地块的纵断面和横断面图 7.画出重要景点的透视效果图 8.设计说明:基地概况、设计内容、设计原则、景观分析【景观设计轴线及焦点景观、视觉走廊、动线系统(人车分流、消防通道处理)、景观设计分区】 9.采购部门提供方案硬质景观选定的主材列表、本地属性、表现情况及价格 苗木基地提供方案软质景观选定的苗木列表、本地属性、表现情况及价格 10.设计部门提供小品、活动区域及构筑等立面参考建议图片及估价 11.设计部门综合硬软景造价及可调控的小品、活动区域及构筑等立面造价形成方案基础设计造价 九、与客户进行第三次沟通 1.方案PPT演示讲解 2.确认硬软景主材苗木的选定 3.提供给甲方方案基础设计造价,为平衡实现景观表现效果,针对小品、活动区域及构筑立面等部分与甲方进行确认,实现项目造价成本控制。 4.明确项目设计面积 5.商务进行会议记录,并整理成为会议纪要,由主设计师修改签字认可后,次日发送给相关项目人员 6. 提交设计成果并确认,商务协调项目合同履约情况

简易工作流设计模型

简易工作流设计模型 一、工作流简介 (2) 二、工作流设计思路 (2) (一)工作流整体结构图 (2) 1.业务说明 (2) 2.工作流整体结构图 (2) (二)流程分类和流程实例设计 (3) 1.业务说明 (3) 2.界面设计 (4) 3.后台表-流程分类表 (4) 4.后台表-流程模板表 (5) 5.备注说明 (5) (三)自定义流程表单设计 (5) 1.业务说明 (5) 2.界面设计 (6) 3.后台表-模板表字段表 (6) 4.备注说明 (7) (四)流程步骤定义 (7) 1.业务说明 (7) 2.界面设计 (7) 3.后台表 (8) 4.后台表关系 (8) 5.备注说明 (8) (五)流程实例发起 (9) 1.业务说明 (9) 2.界面设计 (9) 3.后台表 (10) 三、结语 (11)

一、工作流简介 工作流是指一类能够完全自动执行的经营过程,根据一系列过程规则,将文档、信息或任务在不同的执行者之间进行传递与执行。 二、工作流设计思路 (一)工作流整体结构图 1.业务说明 整个工作流后台结构设计图,包含表单设计、流程设置、流程实例发起三个主要部分的后台表结构设计。 2.工作流整体结构图 见下

(二)流程分类和流程实例设计 1.业务说明 建立流程时候,需要先将流程进行分类,便于权限控制和梳理流程的层级关系;另外每个流程实例的数据,需要保存在流程实例表中进行区分(不同的流程实例对应的数据结构不一样,每条流程实例的实例数据也不一样)

2.界面设计 3.后台表-流程分类表 select * from xSYS_TableDefs where xHolderGUID='{00000000-0000-0000-0000-000000000000}'

毕业设计论文设计_工作流

目录 摘要 (2) 前言 (4) 1、绪论 (4) 1.1研究目的和意义 (4) 1.2课题研究现状 (5) 1.3主要研究工作 (6) 1.4本文的组织安排 (6) 2、工作流技术概述 (7) 2.1工作流的相关概念 (7) 2.2工作流技术的发展与产品 (8) 2.3工作流管理系统 (9) 2.3.1工作流管理系统的功能 (9) 2.3.2工作流管理系统的体系结构 (10) 2.4工作流参考模型 (14) 2.5小结 (15) 3轻量级工作流管理系统的设计与实现 (15) 3.1轻量级工作流管理系统概念 (15) 3.1.1传统工作流管理系统 (15) 3.1.2轻量级工作流管理系统 (15) 3.2系统概述 (15) 3.2.1 匿名用户角色 (16) 3.2.2职员角色部分 (16) 3.2.3管理员角色功能部分 (16) 3.3系统预览 (16) 3.4系统特点 (18) 3.5系统需求分析 (18) 3.5.1可登陆用户的基本功能 (18) 3.5.2公司职员具有的功能 (18) 3.5.3系统管理员具有的功能 (19) 3.6系统基本框架 (19) 3.6.1功能上划分 (19) 3.6.2角色上划分 (19) 3.6数据库的设计 (22) 3.6.1数据库需求分析 (22) 3.6.2数据库概念结构设计 (22) 3.6.3数据库逻辑结构设计 (27) 3.7模型(Model)层的设计(部分) (28) 3.7.1用户模型类(T_User.cs) (28)

3.7.2工作流模型类(T_workflow.cs) (31) 3.8业务逻辑层设计(部分类) (32) 3.8.1数据库帮助类(SQLHelper.cs)(部分) (32) 3.8.2用户操作类(T_User.cs) (40) 3.9界面层的设计(部分) (44) 3.9.1配置web.config文件 (44) 3.9.2用户登陆 (45) 3.9.3工作流管理 (48) 4、结束语 (49) 致 (50) 参考文献 (50)

原型设计及工作流实现总结

关于双鸭山市煤炭局信息化子系统原型设计及工作流实现总结 在近一个月的工作时间里,主要针对双鸭山市煤炭局信息化子系统进行了基本模块的概要需求分析,其中针对建设项目管理和生产技术管理模块进行了具体的需求分析并实现了此两个模块的原型。对详细需求分析的过程了解到实现建设项目及其它各种审批使用工作流实现较符合。对于工作流的使用进行了两方面的接触,一方面是使用.NET中的Workflow Foundation(简称WF)进行自行开发,另一方面是使用现在市场上已经成行的工作流配置产品。 使用WF实现工作流主要用到了三个类库System.Workflow.Runtime; System.Workflow.Activities; System.Workflow.Activities.Rules。其中System.Workflow.Runtime包含的类和接口用于控制工作流运行时引擎和工作流实例的执行。System.Workflow.Activities定义一些活动,可将这些活动添加到工作流,以便创建并运行工作过程的可执行表示形式。程序员也可以实现自定义的活动。System.Workflow.Activities.Rules中的类定义了组成规则的条件和操作。.Net FrameWork提供工作流持久化服务,对SQL数据库的持久化提供了完全的支持与实现,对于其它类型的数据库在完成持久化服务的时候要由程序员编程继承WorkflowPersistenceService 类来实现。 在使用WF进行编程时可分为业务逻辑实现、具体数据库访问、自定义活动三个部分,程序员在进行实现时无须对三个部分全部熟悉,只要针对具体的部分熟悉其它部分了解即可。比如对工作流的流程熟悉的程序员可以实现业务逻辑部分,这部分主要是根据用户的业务流进行绘制工作流,对工作流各活动进行配置相应的参数的关联即可。目前对于在VS开发过程中如何配置工作流的操作基本可以完成,但如何把VS中工作流制作模块移植到B/S页面中还未操作过。

工作流系统技术可行性分析v1.1

关于工作流系统技术选型可行性分析 1系统背景 医院的运作过程本质上是人、财、物等资源的优化和配置,形式上无一不体现为信息流、资金流、物流、价值流等合理的流动;随着医院不同科室、部门分工的日益具体化,合作已成为主题,合作的体现形式必然是一个完整而高效的工作流程;有管理的医院的活动过程必然是有序的,这种有序性体现为合理的工作流程。因而工作流(workflow)无处不在。 2系统建设目标 1)隔离workflow系统的控制逻辑和医院业务系统的业务逻辑,使得业务逻辑 的变更对于控制逻辑透明。 2)利用该引擎开发的业务信息系统可以根据具体业务需求量身定制个性化的 业务流程,而不用修改控制逻辑,甚至无需修改源代码。 3)业务人员、开发人员、实施人员可以共同参与流程制定、流程、节点维护 4)提供灵活、丰富的标准开发接口,使得开发人员能采用自己习惯的开发工 具在该平台上定制和扩充模块。 5)采用多层分布式组件技术,力求技术先进性和应用的健壮性。 6)工作流自动化和医院应用积木化。 3工作流技术选型方案 3.1 技术选型目标 1)较好的流程定义工具。 2)工作流技术架构与业务系统之间解耦性较强。

3)工作流系统定位为嵌入式系统,并进行嵌入式部署。 4)业务人员、开发人员、部署实施人员均可参与对流程定义做可视化管理 5)业务人员、开发人员、部署实施人员均可参与流程走向做可视化管理。 6)可从容应对较常使用的工作流场景 7)架构开源程度——100% 8)开源社区活跃度较高 9)架构文档较为齐全 10)监控、管理功能支持 11)有较好其他工作流引擎整合方案 3.2 开源工作流选型 当前开源工作流种类繁多,现对目前国内较活跃的三种工作流(jBPM4,jBPM5,Activiti5)做简要介绍与分析,供参考: 3.2.1jBPM4 3.2.1.1架构简介 jBPM4 全称java Businuess Process Management 第四版(最后一个修订版本jBPM4.4发布于2010-07-19 ),是一种基于javaEE 的轻量级工作流管理软件包。jBPM 项目由Tom Baeyens 2002年发起,并与2004加入到JBoss组织,至今jBPM 发展至今有九年时间,在国内外均有大量的社区与商业支持。jBPM3、jBPM4拥有极度活跃的用户论坛和开发者论坛。

工作流程总结——前期规划设计阶段

项目组工作流程总结 ——项目前期规划设计阶段 前期服务(产品设计阶段)容易遇到的问题: ?设计院做了很多工作并出现疲乏状态,但还是达不到发展商 满意的程度; ?国商与设计院的沟通存在阻碍,导致工作推进困难,进展缓 慢; ?发展商、国商、设计院三方关系微妙。 主要体现在发展商、国商、设计单位三方工作流程的错乱甚至是角色的颠倒,最经常发生的是国商既做“运动员”又做“裁判员”: 在设计院面前是“二发展商”角色,设计院觉得国商从中作梗,经常使户型面积、户型配比改来改去; 在发展商面前是“备用设计院”角色,出方案给设计院开拓思路、参考。 总结其原因主要是:工作流程上的缺失或混乱;工作过程中制度管理未做足。 一、工作团队对接形式 工作团队:发展商、国商、设计单位

? 发展商:负责整体工作统筹; ? 国商:作为专业的营销公司(项目营销推广),项目前期规划设 计阶段主要负责产品定位,同时配合发展商进行决策; 直接对接发展商,国商原则上不负责与设计单位直接对接,但可 以根据实际工作需要参与工作讨论,并提出建议 ? 设计单位:负责规划设计及产品设计;直接对接发展商。 二、 各单位工作分工

(一)产品定位及户型配比确定阶段 1、责任单位:国商(主要工作单位)/发展商 2、国商重点工作: 基于如下几点: (1)确立政策和规范的限制; (2)市场竞争是基础; (3)以客户为出发点确定项目整体定位和客户定位是最关键的问题。 推导出项目的产品定位及户型配比建议。 3、发展商重点工作: 最终决策者,确定产品的户型配比 4、此阶段工作的意义: 主要为后续工作做准备和铺垫。产品定位和户型配比确定后,后续的产品更改可控制在较小的范围内进行,可大大减小设计院的工作量。 (二)总体规划布局设计阶段 1、责任单位:设计单位(主要工作单位)/发展商/国商 2、国商职责: (1)不断挖掘项目地块的资源并对其价值进行分析; (2)建议不同产品的分布。

工作流图形设计器详细设计说明

工作流平台——工作流设计器 详细设计说明 1 引言 1.1 编写目的 为符合软件需求并对本软件系统各功能模块进行说明,以便编程人员进行程序的编制设计,同时贯彻需求报告中所确定的通用性、完整性、可靠性及可维护性原则,做到结构合理、方便、快捷、规范开发人员的工作,特编制本详细设计说明书。 适用对象: 软件开发者(Supplicrs),以便准确地理解客户需要什么样的产品和各功能模块的具体设计和编制。 1.2 背景 在企业日常经营管理活动中,为适应市场快速变化的需要,企业要经常调整自己的管理流程,这就是我们经常提到的流程重组。通常的流程重组只是将现有的业务处理次序进行改变或改变具体的执行角色或减少不必要的环节,因此,这就要求开发的计算机管理系统业务功能没有增加的情况下能根据需要随时调整处理流程。将工作流技术与业务系统结合可以很好的解决以上的问题,这也是工作流技术的应用越来越多的主要原因。 WfMC(工作流管理联盟)给出的工作流概念为:工作流是一类能够完全或者部分自动执行的经营过程,它根据一系列过程规则、文档、信息或任务能够在不同的执行者之间进行传递与执行。事实上,工作流技术就是业务流程的计算机化或自动化,它将过程逻辑从业务逻辑中分离出来,由工作流引擎专门完成对过程逻辑的计算,从而使开发人员将主要精力集中在业务逻辑的处理上。 工作流程设计器是工作流平台的一部分,它提供用户对自己的流程进行定义的功能。 系统名称:工作流程设计器(HTCS——WorkFlowDesigner)

1.3 参考资料 《workflow.mdl》作者: 《工作流管理联盟工作流标准》4Broad 译(V1.0) 2系统结构 2.1 功能概述 工作流程设计器是工作流平台中不可或缺的一部分。工作流程设计器以图形的方式为建模人员提供了一个方便的工作流程建模环境。 2.2 系统效果图 图2.0 系统效果图 2.3 系统结构图 详见workflow.mdl

工作流数据库设计

工作流设计参考(包括PHP实现) 本文关键词:php工作流,workflow 工作流设计的工作流很少有让人满意的,即便是国内用的比较多的jbpm,用起来也会觉得很便扭。再加上PHP中没有什么好用的工作流,于是干脆自己设计一个,设计的原则如下: 1 根据80/20原则,只使用wfmc模型中最符合自身应用的20%功能 2 充分吸收国内使用jbpm开发BOSS中遇到的问题,工作流引擎只负责参数的收集和流程的流转,具体和业务的控制,交给每个流程定制的控制类去实现。 3 表单采用简单的html+控制标签的方法实现 4 权限和模板引擎,以及其它辅助函数直接使用办公系统自带的框架 5 充分利用PHP语言的特点,流程设计是基于数据库的,程序上使用OO设计,但采用重对象的方法 6 不把可视化设计流程的工作交给最终客户,而且由设计时完成,因此不考虑流程版本更新的问题 一、工作流数据表设计

二、常见流程人工决策 领导传阅 部门领导审批填写表单

结束 放弃 提交 同意 重填(退回) 不同意 完成 外部响应 发送支付信息 接收支付成功响应(外部WS触发该流程) 三、PHP设计 运行的函数由结点在设计时候决定,如果没有设定,就使用默认的函数。利用了PHP语言的以下特性

使用前可以用method_exists来检查。 WorkflowService.php WorkflowService $defination $process $node $thread $input 用户输入的和流程有关的变量 list_defination(){ } init_process(defination_id){ global user; 取得$defination,得到业务的handler,例如WorkflowProposalHandler 建立$process行记录 } start_process(){ 调用WorkflowProposalHandler->start($process)//新建业务对象,并把业务类的参数例如proposal_id放到$process[‘context’]里面 init_thread(1); //默认调用第一个结点 } list_ my_thread (){ global user; } init_thread(node_index){ 取得$node 取得$process 修改$process为运行到当前结点 Switch($node[‘node_type’]) Case 1: 人工决策 建立$thread WorkflowProposalHandler-> init_function ($process,$node,$thread) 发送提醒 Case 2: 自动处理 建立$thread WorkflowProposalHandler-> init_function ($process,$node,$thread) 调用run_thread(thread_id) Case 3: 等待外部响应 建立$thread WorkflowProposalHandler-> init_function ($process,$node,$thread) Case 4: 分支 取得所有分支的子结点

工作流设计说明

寿险业务信息系统5.0 工作流设计说明 2004-08-04 流水号:20040804

目录 问题反馈 (3) 序言 (4) 1.基本概念 (5) 1.1什么是工作流(WorkFlow) (5) 1.2什么是过程定义(Process Define) (5) 1.3活动(Activity) (5) 1.4转移信息(Transition) (5) 1.5 角色(Role) (5) 1.6 状态 (6) 1.7 操作 (6) 1.8 任务 (6) 1.9 复制活动 (6) 2.基本模型 (7) 2.1 过程元模型 (7) 2.2 工作流执行基本模型1(链锁式) (7) 2.3工作流执行基本模型2(子过程嵌套) (7) 2.4工作流执行基本模型3 (8) 2.5 工作流执行基本模型4 (9) 2.6 工作流执行过程典型模型1 (9) 2.6 工作流执行过程典型模型2 (10) 2.7 工作流执行过程典型模型3 (10) 2.8 活动中的条件转移模型 (11) 2.9 活动中的复制活动模型 (11) 2.10 活动类型 (12) 3.数据库结构设计 (13) 3.1工作流模板活动表 (13) 3.2工作流模板过程实例表 (13) 3.3工作流过程表 (13) 3.3工作流任务轨迹表 (14) 3.3活动的具体字段映射表 (14) 3.4工作流任务轨迹备份表 (14) 3.5工作流应用锁表 (15) 4.保全核保流程设计 (16) 4.1保全核保流程设计 (16) 4.2保全核保工作流定义 (17) 6.保监会报表系统流程 (18) 6.1保监会报表系统流程设计 (18) 6.2保监会报表系统工作流定义 (19)

相关文档
最新文档