Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
A trigger is a feature of the Salesforce platform consisting of Apex code that executes before or after DML operations.
7
votes
2
answers
9k
views
Trigger execution context and Limits
Is the whole data set processed within single trigger execution context? Or each 200 records has seperate execution context within trigger? … I am assking with regard to future call and 2200 records that are processed with trigger. Is it the case that we can hit the limit in 10 future calls(2200:200=11 > 10)? …
15
votes
4
answers
4k
views
Is the order of records the same in the Trigger.new list in before and after trigger?
Is the order of records in the Trigger.new list the same in before and after trigger? …
4
votes
3
answers
4k
views
Improve trigger execution with multiple threads of execution - Possible? Alternatives?
How to dispatch records from trigger to be processed by different threads in order to accelerate trigger execution and not to fail the whole trigger if the error happens. … Consider disabling trigger logic for your loads and
integrations, or having a special, optimized code path for such
activities. …
3
votes
Trigger execution context and Limits
I ran the test: insert 2200 records with future call in trigger
trigger testtrigger on Account (after insert) {
testtrigger.handle();
}
public class testtrigger {
public static void handle() …