Chapter 10. Workflows and task processes
This chapter covers
- Using task-related workflow activities
- Building custom task edit forms
In chapter 4, you worked with task processing capabilities for SharePoint Designer workflows. Visual Studio provides similar task processing capabilities for its workflows. Task-related activities for Visual Studio workflows can create tasks, delete tasks, and complete tasks. There are also event activities that your workflows can use to react to human input such as task editing and deletion. By putting these activities to use, you can create and assign tasks to users and have the workflow go idle until the task is completed.
Visual Studio also supports full customizations of task edit forms with custom InfoPath forms. These forms can easily be integrated into your Visual Studio workflows to support complex form requirements or to make the form more intuitive for your end users. When the task’s assignee edits the task, by default, he sees the out-of-the-box task edit form and this form may be inadequate. For example, the out-of-the-box form contains many fields that you may not require end users to edit. This extra data may be confusing to users, and building a custom InfoPath form may be preferable.