ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 346 - Certified Platform Developer II discussion

Report
Export

A developer is working with existing functionality that tracks how many times a stage has changed for an Opportunity. When the opportunity's stage is changed, a workflow rule is fired to increase the value of a filed by one. The developer wrote an after trigger to create a child record when the field changes from 4 to 5.

A user changes the stage of an Opportunities and manually sets the count field to 4. The count field updates to 5, but the child record is not created.

What is the reason this is happening?

A.
After triggers fire before workflow rules.
Answers
A.
After triggers fire before workflow rules.
B.
After triggers are not fired after field updates.
Answers
B.
After triggers are not fired after field updates.
C.
Trigger .new does not change after a field update.
Answers
C.
Trigger .new does not change after a field update.
D.
Trigger .old does not contain the updated value of the count field.
Answers
D.
Trigger .old does not contain the updated value of the count field.
Suggested answer: D
asked 23/09/2024
Andrea Di Giuseppe
34 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first