4 Replies Latest reply: Apr 3, 2012 10:02 AM by 927533 RSS

    Errors in Batch

    846189
      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.