BlackFriday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce Exam CRT-450 Topic 3 Question 65 Discussion

Actual exam question for Salesforce's CRT-450 exam
Question #: 65
Topic #: 3
[All CRT-450 Questions]

What is the value of the Trigger.old context variable in a before insert trigger?

Show Suggested Answer Hide Answer
Suggested Answer: D

Contribute your Thoughts:

Jean
1 months ago
Haha, this is a tricky one. Trigger.old is like a ghost in the machine - it's there, but it's also not there. Option B ftw!
upvoted 0 times
Lai
7 days ago
Definitely option B, Trigger.old is undefined in a before insert trigger.
upvoted 0 times
...
Gerald
8 days ago
Yeah, Trigger.old is like a ghost, it's not there. Option B is the answer.
upvoted 0 times
...
Lonny
17 days ago
I think it's option B, Trigger.old is undefined.
upvoted 0 times
...
...
Jarvis
1 months ago
I'm not sure, but I think it's D) An empty list of sObjects because there are no existing records to compare in a before insert trigger.
upvoted 0 times
...
Juan
1 months ago
Wait, isn't Trigger.old supposed to be the old version of the record? How can it be null or an empty list in a before insert trigger? This is confusing!
upvoted 0 times
Tijuana
3 days ago
User3: B) Undefined
upvoted 0 times
...
Carin
6 days ago
User2: A) list of newly created sObjects without IDs
upvoted 0 times
...
Sharen
11 days ago
I think Trigger.old is supposed to be the old version of the record.
upvoted 0 times
...
...
Reena
1 months ago
Option D seems right to me. The Trigger.old is an empty list of sObjects in a before insert trigger.
upvoted 0 times
...
Jeannine
2 months ago
Hmm, I'm going to have to go with option B. Trigger.old is null because the record hasn't been inserted yet, right?
upvoted 0 times
Ryann
16 days ago
I agree with User2, it's B) Undefined
upvoted 0 times
...
Micheal
25 days ago
I believe it's B) Undefined
upvoted 0 times
...
Gail
1 months ago
I think it's A) list of newly created sObjects without IDs
upvoted 0 times
...
...
Xenia
2 months ago
I believe it is A) A list of newly created sObjects without IDs.
upvoted 0 times
...
Trevor
2 months ago
I'm pretty sure the Trigger.old context variable is null in a before insert trigger. It just doesn't make sense for it to contain anything else.
upvoted 0 times
Lilli
10 days ago
Definitely, it's null.
upvoted 0 times
...
Haydee
12 days ago
It wouldn't make sense for it to be anything else.
upvoted 0 times
...
Pamella
16 days ago
Yeah, Trigger.old is null in a before insert trigger.
upvoted 0 times
...
Kip
1 months ago
I think it's null.
upvoted 0 times
...
...
Jarvis
2 months ago
I think the value of Trigger.old in a before insert trigger is D) An empty list of sObjects.
upvoted 0 times
...

Save Cancel