
답변 1개
Hello pooja,Try specifying a boolean parameter allorNone along the with list of sobject to update .For Eg:Database.update(ListofAccounts,true);This will rollback all the transaction in the context .check for the following method in Database class.update(recordToUpdate, allOrNone)https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_methods_system_database.htmPlease let us know, if this solves your problem.Thanks