You need to sign in to do that
Don't have an account?

Best way to run several batches to update records
I need to run several apex batches that will update non-archived Tasks and Events with some additional information. I have a total of 16 apex classes that I need to run, and I am looking for some advice to figure out the best way to run them. 9 classes that I am going to run first but do not need to run in a specific order, but the other 7 have to be run in sequence after the completion of the first 9 classes.
What is the best way to acheive this will I have to do it manually and monitor the results or can I write something?
Can I run all 9 of my beginning classes simultainously event though they will all update tasks and events?
Is there a way to write a class to run the remaining classes in sequence?
What is the best way to acheive this will I have to do it manually and monitor the results or can I write something?
Can I run all 9 of my beginning classes simultainously event though they will all update tasks and events?
Is there a way to write a class to run the remaining classes in sequence?
Figuring out whether all 9 classes execution have completed can be difficult I think.
There is something called Queable apex through which job chaining is possible (sequence run). I think you can chain all the 16 classes to run in sequence. I have never worked on this. Please check once in salesforce resources.