- Home
- Technical Library
- Boards
- Cookbook
- Code Share
- Blogs
- Partners
-
More
-
Services
- Training & Certification
- Support
-
Galleries
- Force.com Sites Gallery
- Chatter Challenge Entries
-
Other Web Sites
- Salesforce.com
- Database.com
- AppExchange
- CRM Community
-
Discussions
- Announcements
- General Development
- Schema Development
- New to Cloud Development
- Apex Code Development
- Visualforce Development
- Formulas & Validation Rules Discussion
- Security
- Mobile
- Force.com Sites
- Chatter Development
- Java Development
- .NET Development
- Perl, PHP, Python & Ruby Development
- Adobe Flash Builder for Force.com
- Desktop Integration
- REST API Integration
- Streaming API
- Visual Workflow
- Apple, Mac and OS X
- VB and Office Development
- Excel Connector
- AJAX Toolkit & S-controls
- Force.com Builder & Native Apps
- AppExchange Directory & Packaging
- Force.com Labs Projects
- Open Source
- Site.com
- Jobs Board - Administrators
- Jobs Board - Developers
- Force.com Discussion Boards
- :
- Developer Boards for Force.com and Database.com
- :
- Apex Code Development
- :
- Governor Limits on Triggers
turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Governor Limits on Triggers
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-09-2008 02:45 PM
This line gives me an error in my trigger:
for (Case a: [select Id,CreatedDate,Total_Minutes_Active_Clock__c from Case]) {
because i have more than 1000 cases and the limit on query rows is 1000 in a trigger.
What is the standard method of getting around this limit for apex triggers?
James
for (Case a: [select Id,CreatedDate,Total_Minutes_Active_Clock__c from Case]) {
because i have more than 1000 cases and the limit on query rows is 1000 in a trigger.
What is the standard method of getting around this limit for apex triggers?
James
Re: Governor Limits on Triggers
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-10-2008 04:37 PM
Hi James,
So you want to evaluation all cases in a trigger? I think you need to think about the problem a little more, unless you plan to modify all of the cases, in which case you may be out of luck. Usually someone will want to find all object that have something in common with the object(s) that caused the trigger to fire. In that case, you will want to limit the objects returned based on that commonality.
What exactly are you trying to accomplish with your trigger?
Cheers
So you want to evaluation all cases in a trigger? I think you need to think about the problem a little more, unless you plan to modify all of the cases, in which case you may be out of luck. Usually someone will want to find all object that have something in common with the object(s) that caused the trigger to fire. In that case, you will want to limit the objects returned based on that commonality.
What exactly are you trying to accomplish with your trigger?
Cheers

