Timeline for Mass Creation of Box.com folders for 500 Account records
Current License: CC BY-SA 4.0
12 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 11, 2018 at 15:13 | vote | accept | codeinprogress | ||
May 11, 2018 at 14:38 | history | edited | Pranay Jaiswal | CC BY-SA 4.0 |
added 29 characters in body
|
May 11, 2018 at 14:33 | comment | added | Pranay Jaiswal | Yes.. but it will take so much time right and 480 iterations.. Our aim now would be to optimize so that it takes 2 accounts or more at each iteration. Then there will be less iterations 200 or less. | |
May 11, 2018 at 14:31 | history | edited | Pranay Jaiswal | CC BY-SA 4.0 |
added 1444 characters in body
|
May 11, 2018 at 14:29 | comment | added | codeinprogress | But if execute is going to get called 480 times then it means all the accounts (480) will be done. I dont need to keep increasing the batch size then. -- So far 60 batches are done, all successful. | |
May 11, 2018 at 14:23 | comment | added | Pranay Jaiswal | So batch is trying to call execute for each account, and execute will be called 480 times. Hence. So keep increasing batch size by 1 till you reach a point that it just start giving you 100 callout exception. | |
May 11, 2018 at 14:21 | comment | added | codeinprogress | This is weird because the number of account records I want to update are 480 as well. What is going on?? | |
May 11, 2018 at 14:20 | comment | added | codeinprogress | OK, so I did Database.executebatch(objTest, 1); and the total batches it shows is 480 | |
May 11, 2018 at 14:13 | comment | added | Pranay Jaiswal | Can Call the execute method directly by passing 1 Account record to see how many callouts are needed for 1 account? | |
May 11, 2018 at 14:07 | comment | added | codeinprogress | Still got the same error. With 8, the number of batches were 60. | |
May 11, 2018 at 14:05 | history | edited | Pranay Jaiswal | CC BY-SA 4.0 |
added 45 characters in body
|
May 11, 2018 at 14:00 | history | answered | Pranay Jaiswal | CC BY-SA 4.0 |