<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Item Restores Kick off Workflow</title><link>https://www.infopathdev.com:443/forums/thread/86265.aspx</link><pubDate>Tue, 22 Jan 2013 08:16:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:86265</guid><dc:creator>JenniferLindsay</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/86265.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=86265</wfw:commentRss><description>&lt;p&gt;Here&amp;#39;s an idea: Add a hidden field to your form called Count&amp;nbsp;(or whatever you want), make it a promoted property so it appears in the library columns, and when you submit a new form to the library make sure the value for Count is set to 0.&amp;nbsp; &lt;/p&gt;&lt;p&gt;Next, add a step to the very top of your workflow to increment the value in the Count column by 1 every time the workflow runs.&amp;nbsp; &lt;/p&gt;&lt;p&gt;Put the rest of your workflow (the steps you already have)&amp;nbsp;underneath this new step inside an If condition: &amp;quot;If Current Item:Count is equal to 1&amp;quot;.&lt;/p&gt;&lt;p&gt;Now, the very first time you submit a form to the library, Count will&amp;nbsp;be incremented&amp;nbsp;from 0 to 1, the If condition for the rest of your workflow will be satisfied, and the rest of your workflow will run just the way you want.&lt;br /&gt;&lt;br /&gt;If the user deletes the form and then restores it, Count will&amp;nbsp;be incremented&amp;nbsp;from 1 to 2, the If condition will&amp;nbsp;NOT be satisfied, and the rest of your workflow will NOT run.&lt;/p&gt;&lt;p&gt;&amp;nbsp;I haven&amp;#39;t actually had a chance to test this, so if you try it do let me know if you run into problems.&lt;/p&gt;</description></item><item><title>Item Restores Kick off Workflow</title><link>https://www.infopathdev.com:443/forums/thread/85898.aspx</link><pubDate>Wed, 09 Jan 2013 15:32:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:85898</guid><dc:creator>bline22</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/85898.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=85898</wfw:commentRss><description>Hello,

I have a request to see if i can fix the following and I am not sure if it is possible with out of the box functionality.  

The issue is, when a user deletes an item from a library and it gets restored it starts the workflow over again so a series of emails get kicked off.   How do we prevent this on restore?  

Currently the workflow is trigger to start on item creation so I believe that is why this is occurring.   We do not want to manually start this workflow so I don&amp;#39;t know if we have any option but to put up with this inconvenience.  

Any ideas.  

Thanks.</description></item></channel></rss>