Friday, March 7, 2025

Master Interview questions on apex triggers in salesforce Part-3

 13) What are the the context variable available with before insert event?

Only Trigger.new is available.

Tags: #Interview questions on triggers in salesforce with answers, #Scenario based Interview Questions on triggers in Salesforce

14) What are the the context variable available with after insert event?

Trigger.new and Trigger.newMap.

15) What are the the context variable available with before update event?

Trigger.new, Trigger.old, Trigger.newmap and Trigger.oldmap

16) What are the the context variable available with after update event?

Trigger.new, Trigger.old, Trigger.newmap and Trigger.oldmap

17) What are the the context variable available with before delete event?

Trigger.old and Trigger.oldMap.

18) What are the the context variable available with after delete event?

Trigger.old and Trigger.oldMap.

Tags: #Interview questions on triggers in salesforce with answers, #Scenario based Interview Questions on triggers in Salesforce

19) What are the the context variable available with after undelete event?

Trigger.new and Trigger.newMap.

No comments:

Post a Comment