In this paper, the state machine workflow is briefly introduced, and the state machine workflow provides a series of States. The workflow starts at the initial state and ends at the end state. Define behavior between two states to transition. Typically, the state machine workflow reacts to events, and the occurrence of the event causes the state to change.
1, new project, select SharePoint Solution, create empty project:
2, select the Debug site, deployment as a field solution, the following figure:
3, add New Item, select "State machine Workflow (farm only solution)" under "Office/sharepoint":
4, select the list workflow, modify the workflow name is "Daily reimbursement":
5, select the list used for debugging, and select the Task list and history list; If the project is created and you want to modify the debug list, you can right-click the property on the workflow item;