You need to sign in to do that
Don't have an account?
abhishek satpute
there is some sort of code and that code we have to call in batch then how you call and where we should write that code ?that is important and i want to call it again and again for execution
there is some sort of code and that code we have to call in batch then how you call and where we should write that code ?that is important and i want to call it again and again for execution
You should look at calling another apex method from another class. In your execute method just simply call your other apex method, passing the batch list of records as a parameter:
Batch
And your other class' method should look like this:
Let me know if this helps, if it does, please mark this answer as best so that others facing the same issue will find this information useful. Thank you