<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.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>Disabling Workflows with Overrides</title><link>http://blogs.technet.com/b/servicemanager/archive/2011/07/07/disabling-workflows-with-overrides.aspx</link><description>I&amp;rsquo;ve had a few customers and partners ask how they can disable our out of box workflows so they can implement their own custom workflow logic in their own code. It&amp;rsquo;s actually really easy to do with a little &amp;ldquo;know how&amp;rdquo; and some</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Disabling Workflows with Overrides</title><link>http://blogs.technet.com/b/servicemanager/archive/2011/07/07/disabling-workflows-with-overrides.aspx#3457207</link><pubDate>Tue, 04 Oct 2011 15:47:48 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3457207</guid><dc:creator>Travis Wright MSFT</dc:creator><description>&lt;p&gt;@Kirill - &lt;/p&gt;
&lt;p&gt;It could work a little bit better if you trigger your workflow not on the status property change but on the property value change instead. &amp;nbsp;For example you had this requirement:&lt;/p&gt;
&lt;p&gt;&amp;quot;in Activity1 if custom field is selected, then next Activity2 is not needed&amp;quot;&lt;/p&gt;
&lt;p&gt;If you trigger your workflow when Activity.CustomField property changes then it will trigger the workflow and make activity 2 not needed. &amp;nbsp;Of course if the custom field property change happens at the same time as the status change you will still have this problem. &amp;nbsp;You could try to train your users to change the property value and submit before submitting the status.&lt;/p&gt;
&lt;p&gt;Another option is to only ADD activities to the process based on the user&amp;#39;s selections and not try to remove. &amp;nbsp;This might be a little trickier but would be more predictable.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3457207" width="1" height="1"&gt;</description></item><item><title>re: Disabling Workflows with Overrides</title><link>http://blogs.technet.com/b/servicemanager/archive/2011/07/07/disabling-workflows-with-overrides.aspx#3455985</link><pubDate>Wed, 28 Sep 2011 06:30:10 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3455985</guid><dc:creator>Kirill</dc:creator><description>&lt;p&gt;Yes. The workflow &amp;quot;SetSkipped&amp;quot; triggers when Activity1 changes status to Completed. But in practice, when Activity1 is completed, then Activity2 has time to changes status to In progress (by built-in workflow i think ActivityStatusChangedRule ) and after that changes status to Skipped (by SetSkipped). I can see it at history tab in activity2. That behavior triggers notification email to implementer about Activity2 (which action not needed). That is my problem. If i can take priority of workflows, that my workflow Setskipped runs first.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3455985" width="1" height="1"&gt;</description></item><item><title>re: Disabling Workflows with Overrides</title><link>http://blogs.technet.com/b/servicemanager/archive/2011/07/07/disabling-workflows-with-overrides.aspx#3455965</link><pubDate>Wed, 28 Sep 2011 02:05:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3455965</guid><dc:creator>Travis Wright MSFT</dc:creator><description>&lt;p&gt;It sounds like you are currently triggering your SetSkipped workflow when the status of Activity 1 changes. &amp;nbsp;Is that right?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3455965" width="1" height="1"&gt;</description></item><item><title>re: Disabling Workflows with Overrides</title><link>http://blogs.technet.com/b/servicemanager/archive/2011/07/07/disabling-workflows-with-overrides.aspx#3455868</link><pubDate>Tue, 27 Sep 2011 17:31:53 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3455868</guid><dc:creator>Kirill</dc:creator><description>&lt;p&gt;Travis, I am trying to do something like this. I have created change request template with several activities (some of them custom classes, some manual activity, some review activities). I need some activities from this sequence to be skipped (not be in progress state), if some criteria meets. For example, in Activity1 if custom field is selected, then next Activity2 is not needed, and Activity3 should be in progress state. So i have achieved this. I created additional state for activity (named &amp;quot;Skipped&amp;quot;), and created workflow &amp;quot;SetSkipped&amp;quot;, with triggers when Activity1 is completed. That workflow (smlets powershell script) checks if field is selected, and if so sets Activity2 to &amp;quot;Skipped&amp;quot; state, And Activity3 to &amp;quot;In progress&amp;quot;. Everything works fine, but there is some problem. I have also created notification workflows, when Activities enter &amp;quot;In Progress&amp;quot;. That workflows send email to implementer of this activity. So when i test my scenario, Activity2 enters in &amp;quot;Skipped&amp;quot; state, but implementer of Activity2 anyway recieves email. I think it happens because my workflow &amp;quot;SetSkipped&amp;quot; runs AFTER built-in workflow (i think ActivityStatusChangedRule). So i need my workflow &amp;quot;SetSkipped&amp;quot; runs first. I try to change polling interval of &amp;quot;SetSkipped&amp;quot; to 1second, but no happy :( &lt;/p&gt;
&lt;p&gt;I hope you will tell me some advices how to achieve my senario. Thank you.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3455868" width="1" height="1"&gt;</description></item><item><title>re: Disabling Workflows with Overrides</title><link>http://blogs.technet.com/b/servicemanager/archive/2011/07/07/disabling-workflows-with-overrides.aspx#3455853</link><pubDate>Tue, 27 Sep 2011 16:47:40 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3455853</guid><dc:creator>Travis Wright MSFT</dc:creator><description>&lt;p&gt;@Kirill - what is the scenario you are trying to achieve?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3455853" width="1" height="1"&gt;</description></item><item><title>re: Disabling Workflows with Overrides</title><link>http://blogs.technet.com/b/servicemanager/archive/2011/07/07/disabling-workflows-with-overrides.aspx#3455756</link><pubDate>Tue, 27 Sep 2011 08:46:34 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3455756</guid><dc:creator>Kirill</dc:creator><description>&lt;p&gt;Hi !&lt;/p&gt;
&lt;p&gt;Can i override Rule priority like this?&lt;/p&gt;
&lt;p&gt;&amp;lt;RulePropertyOverride ID=&amp;quot;DelayActivityStatusChangedRule&amp;quot; Context=&amp;quot;System!System.Entity&amp;quot; Enforced=&amp;quot;false&amp;quot; Rule=&amp;quot;ChangeLibrary!ServiceManager.ChangeManagement.ActivityStatusChangedRule&amp;quot; Property=&amp;quot;Priority&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp;&amp;lt;Value&amp;gt;0&amp;lt;/Value&amp;gt; &lt;/p&gt;
&lt;p&gt;&amp;lt;/RulePropertyOverride&amp;gt;&lt;/p&gt;
&lt;p&gt;I am getting error while importing the management pack, saying that property Priority is incorrect...&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3455756" width="1" height="1"&gt;</description></item></channel></rss>