You need to sign in to do that
Don't have an account?
MontTwo MontTwo
I need a Trigger for 300 case's records in one chunk
Hello, Please, don't ask me "Why? You can use 200 and that's enough!". I have a task with the requirement to test inserting/importing 300 case's records from my Trigger class. Trigger creates new cases and replaces already closed. Is it possibly to do? If yes, what kind of tool can I use? I know about Batch Apex, but don't know if it can update 300 records per 1 time.
Batch size and check BULK API options
n a single insert, update, upsert, or delete operation, records moving to or from Salesforce are processed in increments of this size. The maximum is 200 records. We recommend a value between 50 and 100.
The maximum value is 10,000 if the Use Bulk API option is selected.
Refer this link
https://help.salesforce.com/articleView?id=configuring_the_data_loader.htm&type=5
<pre>
Database.executeBatch( new MyBatchableClass(), 300 );
</pre>