The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
1answer
81 views

Bulkify on composite SOQL key

Assume I have a list of Objectx__c. Each instance of Objectx__c has a TEXT field SerializedData__c that contains two JSON values detailName and step. The requirement Using the detailName and ...
2
votes
1answer
86 views

Bulk API - Records in different parallel batches not visible in trigger

We're loading thousands of records into a custom object (Address__c) over the Bulk API, in parallel mode. It has a Master-Detail relationship with Contact There's a checkbox field on the object ...
4
votes
1answer
217 views

Bulkifying Apex trigger to handle large set of records updated via data loader

I wrote this trigger to per-form roll up operation on Child (Order line )to Parent (Order) Object related using Lookup field. Basically it sums up the currency amount of all order line records that ...
3
votes
2answers
95 views

Test already started: How to do big tests

I'd like to do a massive test. We've got a fairly complex operation that runs on any of 160,000 records, all of which have various scenarios as children and could be crappy data in some cases. I'd ...
0
votes
0answers
27 views

Does partial Lead Convert failure cause the rest of the batch to not run in bulk?

I'm seeing a really strange issue when I perform a Database.convertLead() function call. It seems like if one of the leads fails to convert, the rest of the leads will cause triggers to run in ...
0
votes
1answer
269 views

Making a Trigger Bulk Ready

I have a trigger that works just fine for single records and I am stumped how to make it work for multiple records. Any help would be appreciated. trigger TSSEducationUpdate on Education__c (after ...
3
votes
1answer
112 views

Governor limits in relation to System.setPassword

I can't seem to find how to bulkify System.setPassword(Id, String) method to set passwords for multiple users at once. Can it be done? If not, what governor limits I might potentially hit?
2
votes
2answers
115 views

EmailMessage trigger - does it ever happen in bulk?

I need to write some trigger logic under EmailMessage. Out of habit and good coding practice, I did it is "bulkified". However, an interesting thought came to me. Do I really need to make it run in ...
0
votes
2answers
146 views

How to realize bulk entry data for custom objects?

I want to do bulk entry for data in custom objects and wonder what would be the easiest way to do so. I have three objects, Timesheet (the main object), Type and Details. Every Timesheet has ...
5
votes
1answer
463 views

Submit records for approval in bulk without hitting DML Statement limit

I've got code to create and submit for approval a custom object. I'm running into the DML statement limit. As far as I can see each record I submit for approval takes up a DML statement, but there's ...
1
vote
2answers
502 views

Question on Bulkification/Governor Limit of Code

Is the code below ready to handle bulk changes? Is there a limit to how many Accounts I can be bulk updating with this trigger active? Trigger: trigger transferRelationshipTeamFromAcctOnAcctUpdate ...