<?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>Completing SharePoint Task from Infopath button to make SPD Workflow continue</title><link>https://www.infopathdev.com:443/forums/thread/51271.aspx</link><pubDate>Tue, 02 Feb 2010 02:47:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:51271</guid><dc:creator>louis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/51271.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=51271</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;We are currently trying to make an infopath button complete a task associated to the form submission workflow,&amp;nbsp;so when a user clicks a button, it updates the task to complete, making the SharePoint Designer workflow continue.&lt;br /&gt;&lt;br /&gt;We have seen many posts in relation to this to be able to mark a task as completed using AlterTask and UpdateItem, but no method seems to actually mark the task as completed to make the workflow continue. These solutions just seem to update the task information. e.g.&amp;nbsp;These update the&amp;nbsp;task details but&amp;nbsp;did not make the task completed to continue workflow;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; data[SPBuiltInFieldId.TaskStatus] = &amp;quot;Completed&amp;quot;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; data[SPBuiltInFieldId.Completed] = true;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; data[SPBuiltInFieldId.PercentComplete] = 1;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; data[SPBuiltInFieldId.WorkflowOutcome] = &amp;quot;Completed&amp;quot;;&lt;br /&gt;&lt;br /&gt;It looks like a few people are having this issue: &lt;a href="http://social.msdn.microsoft.com/Forums/en/sharepointworkflow/thread/0b5021e7-ce0a-4aeb-9d66-e9000ce2ef24"&gt;&lt;font color="#0033cc"&gt;http://social.msdn.microsoft.com/Forums/en/sharepointworkflow/thread/0b5021e7-ce0a-4aeb-9d66-e9000ce2ef24&lt;/font&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;We are looking to only use sharepoint designer workflows if possible. The environment is MOSS 2007 enterprise SP2.&lt;br /&gt;</description></item></channel></rss>