1 resposta
Hi MahmedList<Sobject> records will do dml operations as useuall.Like : List<Sobject>listobj = new List<Sobject>();Account a=new Account(Name='Test Account');Contact c = new Contact(LastName='Test Contact');listobj.add(a);listobj.add(c);insert listobj;So you should take care of while (list<sobject>)JSON.deserialize(str,list<sobject>.class). Check the output.Other than this nothing to add here.Are you facing any issues while doing DML Operations? If yes please share the errors here will figure out the solution.Useful link: https://salesforce.stackexchange.com/questions/147234/dml-operation-on-listsobjects-where-i-got-the-record-id-of-various-objectsRegardsVijay