Workflows with InfoPath forms

Nov 27, 2008 at 5:03 PM
Hello.

What is the best practice when deploying workflows with InfoPath forms? I have used the approach outlined in the "patterns & practices Sharepoint Guidance" (How to: Use Visual Studio extensions for Windows SharePoint Services to Package a Workflow in a Web Solution Package), but when adding the InfoPath forms the workflow is unable to locate the forms when it is run on SharePoint (error is logged in SharePoint log files). The same workflow works fine when deploying directly from Visual Studio 2008, but this method does not produce a WSP file. Any suggestions would be appreciated.
Nov 28, 2008 at 8:37 AM
I solved this problem. I had forgott to add the receiver assembly in the feature.xml file:

ReceiverAssembly="Microsoft.Office.Workflow.Feature, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"

ReceiverClass="Microsoft.Office.Workflow.Feature.WorkflowFeatureReceiver"


Thank you for a most needed SharePoint Guidance documentation!