The general workflow management system consists of three parts: a workflow engine, a process management tool, a process definition tool (including diagram-forming modeling tool) and client. The focus of development is the process definition tool, and the workflow engine can consider using others' products. Each component includes its own data system, interface and performance form. It is best to develop a graphic interaction interface. The workflow of the entire system is as follows: Workflow Timming Tools Establish Model -> Process Definition Tool Definitions the established model -> Automatically store the established model into the database or automatically generate XPDL files -> The workflow engine from the database or XPDL file call Workflow Definition -> Perform Workflow -> Returns the execution related data.
Basic development strategy: 1. Understand the basic concept of workflow, more concepts involved in workflow technology, are not easy to understand. 2. Take the navigation problem of the process as the core. 3. Comply with certain standards during the development process, such as the interface of WFMC 1
Workflow engine part of the workflow engine basic function 1. Interpretation process definition 2, control process instance - creation, activation, hang, termination, etc. 3, the process of active navigation, may include order or parallel operation, last time limit, Interpretation of workflow related data 4, participant signature and exit 5, determine task items, implement user intent; provide interface, support user interaction 6, maintain workflow control data and workflow related data, in application room or user Pass workflow related data 7, provide interfaces that call external programs, connect all workflow related data 8, provide control, management, and review functions
Workflow engine part, you can develop it yourself, you can also consider the use of other companies' products, but must guarantee the above basic functions.
Process Manager Process Manager should at least contain two parts: management section and monitoring part management section: Provide perfect user management, role management, system settings, system security management, configuration file management, and log management, user's operational rights distribution As follows: Taking the department, user group, the role is described, respectively, based on department, user group, role, and user respectively, to achieve maximum flexibility.
Monitoring section: Mainly implement the monitoring of workflows, allowing managers to track and control the status of role, activity, nodes, process instances and paths flowing through the process instance; the path that can be reproduced in a graphic process instance You can display the ongoing process instance, and provide management mechanisms, allowing the monitor to terminate or suspend certain process instances if necessary. At the same time, the system also provides statistical data and reports, dynamic change process of the work process, coordinating the relationship between various parts, and then enhances the efficiency of business management. Load balancing improves workflow work efficiency.
Process Definition Tool This section is the focus of development, the process definition tool section includes: process modeling section, XPDL automatic generation part, interface design sections, report design, and automatic partial and design model simulation parts. 1) Process Modeling uses graphical approach to allow developers to design or modify corporate workflows with minimal time, modeling tools provide considerable process logic expressions, which can represent very complex processes, and The interface design section, the report design part combines the function of each process step to perform, and the organism modeling tool is combined to easily accurately select the participants performed by each activity. The biggest advantage of Process Designer is that the developer avoids complex and time-consuming process program development processes during design and simulation processes. Basic features are as follows: 1) Tiantian dragging mode establishes a workflow model 2) Humanized various options Set 3) User interface of multi-window 4) Rich process graphic elements 5) Process elements copy, paste, delete operation 6 ) Support simultaneously open multiple model files for editing 7) Fast positioning process elements 8) Support graphic hierarchy 9) Model file unified storage, security management 10) rich and diverse activity types can accommodate different business processing requirements 11) Support Multiple Process Logical Relations 12) Support Substrate Design 13) Support User Custom Type Data 14) Participants in Workflow Process Support Various Expression 15) Support Built Block Design 16) Settings Workflow Time Limits 17) Support Workflow Permission Management 18) The legality of the model 19) Graphic output of the model file 2) XPDL Auto Generating Sections This part is to automatically transform graphical process model logic that has been defined into XPDL documents or other universal forms The physical form of workflow logic: 1. Adoption of databases to store logic 2. Saving logic in file format using WPDL or XPDL: Generally speaking, use databases to store better internal operability, and file format is more It is conducive to the unity of the system's package and the external interface. After the database logic is logically, the file format is made, first exists in the database, then generate a standard file from the database, as a standard interface, so it is convenient (Or directly generate standard XML files directly)
Key points for workflow flow logic implementations: (1) Implementation of logic (3) conditions for interface methods (2) should have
3) Form Designer This section provides a graphical application development tool similar to page design. Users can use graphical design methods to develop dynamic page applications, which can be saved as HTML or JSP, and have databases Accessibility. Runtime users will access the design results from the browser. Its biggest advantage is that developers avoid the development process of applications in activities 4) Report Design and Automatic Generation Section (Report Designer) It provides the ability to graphically design complex statements, which can design very complex reports, And you can draw a variety of statistical analysis, you can use multiple forms of output. 5) The process model simulation section simulates and tests the defined model
The client performs various operations such as approval, implementing the specific flow of the process.
Process flow mode: approval, suggestions, knowledge, decision, execution
Approval: Adoption or pass, you can give recommendations: give relevant recommended recommendations: process notification events, do not affect the flow of processes, can notify the flow of the literati process by knowing: You can continue the process Or terminate to a certain step, the process has a redirected function: can have the permissions of approval within a certain period of time, exceeding the specified time can be executed in accordance with the manner that has been specified, forming a person who can be derived or designated group You can view the workflow process circulation report