Activity Forums Salesforce® Discussions What is the reason to skip the DML Operation on Empty List?

  • Ajay Prakash

    Member
    August 31, 2016 at 7:41 AM

    Hi Mohit,

    You will get DML exception if you perform DML operation on empty list . So you need to skip DML operation on empty list.

    Thanks

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos

How to Learn Salesforce Development | Salesforce learning steps for beginners | Trailhead demo

Video in

In this video, we shared the steps to learn salesforce lightning basics, salesforce apex development, CRM in online for free from scratch very quickly. Learn salesforce…