<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/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>Tapping into the Power of Workflows</title><link>http://blogs.msdn.com/crm/archive/2009/06/19/tapping-into-the-power-of-workflows.aspx</link><description>The workflow engine in Microsoft Dynamics CRM is an area I personally spend a ton of time playing with. It is like Jscript was in Version 1.x and 3.0 for me. It has A TON of potential that many people have barely scratched the surface of. So in working</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Tapping into the Power of Workflows</title><link>http://blogs.msdn.com/crm/archive/2009/06/19/tapping-into-the-power-of-workflows.aspx#9792538</link><pubDate>Sat, 20 Jun 2009 04:37:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9792538</guid><dc:creator>Ron</dc:creator><description>&lt;p&gt;Great post, I need to use something similar soon and the initial thinking was a plug but this is a great example of the power of workflow&lt;/p&gt;</description></item><item><title>
	  Microsoft Dynamics CRM Team Blog : Tapping into the Power of Workflows &amp;laquo; crm like soft</title><link>http://blogs.msdn.com/crm/archive/2009/06/19/tapping-into-the-power-of-workflows.aspx#9792839</link><pubDate>Sat, 20 Jun 2009 07:19:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9792839</guid><dc:creator>
	  Microsoft Dynamics CRM Team Blog : Tapping into the Power of Workflows &amp;laquo; crm like soft</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://crmlike.com/?p=2160"&gt;http://crmlike.com/?p=2160&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Tapping into the Power of Workflows</title><link>http://blogs.msdn.com/crm/archive/2009/06/19/tapping-into-the-power-of-workflows.aspx#9797737</link><pubDate>Mon, 22 Jun 2009 17:53:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9797737</guid><dc:creator>Ben Vollmer</dc:creator><description>&lt;p&gt;After some offline feedback.... :) &lt;/p&gt;
&lt;p&gt;The design goal of this was that an Oracle ERP system had a list of all of the widgets, but the sales reps never knew which how many widgets a customer actually owned. &lt;/p&gt;
&lt;p&gt;The Account Entity was customized pretty heavily for the prospect, so I didn't really want to attach it to the Workflow. :) If somebody really needs the field, I am sure they can create it or I will fire up a blank VPC. &lt;/p&gt;
&lt;p&gt;So for the scenario this demo script is for, it works well. I could see the subtraction being a pain, but with a little work, I know we could it without a plugin. (And will probably start messing with it after the Fiscal year is over.)&lt;/p&gt;
&lt;p&gt;Thanks! &lt;/p&gt;
&lt;p&gt;Ben&lt;/p&gt;</description></item><item><title>re: Tapping into the Power of Workflows</title><link>http://blogs.msdn.com/crm/archive/2009/06/19/tapping-into-the-power-of-workflows.aspx#9799027</link><pubDate>Tue, 23 Jun 2009 11:18:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9799027</guid><dc:creator>Michael Randrup</dc:creator><description>&lt;p&gt;Hi Ben.&lt;/p&gt;
&lt;p&gt;Thanks for the post.&lt;/p&gt;
&lt;p&gt;Your example on the power of workflows, also shows one of the weak points you have to be aware about as a developer - namely transactions in the datalayer.&lt;/p&gt;
&lt;p&gt;We are also huge fans of workflows and have developed 100+ custom workflow activities to support custom processes, but with a bit of change in your example, it shows one big weak point in the workflows also:&lt;/p&gt;
&lt;p&gt;1) Change the workflow to be available &amp;quot;On Demand&amp;quot;&lt;/p&gt;
&lt;p&gt;2) Now, create 3 widgets, with 1.000 items each&lt;/p&gt;
&lt;p&gt;3) Select the 3 widgets from the list of widgets attached to the account&lt;/p&gt;
&lt;p&gt;4) Choose &amp;quot;run work&amp;quot; and run the Widget workflow&lt;/p&gt;
&lt;p&gt;Now, you would expect the total on the account to be 3.000 right? ...Go have a look! :)&lt;/p&gt;
&lt;p&gt;As a developer it is *Very important* to be aware of these weak points, so you can compensate for them in your software design, where necessary.&lt;/p&gt;
&lt;p&gt;This problem occurs because of the async. nature of the workflow manager, combined with a lack of &amp;quot;Row Locking&amp;quot; on the SQL level when reading data.&lt;/p&gt;
&lt;p&gt;If you create 20 widgets and try this experiment again, you will see, that each time you actually get different results, because the Workflow manager cannot guarantee that the workflows will perform SQL updates in sequence.&lt;/p&gt;
&lt;p&gt;I could go into this further, but I guess the small 4-step experiment shows the point :)&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Michael&lt;/p&gt;</description></item><item><title>re: Tapping into the Power of Workflows</title><link>http://blogs.msdn.com/crm/archive/2009/06/19/tapping-into-the-power-of-workflows.aspx#9923219</link><pubDate>Mon, 16 Nov 2009 22:48:11 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9923219</guid><dc:creator>Carl Joseph</dc:creator><description>&lt;p&gt;Nice point Michael.&lt;/p&gt;
&lt;p&gt;In CRM Dynamics then, how would you suggest doing something like this (i.e. a summary type field)? &lt;/p&gt;
&lt;p&gt;The ability to have a field that dynamically calculates itself based on a query you design into it would be wonderful, but obviously not a feature that is currently there.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Carl&lt;/p&gt;</description></item></channel></rss>