<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>merill.net &#187; bulk insert</title>
	<atom:link href="http://merill.net/tag/bulk-insert/feed/" rel="self" type="application/rss+xml" />
	<link>http://merill.net</link>
	<description>my utmost for His highest, my best for His glory</description>
	<lastBuildDate>Fri, 20 Apr 2012 21:31:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Workflow does not start automatically when bulk inserting items</title>
		<link>http://merill.net/2010/03/workflow-does-not-start-automatically-when-bulk-inserting-items/</link>
		<comments>http://merill.net/2010/03/workflow-does-not-start-automatically-when-bulk-inserting-items/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 22:18:27 +0000</pubDate>
		<dc:creator>Merill Fernando</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[bulk insert]]></category>
		<category><![CDATA[workflow]]></category>

		<guid isPermaLink="false">http://merill.net/2010/03/workflow-does-not-start-automatically-when-bulk-inserting-items/</guid>
		<description><![CDATA[This had me tripped for a while. I was bulk inserting items (~800) to a list which had event receivers as well as a workflow attached. The problem was that the workflow was not being triggered. Or if it did it just hung at In Progress. After poking around for more than an hour I [...]]]></description>
			<content:encoded><![CDATA[<p>This had me tripped for a while. I was bulk inserting items (~800) to a list which had event receivers as well as a workflow attached.</p>
<p>The problem was that the workflow was not being triggered. Or if it did it just hung at In Progress.</p>
<p>After poking around for more than an hour I discovered that if I inserted a single item it worked. So to fix the issue I added a ten second sleep (Thread.Sleep) between the inserts and the workflows are triggering away happily.</p>
]]></content:encoded>
			<wfw:commentRss>http://merill.net/2010/03/workflow-does-not-start-automatically-when-bulk-inserting-items/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

