<?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>Workflow</title><link>https://www.infopathdev.com:443/forums/50.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: How to provide a workflow with two tasks and two different InfoPath Task-Forms?</title><link>https://www.infopathdev.com:443/forums/thread/50107.aspx</link><pubDate>Tue, 22 Dec 2009 01:39:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:50107</guid><dc:creator>vt_asparagus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/50107.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=50&amp;PostID=50107</wfw:commentRss><description>&lt;p&gt;I remember this from a long time ago - check this out&amp;nbsp;- &lt;a href="http://social.msdn.microsoft.com/forums/en-US/sharepointworkflow/thread/737a181e-0c41-45fd-b80d-f150705541fd/"&gt;http://social.msdn.microsoft.com/forums/en-US/sharepointworkflow/thread/737a181e-0c41-45fd-b80d-f150705541fd/&lt;/a&gt;.&amp;nbsp; You need to make sure you set the SPWorkflowTaskProperties.TaskType&amp;nbsp;to 1 to get it to switch.&lt;/p&gt;
&lt;p&gt;Other thing you can do is use a single InfoPath form but just switch views.&lt;/p&gt;
&lt;p&gt;- Add a field to your form called View.&lt;/p&gt;
&lt;p&gt;- Add a rule into the load of the InfoPath form that will switch views appropiately.&lt;/p&gt;
&lt;p&gt;- Add code into the workflow that will set the View field to show the correct view when the form is loaded at runtime.&lt;/p&gt;
&lt;p&gt;Hope that makes sense...&lt;/p&gt;</description></item><item><title>How to provide a workflow with two tasks and two different InfoPath Task-Forms?</title><link>https://www.infopathdev.com:443/forums/thread/47618.aspx</link><pubDate>Tue, 06 Oct 2009 09:10:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47618</guid><dc:creator>stoepsel007</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47618.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=50&amp;PostID=47618</wfw:commentRss><description>&lt;p&gt;Hello,&lt;br /&gt;I created allready a Visual Studio 2008 Workflow with two tasks. I don&amp;#39;t have any problems to walk through the first task, the second one is the problem. I still get the InfoPath task form that is responsible for the first task. What do I have to do to&amp;nbsp;make the form TaskVorgesetzter.xsn only available for the first task and the form TaskPersonalabteilung.xsn for the second task?&lt;br /&gt;&lt;br /&gt;The configuration of my feature.xml:&lt;br /&gt;&amp;nbsp; &amp;lt;ElementManifests&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ElementManifest Location=&amp;quot;workflow.xml&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ElementFile Location=&amp;quot;Association.xsn&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ElementFile Location=&amp;quot;TaskVorgesetzter.xsn&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ElementFile Location=&amp;quot;TaskPersonalabteilung.xsn&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;/ElementManifests&amp;gt;&lt;br /&gt;&lt;br /&gt;The configuration of my workflow.xml:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Association_FormURN&amp;gt;urn:schemas-microsoft-com:office:infopath:Association:-myXSD-2009-09-30T10-16-34&amp;lt;/Association_FormURN&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Task0_FormURN&amp;gt;urn:schemas-microsoft-com:office:infopath:TaskVorgesetzter:-myXSD-2009-07-15T12-42-32&amp;lt;/Task0_FormURN&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Task1_FormURN&amp;gt;urn:schemas-microsoft-com:office:infopath:TaskPersonalabteilung:-myXSD-2009-09-30T07-17-13&amp;lt;/Task1_FormURN&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;StatusPageUrl&amp;gt;_layouts/WrkStat.aspx&amp;lt;/StatusPageUrl&amp;gt;&lt;br /&gt;&lt;br /&gt;Furthermore I listetd the field for both task forms&amp;nbsp;in the&amp;nbsp;ItemMetaData.xml. &lt;br /&gt;Do have a tipp how to solve my problem? Thank you very much indeed.&lt;br /&gt;Best Regards&lt;/p&gt;</description></item></channel></rss>