<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>SharePoint Integration</title><link>https://www.infopathdev.com:443/forums/46.aspx</link><description> For questions concerning issues in the integration of SharePoint and Microsoft InfoPath.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Adding a Workflow To An InfoPath Content Type in SharePoint 2010</title><link>https://www.infopathdev.com:443/forums/thread/69240.aspx</link><pubDate>Mon, 15 Aug 2011 04:01:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:69240</guid><dc:creator>RKEMN2</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/69240.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=69240</wfw:commentRss><description>&lt;p&gt;I&amp;#39;ll describe a problem I&amp;#39;m running into in deplying an InfoPath form and state workflow to SharePoint 2010, and would be glad&amp;nbsp;for any insights of how to get past the problem.&lt;br /&gt;Thanks for any assiatance you&amp;nbsp;may offer,&lt;br /&gt;King&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Problem:&lt;/strong&gt;&lt;br /&gt;When trying to add a workflow to an InfoPath content type in a site collection, the desired workflow is not among the list of workflow templates on the “Add a Workflow” page. The message on the page is noted below, but I’m not certain how to add the workflow template to the site collection/workspace:&lt;/p&gt;&lt;em&gt;&amp;quot;If the workflow template you want does not appear, contact your administrator to get it added to your site collection or workspace.&amp;quot;&lt;/em&gt; 
&lt;p&gt;&lt;strong&gt;Background:&lt;/strong&gt;&lt;br /&gt;I have created an InfoPath 2010 form as the template for a form library that starts a state workflow when a file is created. Though that is shown to work, I followed David Kline’s example for adding an InfoPath form as a content type in order to facilitate versioning of the InfoPath form:&lt;br /&gt;&lt;a href="http://ddkonline.blogspot.com/2010/01/side-by-side-versioning-of-infopath.html"&gt;http://ddkonline.blogspot.com/2010/01/side-by-side-versioning-of-infopath.html&lt;/a&gt; 
&lt;p&gt;In our Beta environment, I&amp;#39;ve added the workflow WSP using PowerShell (Add-SPSolution) and it has been deployed and activated in Central Administration and at the Site Collection level. The versioned InfoPath content type was also activated and available in the site Collection. I found that I was able to add the workflow to the form library (Content Type = &amp;quot;All&amp;quot;), but when I select the new InfoPath content type, the list of workflow templates does not include the corresponding workflow that was deployed.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Question:&lt;/strong&gt;&lt;br /&gt;How do I add a workflow to an InfoPath content type when the custom workflow and InfoPath content type both appear to be activated in the Site Collection?&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;References:&lt;/strong&gt;&lt;br /&gt;Add a workflow to a content type:&lt;br /&gt;&lt;a href="http://office.microsoft.com/en-us/sharepoint-server-help/change-a-content-type-for-a-list-or-library-HA010173454.aspx#BM5"&gt;http://office.microsoft.com/en-us/sharepoint-server-help/change-a-content-type-for-a-list-or-library-HA010173454.aspx#BM5&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Steps to Associate a workflow with a site content type:&lt;br /&gt;&lt;a href="http://technet.microsoft.com/en-us/library/ee662529.aspx#Section3"&gt;http://technet.microsoft.com/en-us/library/ee662529.aspx#Section3&lt;/a&gt;&lt;/p&gt;</description></item></channel></rss>