K2 project development process

Source: Internet
Author: User

(Your learning materials)

K2 project development process:

1. design the process in vs2013 and test the process in K2 workspce.

First, create a new K2 process file .. Kprx suffix.

Create the required process. Since I am a beginner, the approver points to himself when creating a workflow, which is easy to implement.

The approver can direct to a specific person or database based on the person in the database.

After the workflow is created. Open the Workflow Server in K2 workspace. There are some existing workflows. Click it to find the selected instances node and click Start to test the workflow.

Start and click worklist at the bottom of the home page of K2 workspace to view the current workflow and perform operations.

When the workflow is confirmed to be correct, the server that publishes the process.

2. design process forms and Data Tables

It is important to create a table in the database. Pay attention to the settings of the primary and Foreign keys. For our current projects, you need to add Foreign keys in the acttchments and audituistories tables.

3. Generate a data model

After the data table is designed, open the project and use the data model generation Wizard to update or mapping.

Select the table to be updated to the data model and click Finish. After finishing, note that the names of the preceding acttchments and audituistories must match.

In the current project, it is recommended that workflowrtype. CS be backed up before the code is regenerated.

4. Develop business logical

5. Develop Web forms and test the process

6. Develop the WCF Service

7. Develop Smart Object

8. Configure the Smart Object Method to the process node: approver, email content, and smart object event execution

9. re-release the process for testing

Updating...

K2 project development process

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.