Category Archives: job

Salesforce: how to pass non primitives into asynchronous jobs

In the past if we needed to pass SObject records or other non primitives types we had to convert those records into Map<String, String>, and serialize this map and pass it to future method as String and then inside of … Continue reading

Posted in apex, Asynchronous, job | Tagged , , , , | Leave a comment

Salesforce: Schedule schedulable job or batchable for next minute from anonymous apex script

Sometimes we have to check Schedulable Job or Batchable job execution when scheduled. Also we don’t want to wait until specific date or time happened (assume on production your Schedulable or Batchable job should be scheduled to 1 a.m. of last … Continue reading

Posted in apex, batch, job, Posts in English, schedulable | Tagged , , , , , , , , , , , | Leave a comment