<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Automating Salesforce Approval Processes with Apex Triggers</title>
	<atom:link href="http://blog.jeffdouglas.com/2010/01/04/automating-salesforce-approval-processes-with-apex-triggers/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.jeffdouglas.com/2010/01/04/automating-salesforce-approval-processes-with-apex-triggers/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=automating-salesforce-approval-processes-with-apex-triggers</link>
	<description>Get your head out of your #@! and into the clouds!</description>
	<lastBuildDate>Wed, 08 Feb 2012 07:57:55 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: Elly Bockley</title>
		<link>http://blog.jeffdouglas.com/2010/01/04/automating-salesforce-approval-processes-with-apex-triggers/comment-page-1/#comment-4971</link>
		<dc:creator>Elly Bockley</dc:creator>
		<pubDate>Tue, 11 Oct 2011 14:23:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jeffdouglas.com/?p=1920#comment-4971</guid>
		<description>I am trying to write a similar trigger bu I need it bulkified.  I did find an example where they pass a list to the Approval Process like this:
Approval.process(reqList, true)

But I get an error saying I am missing a required field - but who knows what?  I can;t find any documentation other than submitting one record at a time which could of course cause problems.

Any thoughts?
Thanks
Elly</description>
		<content:encoded><![CDATA[<p>I am trying to write a similar trigger bu I need it bulkified.  I did find an example where they pass a list to the Approval Process like this:<br />
Approval.process(reqList, true)</p>
<p>But I get an error saying I am missing a required field &#8211; but who knows what?  I can;t find any documentation other than submitting one record at a time which could of course cause problems.</p>
<p>Any thoughts?<br />
Thanks<br />
Elly</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nik's</title>
		<link>http://blog.jeffdouglas.com/2010/01/04/automating-salesforce-approval-processes-with-apex-triggers/comment-page-1/#comment-4895</link>
		<dc:creator>Nik's</dc:creator>
		<pubDate>Wed, 28 Sep 2011 03:41:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jeffdouglas.com/?p=1920#comment-4895</guid>
		<description>Great .... Information ...</description>
		<content:encoded><![CDATA[<p>Great &#8230;. Information &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neil</title>
		<link>http://blog.jeffdouglas.com/2010/01/04/automating-salesforce-approval-processes-with-apex-triggers/comment-page-1/#comment-3293</link>
		<dc:creator>Neil</dc:creator>
		<pubDate>Tue, 26 Apr 2011 15:39:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jeffdouglas.com/?p=1920#comment-3293</guid>
		<description>Great post, thanks Jeff,

I&#039;m facing a problem in writing test methods for a class that retrieves approval history. How can i ensure that an approval process exists or create one in code as part of my tests? (This is part of a managed package so no control over the org&#039;s config)

Any ideas much appreciated!</description>
		<content:encoded><![CDATA[<p>Great post, thanks Jeff,</p>
<p>I&#8217;m facing a problem in writing test methods for a class that retrieves approval history. How can i ensure that an approval process exists or create one in code as part of my tests? (This is part of a managed package so no control over the org&#8217;s config)</p>
<p>Any ideas much appreciated!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://blog.jeffdouglas.com/2010/01/04/automating-salesforce-approval-processes-with-apex-triggers/comment-page-1/#comment-2506</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Thu, 27 Jan 2011 20:17:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jeffdouglas.com/?p=1920#comment-2506</guid>
		<description>If you just pate your code into a new opportunity trigger and hit save you get the following error:

Error: Compile Error: expecting a right parentheses, found &#039;;&#039; at line 3 column 49</description>
		<content:encoded><![CDATA[<p>If you just pate your code into a new opportunity trigger and hit save you get the following error:</p>
<p>Error: Compile Error: expecting a right parentheses, found &#8216;;&#8217; at line 3 column 49</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://blog.jeffdouglas.com/2010/01/04/automating-salesforce-approval-processes-with-apex-triggers/comment-page-1/#comment-2102</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Wed, 24 Nov 2010 02:32:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jeffdouglas.com/?p=1920#comment-2102</guid>
		<description>Hi Jeff,

Help!!!! I have tried to implement your code as above, without much luck.

I have an object called Service Contracts, quite simply, when a checkbox on the detail is checked, I wish for the record to be automatically sent for approval.

I have done the approval process - but didnt realise manual submission was req! 

Any help would be much apprecaited.

Thanks in advance</description>
		<content:encoded><![CDATA[<p>Hi Jeff,</p>
<p>Help!!!! I have tried to implement your code as above, without much luck.</p>
<p>I have an object called Service Contracts, quite simply, when a checkbox on the detail is checked, I wish for the record to be automatically sent for approval.</p>
<p>I have done the approval process &#8211; but didnt realise manual submission was req! </p>
<p>Any help would be much apprecaited.</p>
<p>Thanks in advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hadassa Golovenshitz</title>
		<link>http://blog.jeffdouglas.com/2010/01/04/automating-salesforce-approval-processes-with-apex-triggers/comment-page-1/#comment-1921</link>
		<dc:creator>Hadassa Golovenshitz</dc:creator>
		<pubDate>Tue, 12 Oct 2010 19:41:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jeffdouglas.com/?p=1920#comment-1921</guid>
		<description>Thanks for the tip about using future method to update record in after update trigger! Saved me a lot of work!</description>
		<content:encoded><![CDATA[<p>Thanks for the tip about using future method to update record in after update trigger! Saved me a lot of work!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: giribabu</title>
		<link>http://blog.jeffdouglas.com/2010/01/04/automating-salesforce-approval-processes-with-apex-triggers/comment-page-1/#comment-1590</link>
		<dc:creator>giribabu</dc:creator>
		<pubDate>Tue, 17 Aug 2010 07:43:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jeffdouglas.com/?p=1920#comment-1590</guid>
		<description>hi,

i am inplimenting  approval process on the after update trigger and the erro is process_alrady in progress.
is it that the approval process be deactivated?</description>
		<content:encoded><![CDATA[<p>hi,</p>
<p>i am inplimenting  approval process on the after update trigger and the erro is process_alrady in progress.<br />
is it that the approval process be deactivated?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Douglas</title>
		<link>http://blog.jeffdouglas.com/2010/01/04/automating-salesforce-approval-processes-with-apex-triggers/comment-page-1/#comment-967</link>
		<dc:creator>Jeff Douglas</dc:creator>
		<pubDate>Thu, 08 Jul 2010 10:20:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jeffdouglas.com/?p=1920#comment-967</guid>
		<description>What about using some sort of time-based workflow instead?</description>
		<content:encoded><![CDATA[<p>What about using some sort of time-based workflow instead?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jaspreet</title>
		<link>http://blog.jeffdouglas.com/2010/01/04/automating-salesforce-approval-processes-with-apex-triggers/comment-page-1/#comment-940</link>
		<dc:creator>Jaspreet</dc:creator>
		<pubDate>Thu, 01 Jul 2010 09:22:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jeffdouglas.com/?p=1920#comment-940</guid>
		<description>hi,
i am trying to create a delay between two approval steps of some days. Means if an approval step has been approved then next approval step wil be approved after a week.
please help me out i am new to salesforce.</description>
		<content:encoded><![CDATA[<p>hi,<br />
i am trying to create a delay between two approval steps of some days. Means if an approval step has been approved then next approval step wil be approved after a week.<br />
please help me out i am new to salesforce.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jeffdonthemic</title>
		<link>http://blog.jeffdouglas.com/2010/01/04/automating-salesforce-approval-processes-with-apex-triggers/comment-page-1/#comment-356</link>
		<dc:creator>jeffdonthemic</dc:creator>
		<pubDate>Wed, 27 Jan 2010 21:53:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jeffdouglas.com/?p=1920#comment-356</guid>
		<description>Not that I&#039;ve heard of but you may want to post it to the Salesforce.com message board. Perhaps one of the PMs will pick up you questions.</description>
		<content:encoded><![CDATA[<p>Not that I&#8217;ve heard of but you may want to post it to the Salesforce.com message board. Perhaps one of the PMs will pick up you questions.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

