Activity Forums Salesforce® Discussions Unable to change field value of Object in After Update Trigger?

  • Unable to change field value of Object in After Update Trigger?

    Posted by Suraj on April 21, 2017 at 2:06 pm

    Unable to change field value of Object in After Update Trigger?

    Manpreet replied 7 years ago 2 Members · 1 Reply
  • 1 Reply
  • Manpreet

    Member
    April 25, 2017 at 1:29 pm

    Hi suraj,

    We cannot use After trigger, if we want to update a record because it causes read only error. This is because after inserting or updating, we cannot update a record.You can not make changes after an update because the record has already been updated.For example : You cannot update the contact fields in After trigger.Instead use before insert,before update.

    Thanks.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos