<?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: update list item through workflow</title><link>https://www.infopathdev.com:443/forums/thread/32265.aspx</link><pubDate>Mon, 15 Sep 2008 22:59:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:32265</guid><dc:creator>Jamesliang</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/32265.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=50&amp;PostID=32265</wfw:commentRss><description>&lt;p&gt;Thanks a lot.&lt;/p&gt;</description></item><item><title>Re: update list item through workflow</title><link>https://www.infopathdev.com:443/forums/thread/32228.aspx</link><pubDate>Sat, 13 Sep 2008 01:54:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:32228</guid><dc:creator>s42bm</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/32228.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=50&amp;PostID=32228</wfw:commentRss><description>&lt;p&gt;Please check out the following web site:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/sharepointdesigner/archive/2007/07/06/porting-sharepoint-designer-workflows-to-visual-studio.aspx"&gt;http://blogs.msdn.com/sharepointdesigner/archive/2007/07/06/porting-sharepoint-designer-workflows-to-visual-studio.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It talks about how to edit a SPD workflow within VS and then deploy it. Also in the reviews at the bottom of the page, people&lt;/p&gt;
&lt;p&gt;mentioned problems they had during the process and how to solve it. Personally, I think it&amp;#39;s easier to build a custom workflow&lt;/p&gt;
&lt;p&gt;directly in VS instead of transforming it from SPD. :)&lt;/p&gt;
&lt;p&gt;For the error occured, please check out &lt;/p&gt;
&lt;p&gt;1. The security setting of the form. It should be either domain or full trusted.&lt;/p&gt;
&lt;p&gt;2. The deployment files, such as feature.xml and workflow.xml. Because I never used SPD, I don&amp;#39;t know if it has those files.&lt;/p&gt;
&lt;p&gt;3. Check out the log file for MOSS, you may find more details there.&lt;/p&gt;</description></item><item><title>Re: update list item through workflow</title><link>https://www.infopathdev.com:443/forums/thread/32226.aspx</link><pubDate>Fri, 12 Sep 2008 21:10:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:32226</guid><dc:creator>Jamesliang</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/32226.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=50&amp;PostID=32226</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;s42bm.&lt;/p&gt;&lt;p&gt;&amp;nbsp; Thanks a lot, but can you let me know how to add code in SP Designer workflow . and my another question is when I republished , on MOSS, I can&amp;#39;t open the form.&lt;/p&gt;&lt;p&gt;system display &amp;quot;The form has been closed&amp;quot;.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: update list item through workflow</title><link>https://www.infopathdev.com:443/forums/thread/32224.aspx</link><pubDate>Fri, 12 Sep 2008 19:34:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:32224</guid><dc:creator>s42bm</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/32224.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=50&amp;PostID=32224</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;currently, I&amp;#39;m using the way suggested by ekzarov and it works fine.&lt;br /&gt;
&lt;/p&gt;
&lt;pre class="code"&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre class="code"&gt;workflowProperties.Item[&amp;quot;myProperty&amp;quot;]&amp;nbsp;= &amp;quot;blablabla&amp;quot;;&lt;/pre&gt;
&lt;pre class="code"&gt;workflowProperties.Item.Update();&lt;/pre&gt;&lt;pre class="code"&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre class="code"&gt;When you publish your form to a list, it asks you to choose the fields to be shown on that list. As you choose the item you want to update, click &amp;quot;Modify&amp;quot;. Check the check box &lt;/pre&gt;&lt;pre class="code"&gt;at the bottom saying &amp;quot;Allow user to edit data in this field by using a datasheet or property page&amp;quot;. I hope this works for you. I never used the designer, so can&amp;#39;t tell you what exactly &lt;/pre&gt;&lt;pre class="code"&gt;the error message means. It seems tell you that the item was not found. Make sure the item name is correct and the ID chosen to locate the record is proper.&lt;/pre&gt;</description></item><item><title>Re: update list item through workflow</title><link>https://www.infopathdev.com:443/forums/thread/32223.aspx</link><pubDate>Fri, 12 Sep 2008 19:34:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:32223</guid><dc:creator>s42bm</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/32223.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=50&amp;PostID=32223</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;currently, I&amp;#39;m using the way suggested by ekzarov and it works fine.&lt;br /&gt;
&lt;/p&gt;
&lt;pre class="code"&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre class="code"&gt;workflowProperties.Item[&amp;quot;myProperty&amp;quot;]&amp;nbsp;= &amp;quot;blablabla&amp;quot;;&lt;/pre&gt;
&lt;pre class="code"&gt;workflowProperties.Item.Update();&lt;/pre&gt;&lt;pre class="code"&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre class="code"&gt;When you publish your form to a list, it asks you to choose the fields to be shown on that list. As you choose the item you want to update, click &amp;quot;Modify&amp;quot;. Check the check box at the bottom saying &amp;quot;Allow user to edit data in this field by using a datasheet or property page&amp;quot;. I&lt;/pre&gt;&lt;pre class="code"&gt;hope this works for you. I never used the designer, so can&amp;#39;t tell you what exactly the error message means. It seems tell you that the item was not found. Make sure the item name is correct and the ID chosen to locate the record is proper.&lt;/pre&gt;</description></item><item><title>Re: update list item through workflow</title><link>https://www.infopathdev.com:443/forums/thread/32222.aspx</link><pubDate>Fri, 12 Sep 2008 17:38:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:32222</guid><dc:creator>Jamesliang</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/32222.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=50&amp;PostID=32222</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;s42bm.&lt;/p&gt;&lt;p&gt;&amp;nbsp; I have same problem, but I&amp;#39;m not use code, I used SP designer &amp;quot;update List Item&amp;quot; command, can you let me know how to change the properties when the form has been published. on where you can modify this&lt;/p&gt;&lt;p&gt;parameter? my error message is &amp;quot;Event type : Error&amp;quot;; Description : error updateing at list item&amp;quot;;&amp;quot;outcome:list item not found&amp;quot;, &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: update list item through workflow</title><link>https://www.infopathdev.com:443/forums/thread/31947.aspx</link><pubDate>Wed, 03 Sep 2008 19:35:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31947</guid><dc:creator>s42bm</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31947.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=50&amp;PostID=31947</wfw:commentRss><description>&lt;p&gt;Thanks for the reply. I found out that I had to allow the change to the properties when the forms have been published to their host environment. But I’ll try your suggestion, see what difference it’d make.&lt;/p&gt;</description></item><item><title>Re: update list item through workflow</title><link>https://www.infopathdev.com:443/forums/thread/31912.aspx</link><pubDate>Wed, 03 Sep 2008 09:19:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31912</guid><dc:creator>ekzarov</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31912.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=50&amp;PostID=31912</wfw:commentRss><description>&lt;pre class="code"&gt;thisItem.Properties are not properties of your workflow item.&amp;nbsp;&lt;/pre&gt;&lt;pre class="code"&gt;Try this:&lt;/pre&gt;&lt;pre class="code"&gt;workflowProperties.Item[&amp;quot;myProperty&amp;quot;]&amp;nbsp;= &amp;quot;blablabla&amp;quot;;&lt;/pre&gt;&lt;pre class="code"&gt;workflowProperties.Item.Update();&lt;/pre&gt;&lt;pre class="code"&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre class="code"&gt;SPWeb thisWeb = new SPSite(workflowProperties.SiteId).OpenWeb(workflowProperties.WebId);&lt;br /&gt;SPListItem thisItem = thisWeb.Lists[workflowProperties.ListId].GetItemById(workflowProperties.ItemId);&lt;br /&gt;thisItem.Properties[&amp;quot;myProperty&amp;quot;] = workflowproperties.items[&amp;quot;listProperty&amp;quot;] + an integer;&lt;br /&gt;thisItem.Update();&lt;/pre&gt;</description></item><item><title>update list item through workflow</title><link>https://www.infopathdev.com:443/forums/thread/31330.aspx</link><pubDate>Sun, 10 Aug 2008 07:21:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:31330</guid><dc:creator>s42bm</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/31330.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=50&amp;PostID=31330</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi,&lt;/p&gt;&lt;p&gt;I want to update some list items in a form library through workflowproperties. The list items are integrated from an InfoPath form. The code used in the workflow is as follows:&lt;br /&gt;&lt;/p&gt;&lt;pre class="code"&gt;SPWeb thisWeb = new SPSite(workflowProperties.SiteId).OpenWeb(workflowProperties.WebId);&lt;br /&gt;SPListItem thisItem = thisWeb.Lists[workflowProperties.ListId].GetItemById(workflowProperties.ItemId);&lt;br /&gt;thisItem.Properties[&amp;quot;myProperty&amp;quot;] = workflowproperties.items[&amp;quot;listProperty&amp;quot;] + an integer;&lt;br /&gt;thisItem.Update();&lt;/pre&gt;&lt;p&gt;&amp;nbsp;During dubugging, the value of thisItem.Properties[&amp;quot;myProperty&amp;quot;] was shown correctly, but the value shown on the form libray didn&amp;#39;t change. Any idea? Help is appreciated!!&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>