<?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>PHP and Salesforce &#187; Workflows</title>
	<atom:link href="http://phpandsalesforce.com/category/workflows/feed/" rel="self" type="application/rss+xml" />
	<link>http://phpandsalesforce.com</link>
	<description>A CRM Reference For PHP Developers</description>
	<lastBuildDate>Wed, 26 May 2010 22:19:50 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Creating an Edit-Only Workflow Rule in Salesforce</title>
		<link>http://phpandsalesforce.com/2009/06/29/creating-an-edit-only-workflow-rule-in-salesforce/</link>
		<comments>http://phpandsalesforce.com/2009/06/29/creating-an-edit-only-workflow-rule-in-salesforce/#comments</comments>
		<pubDate>Mon, 29 Jun 2009 17:47:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Workflows]]></category>

		<guid isPermaLink="false">http://phpandsalesforce.com/?p=156</guid>
		<description><![CDATA[Ever wonder why there is no option to make a workflow rule fire only when an object is edited, and not created?  So did I.  I&#8217;m not sure of the answer to the &#8216;why&#8217;, but I can tell you how to get around this limitation.  Simply create a rule like:
&#8216;Case: Created By [...]]]></description>
			<content:encoded><![CDATA[<p>Ever wonder why there is no option to make a workflow rule fire only when an object is edited, and not created?  So did I.  I&#8217;m not sure of the answer to the &#8216;why&#8217;, but I can tell you how to get around this limitation.  Simply create a rule like:</p>
<p>&#8216;Case: Created By not equal to null&#8217;</p>
<p>This works because workflow rules fire in a time frame that happens after Salesforce receives the HTTP request, but before it saves the data to the database and updates the metadata pertaining to the object (including CreatedBy).</p>
<p align="left"><a class="tt" href="http://twitter.com/home/?status=Creating+an+Edit-Only+Workflow+Rule+in+Salesforce+http://is.gd/9Lk45" title="Post to Twitter"><img class="nothumb" src="http://phpandsalesforce.com/wp-content/plugins/tweet-this/icons/tt-twitter.png" alt="[Post to Twitter]" border="0" /></a> <a class="tt" href="http://twitter.com/home/?status=Creating+an+Edit-Only+Workflow+Rule+in+Salesforce+http://is.gd/9Lk45" title="Post to Twitter">Tweet This Post</a>&nbsp; </p>]]></content:encoded>
			<wfw:commentRss>http://phpandsalesforce.com/2009/06/29/creating-an-edit-only-workflow-rule-in-salesforce/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
