Sunday, January 29, 2012

MCM Studies – Workflow Tasks

http://msdn.microsoft.com/en-us/library/ms438856.aspx

· All task content types are based on WorkflowTask content type.

· For ease of programming, we strongly recommend that developers create content types for their task types, and that each task content type schema exactly match the schema of its designated edit task form. This approach provides one-to-one mapping of properties, and eliminates the need to parse the extended properties field to extract additional values.

· A workflow template definition can have either a single task content type defined for the entire workflow or instead an activity, CreateTaskWithContentType can create a task with a specific content type id.

· Custom new/edit/display forms are possible for task content types by customizing the XmlDocuments region of the content type schema

· Workflow definition file has an idea of a task type – integer id that can associate a task with a form and a content type?

· Custom forms for content types can be either FormTemplates or FormUrls – formtemplates are ascx controls and formurls are aspx pages.

· Workflowtask content type has an Xml field that stores the task xml that is sent to the custom IP form as a secondary data source.

· Developer note – when a form is submitted the developer should call AlterTask

0 comments:

Post a Comment