DIY a set of custom workflows by yourself (source code package)

Source: Internet
Author: User

The components and modules in this package are the basic design modules of a DIY custom workflow (including one of multiple methods for implementing a custom workflow)

User-oriented custom workflow designer code packages are developed by third parties. friends familiar with flex and JS can use these modules to customize an End-User Designer.

After the process designer is implemented, you need to resolve the XML file generated by the designer to the database. For this process, see the documentation of the jwfd open-source workflow, at the same time, the jwfd open-source workflow development kit also contains code to implement such features. For details, refer to the jwfdv0.96.3 secondary development kit.

After the workflow diagram has been stored in the process database, you need to call the SQL operation module of the jwfd database, and then use the arc-process automatic operation controller to run a process, for more information, see jwfdv0.96 Secondary Development of Open-Source Workflow System and Simple API description.

A custom workflow includes the following key steps. If you implement these steps, you can easily implement your custom workflow.

1. Provide a process designer that does not depend on any development platform (such as Eclipse), and the XML files generated by the process designer can be stored on the disk.

2: You need a parsing tool that parses XML files generated by the designer to the background database, for the database structure, refer to the database structure description of the jwfdv0.96 workflow engine (the compressed package contains the database definition SQL file of jwfdv0.96, which can be modified by yourself and supports MySQL databases)

3: refer to more than 50 SQL functions defined in jwfdv0.96 Secondary Development of Open-Source Workflow System and Simple API instructions to control and operate process data stored in the database, call or reopen a set of SQL statements for your product

4: Based on implementing all the SQL statement functions of the flow, refer to jwfdv0.96 workflow engine design-Automatic Operation controller structure description, implement a simple Automatic Operation Controller for the process called by end users. After the programmer completes the work, in the subsequent work, it is not necessary to re-compile the code because the process is newly added or modified.

5. Optimize the code and module or perform secondary development according to your needs ......

Note: All modules and codes I provide need to be modified manually, it's not a simple project that combines a complete workflow system without writing any code or having to worry about it .... To implement a Web-based custom workflow, you need to use the JS or flex Designer module. If you only need a C/S-based custom workflow, you can directly use

Jwfd v0.96 Development Kit, perform secondary development in eclipse, and then package jwfd to generate an executable JAR file. After installing the MySQL database on your machine, you can use it directly .... To develop user-defined forms and clients, you can use other open-source OA systems to modify them .. I am not involved in this job.

Send me an email or an iteye information comsci@163.com if you have any questions

Http://files.cnblogs.com/comsci/DIY%E8%87%AA%E5% AE %9A%E4%B9%89%E5%B7%A5%E4%BD%9C%E6%B5%81%E8%B5%84%E6%BA%90%E5%8C%85.rar

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.