Last seen: Jul 15, 2024
// Suppose if you have Schedulable apex, which does a callout, with the name SchedulableClass: global class SchedulableClass implements Schedulable...
CloseDate = Date.newInstance(2020, 12, 30)
If you need to create a properly formed Id and doesn't care about it actually being in the database for your apex test classes, you can create it as: ...
You could set an org wide email in settup -> Organization-Wide Email Addresses and use it as the from email id for sending emails: OrgWideEma...
To make the integration user the context user for the apex initiated records inserts, etc., you need to run the Apex class as your integration user, w...
You can't do callouts from a Scheduled apex class: * Place @future(callout=true) annotation above your callout method, so you can convert it to a fu...
Check the Deliverability settings under Setup > Email Administration > Deliverability. I had to change the Access level from System Emails o...
Ended up creating this: String skippedRecords = ''; Integer checkedParentIds = 0; Boolean idMatch = false; Integer totalParentIds = parentList.si...