In this project I created InfoPath forms dynamically and submit them directly to SharePoint InfoPath form library through an automated process.
The forms are created at runtime by creating the XML file in exactly same format that InfoPath saves in form library.
In this way the Forms are being filled out using automated process; when user open the form from the form library they can look that data is already in the forms. They then just need to verify that data and submit the form to the Workflow.
The workflow here is SharePoint State machine workflow, this routs the form data in of desired PDF format through emails to participant of the workflow.
The challenge here was to read xml data from InfoPath and convert that data in predefined PDF template file.
I can also walkthrough in details of this project that i successfully implemented.
Attached are some of the screenshots from this project.