In this post we will discuss about some changes towards custom forms in workflow in SharePoint 2013. You can also check out my previous posts on:
In SharePoint 2010 for custom forms types like Association Forms, Initiation Forms and Task Forms, you can use aspx pages or SharePoint infopath
forms. But in SharePoint designer workflows, the forms are constructed using Infopath forms. But if you are using Visual Studio to create workflow then you can use either infopath forms or .aspx forms.
Remember If you want to create a custom association form, then you have to create the two lists that were needed for every workflow association: the task list and history list.
There are two very important changes to workflow forms when creating custom workflows using Visual Studio 2012.
1- SharePoint 2013 introduced client-side object mode (CSOM) to provide coverage for the workflow API.
2- All forms should be created as ASP.NET Web Forms rather than InfoPath forms.
Another change in creating custom forms for custom workflows in SharePoint 2013 using Visual Studio 2012 is that developers will only focus on creating two types of forms: custom association forms and custom initiation forms. Task forms have been dropped in SharePoint 2013.