Activity Forums Salesforce® Discussions “UNABLE_TO_LOCK_ROW” error?

  • Suyash

    Member
    April 30, 2016 at 10:16 AM

    Hi Ravi,

    When you run async their is a chance that single record get dml operationed simultaneously.For this you can put For Update in your query.
    It will solve your error.
    Thanks

     

Log In to reply.