Salesforce Platform Developer I (legacy) — Question 175
When a Task is created for a Contact, how can a developer prevent the task from being included on the Activity Timeline of the Contact's Account record?
Answer options
- A. In Activity Setting, uncheck Roll up activities to a contact's primary account.
- B. Create a Task trigger to set the Account field to NULL.
- C. Use Process Builder to create a process to set the Task Account field to blank.
- D. By default, tasks do not display on the Account Activity Timeline.
Correct answer: A
Explanation
The correct answer is A because unchecking the option in Activity Settings specifically prevents tasks from rolling up to the primary account's activity timeline. Options B and C may manipulate the Account field, but they don't directly address the timeline visibility setting. Option D is incorrect as tasks are typically included in the timeline unless configured otherwise.