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 |
4
votes
1
answer
3k
views
Question regarding "RunOnce" Booleans on AfterUpdate methods in a Salesforce Transaction
Does this mean:
Each 200 records get their own transaction per 200, and by extension, a fresh reset of the Boolean? … OR
Will my 201st record not run the method since it's a second set of
200 being run through the method in the same transaction where the
Boolean is now true? …
1
vote
1
answer
192
views
Test Coverage Drops from 92% to 21% if @testSetup inserts more than 200 records through a Tr...
the Trigger (rather than have it in the helper class method), so that each set of 200 records passed/batched to the trigger would have a fresh reset of the Boolean. … Why are my subsequent batches of 200 records still
passing over this RunOnce if() block and interior method (other than the obvious fact that the boolean
is true), when I am resetting the RunOnce boolean …