Timeline for Sandbox Post Creation APEX Script not working
Current License: CC BY-SA 4.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 21, 2023 at 7:42 | history | became hot network question | |||
Sep 21, 2023 at 0:16 | answer | added | cropredy | timeline score: 3 | |
Sep 21, 2023 at 0:00 | comment | added | andrew | Got it, I was wondering about that where it states public Database.QueryLocator start(Database.BatchableContext bc) { return Database.getQueryLocator([SELECT Id FROM Account LIMIT 1]); } What would be your recommendation? I just got this idea from Salesforce Ben ;( apologies for the noobness | |
Sep 20, 2023 at 23:44 | comment | added | cropredy | why would there be any Accounts in the sandbox (depending on sandbox type)? Then the batchable start will return no records. IN fact, I can't see any reason why you. are using batchable at all | |
Sep 20, 2023 at 23:42 | history | edited | cropredy | CC BY-SA 4.0 |
added 4 characters in body
|
Sep 20, 2023 at 23:41 | history | asked | andrew | CC BY-SA 4.0 |