(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