| With the development of market economy, market competition is increasinglyintense, enterprise’s physical location gradually dispersed, collaboration betweendifferent departments is increasingly frequent, the decision-making process of thedispersion is increasingly apparent also, enterprise of daily business informationdemand are increasing. Enterprise requires rapid process restructuring, business processchange and corresponding requirements information system quickly recombination.While the workflow as an important mode of application, in the various sectors of thedifferent areas of the information system, plays a more and more important role, and fora process driven solution is gradually accepted by customers. Workflow has attractedthe attention of many researchers, developers and users, and they pay attention to thiskind of software and system technology. It is one of the main research content ofenterprise management, and it is a advanced means for the enterprise to achievebusiness objectives.In this thesis, the workflow technology, the workflow management system andrelated concepts, terms are introduced, then the article presented how to design andimplement the lightweight workflow engine based on XPDL. XPDL is proposed byWFMC and use the XML file to present a workflow specification, and allow differentworkflow software exchange business process definition with it. According to theXPDL standard, this thesis design the process definition in different layers, such asprocess package definition, process definition, activity definition, participant andtransitions, and can set flow events of different level. The system provides the processmodeling, implement, publish and actual business workflow work. This thesis designseveral key instances of work flow object, and describes the process of theimplementation process, can realize the whole business process execution, realizesbooting process, work task submit, work task withdraw, special delivery and copyfunctions.In addition this thesis describes the design of the workflow engine system usingJTA for transaction unified control, can ensure the uniform data submission, unified rollback, avoiding the submission process generates invalid data.In the end of this thesis, present the lightweight system flow design andimplementation in the example of simple leave application process. It’s simple, usefuland flexible, can meet the requirements of office automation and manufacturingbusiness needs. |