<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Onworkflowitemchanged on Matt Thornton</title>
    <link>http://localhost:1313/tags/onworkflowitemchanged/</link>
    <description>Recent content in Onworkflowitemchanged on Matt Thornton</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Fri, 28 Sep 2012 15:53:15 +0000</lastBuildDate><atom:link href="http://localhost:1313/tags/onworkflowitemchanged/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>SharePoint 2010 State Machine workflow onWorkflowItemChanged firing multiple times</title>
      <link>http://localhost:1313/tech/sharepoint/sharepoint-2010-state-machine-workflow-onworkflowitemchanged-firing-multiple-times/</link>
      <pubDate>Fri, 28 Sep 2012 15:53:15 +0000</pubDate>
      
      <guid>http://localhost:1313/tech/sharepoint/sharepoint-2010-state-machine-workflow-onworkflowitemchanged-firing-multiple-times/</guid>
      
        <description>&lt;p&gt;If you&amp;rsquo;re designing a SharePoint 2010 workflow, particularly a state machine, you may base the workflow activities around an item in a list. Particularly, you may want the workflow to carry out activities when the item is changed by the end user.&lt;/p&gt;
&lt;p&gt;This is a relatively straight-forward task, but one thing you will quickly encounter is that if you have multiple states, and each one handling the onWorkflowItemChanged event, you&amp;rsquo;ll notice that the event will fire once for each occurrence of your handler. So if you had 3 states, and each one has an onWorkflowItemChanged event, then your state that is handling the event will receive it 3 times. This is clearly undesirable and quite frankly strange behaviour.&lt;/p&gt;</description>
      
    </item>
    
  </channel>
</rss>