I'm creating a workflow that starts with a user filling a form. The form contains a number of fields like first name, last name, a choice field with say choices A, B and C. Depending on the choice, I'll ask the user to upload a number of attachments, from 2 - 5 attachments. I'll like to upload all the details including the attachments and start a workflow on the info submitted.
My thought is to create an asp.net form with textboxes, dropdowns and multiple file upload controls which I'll drive depending on the choice selected. Save the documents with the object model to a folder (or document set?). I will create a folder in the document library per submission, grab the url of the folder, create the remaining fields like first name, last name etc in a second list, include the url of the folder in this second list, the approval workflow will be attached to the second list.
Sounds like a hack right?
What's the best way of handing a situation like this? Even if I go this route, how do I replace the form SharePoint generates for lists with my custom asp.net form? Using initiation form does not fit the bill since it comes up after an item has been added to a list, I'll like it to replace the default list form.
Lastly, can I have different task forms for different steps of the workflow (for different approvers)? Each of the approvers add their own separate input.
I'm tempted to write a regular asp.net app for this but SharePoint saves a lot of plumbing.