<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Items not being deleted from CRM 4.0 Queues</title>
	<atom:link href="http://blogs.infinite-x.net/2008/04/09/items-not-being-deleted-from-crm-40-queues/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.infinite-x.net/2008/04/09/items-not-being-deleted-from-crm-40-queues/</link>
	<description>Knowledge found and lost while working with Microsoft CRM</description>
	<pubDate>Wed, 03 Dec 2008 00:20:34 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
		<item>
		<title>By: mitch</title>
		<link>http://blogs.infinite-x.net/2008/04/09/items-not-being-deleted-from-crm-40-queues/#comment-1142</link>
		<dc:creator>mitch</dc:creator>
		<pubDate>Fri, 01 Aug 2008 22:28:25 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.infinite-x.net/2008/04/09/items-not-being-deleted-from-crm-40-queues/#comment-1142</guid>
		<description>Via Regan Murphy:

Microsoft has released a hotfix for this problem now
http://support.microsoft.com/kb/948172/en-us

Cheers
Regan</description>
		<content:encoded><![CDATA[<p>Via Regan Murphy:</p>
<p>Microsoft has released a hotfix for this problem now<br />
<a href="http://support.microsoft.com/kb/948172/en-us" rel="nofollow">http://support.microsoft.com/kb/948172/en-us</a></p>
<p>Cheers<br />
Regan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Regan</title>
		<link>http://blogs.infinite-x.net/2008/04/09/items-not-being-deleted-from-crm-40-queues/#comment-1127</link>
		<dc:creator>Regan</dc:creator>
		<pubDate>Mon, 14 Jul 2008 22:22:02 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.infinite-x.net/2008/04/09/items-not-being-deleted-from-crm-40-queues/#comment-1127</guid>
		<description>Thanks for that Mitch!

I re-wrote the sql above to make it faster to find and deactivate the ghost email records.  The following will find all "email" items in *any* queue (i.e. user queues too) where the associated email does not exist in the email table and update its status to deleted.

UPDATE dbo.QueueItemBase
	SET DeletionStateCode = 2
WHERE
	objecttypecode = '4202'
	and ObjectId not in (Select ActivityId from EmailBase)
	and DeletionStateCode = 0</description>
		<content:encoded><![CDATA[<p>Thanks for that Mitch!</p>
<p>I re-wrote the sql above to make it faster to find and deactivate the ghost email records.  The following will find all &#034;email&#034; items in *any* queue (i.e. user queues too) where the associated email does not exist in the email table and update its status to deleted.</p>
<p>UPDATE dbo.QueueItemBase<br />
	SET DeletionStateCode = 2<br />
WHERE<br />
	objecttypecode = &#039;4202&#039;<br />
	and ObjectId not in (Select ActivityId from EmailBase)<br />
	and DeletionStateCode = 0</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mr CRM</title>
		<link>http://blogs.infinite-x.net/2008/04/09/items-not-being-deleted-from-crm-40-queues/#comment-838</link>
		<dc:creator>Mr CRM</dc:creator>
		<pubDate>Sat, 07 Jun 2008 01:27:12 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.infinite-x.net/2008/04/09/items-not-being-deleted-from-crm-40-queues/#comment-838</guid>
		<description>Thank you. mr Bacon saver !</description>
		<content:encoded><![CDATA[<p>Thank you. mr Bacon saver !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thanks</title>
		<link>http://blogs.infinite-x.net/2008/04/09/items-not-being-deleted-from-crm-40-queues/#comment-813</link>
		<dc:creator>Thanks</dc:creator>
		<pubDate>Tue, 20 May 2008 15:05:43 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.infinite-x.net/2008/04/09/items-not-being-deleted-from-crm-40-queues/#comment-813</guid>
		<description>One extra note you should add, those records marked for deletion may take up to 24 hours to be removed....</description>
		<content:encoded><![CDATA[<p>One extra note you should add, those records marked for deletion may take up to 24 hours to be removed&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Grateful</title>
		<link>http://blogs.infinite-x.net/2008/04/09/items-not-being-deleted-from-crm-40-queues/#comment-782</link>
		<dc:creator>Grateful</dc:creator>
		<pubDate>Wed, 30 Apr 2008 08:37:31 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.infinite-x.net/2008/04/09/items-not-being-deleted-from-crm-40-queues/#comment-782</guid>
		<description>Wonderful, this issue has been annoying the heck out of us! Good find, thanks.</description>
		<content:encoded><![CDATA[<p>Wonderful, this issue has been annoying the heck out of us! Good find, thanks.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
