How to write Trigger

Jun 6, 2021, 3:30 – 4:30 PM

The trigger.new provides the records that are about to be inserted, or updated. Likewise trigger.old returns the value of records before update or delete. Rest is simple code to update the values of the new records. You’ll see on thing in this code, that an update command or insert command is missing.

About this event

The trigger.new provides the records that are about to be inserted, or updated. Likewise trigger.old returns the value of records before update or delete. Rest is simple code to update the values of the new records. You’ll see on thing in this code, that an update command or insert command is missing. This is because the trigger is already a part of the DML process and hence we do not need to call another DML command, or else there are chances of having and trigger recursion. So it is always a good habit to avoid DML for the same object in a trigger.

Speaker

  • Deepak Sharma

    Fujistu consulting india pvt. ltd.

    Developer

When

When

Sunday, June 6, 2021
3:30 PM – 4:30 PM UTC

Agenda

3:30 PMIntroduction
3:40 PMWhat is Trigger
4:10 PMHow to write trigger
4:30 PMQ/A

Group Leader

  • Anil Kumar

    Community Group Leader

Powered by

Trailblazer Community logo

Trailblazer Community

CONTACT US

Join your local Trailblazer Community Group, meet other developers & get best practices for building on the App Cloud

JOIN US