4 Replies Latest reply on Apr 3, 2012 3:02 PM by 927533

    Errors in Batch

      How can I update a custom table and create a TODO if the batch fails?

      In the catch block I am trying to rollback the session, update my custom table and do addError(). I have a TODO linked to the batch and I am implementing the createToDoProperties() method.

      The TODO gets created. But the custom table updates are rolled back.