+ Start a Discussion
lavan llavan l 

Regarding rolling back whole batch job

I want to rollback whole batch process when single record in any batch gets failed. I want to know how to use DML options optallornone property in batch...........
OnpursuitOnpursuit
hI,

You can prepare the list and then call :
Database.insert(List records, Boolean allOrNone)

Hope this helps. ;et mw know if this resolves your issue.

Thanks,
Rahul