I am creating state machine workflow in visual studio 2010 and info path form (for approval etc.) is associated with the generated task. But i need to associate aspx form instead of infopath with the task as i'll have better custom code control and achieve required functionality.

Please refer any tutorial or video etc. which shows "how to associate aspx form with the generated task in custom state machine workflow".


I think this can be good starting point:

Workflow Task Forms (SharePoint Foundation)

You can specify custom forms for the tasks in your workflow. Because tasks are SharePoint items that are assigned a content type, however, the content type determines the custom forms used with the task type.

And here is one walkthrough that looks promising:

Walkthrough: Creating a simple Sequential Workflow with a custom Task Form in SharePoint 2010 using Visual Studio 2010

And some additional info here: SP2010 SPF WORKFLOW PART 4: ASPX TASK FORMS

  • I study the above links but now the problem is, we have to create different content types for different tasks forms. Is there any way of creating content type dynamically and assign to tasks different forms. I hope you understand the problem. – zeshan ahmad Apr 26 '12 at 7:50
  • what's the problem with creating different content type? – Steve B Jun 28 '12 at 8:38

Do you want to use your application page for the task form? here is how I accomplished it: How do I customize a workflow task form?

  • This answer needs more detail to not be so dependent on the link. Please add more details and use the link only as reference. If the link breaks, the answer will be of no help to future readers. – Robert Lindgren Jan 26 '14 at 9:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.