What should An Agentforce consider when using related list merge fields in a prompt template associated
with an Account object in Prompt Builder?
Show answerHide answer
Correct answer: A The Activities related list on the Account object is not supported because it is a polymorphic field.
Explanation
ExplanationWhen grounding a prompt template with related lists in Prompt Builder (Agentforce), it’s critical to know which related lists are supported and which are not.
✅ Here’s why Option A is correct:
1. The Activities related list on the Account object includes:
Tasks
Events
Emails
2. The relationship between activities and Account is polymorphic:
The WhoId and WhatId fields on activities can refer to multiple types of objects (e.g. Contact, Opportunity, Account, Custom Objects).
3. Because of this polymorphic structure:
The related list isn’t a standard child relationship in Salesforce’s data model.
It’s not directly supported in the grounding for related list merge fields in Prompt Builder.
Hence, Option A is correct — activities related lists cannot be used as related list merge fields in prompt templates due to their polymorphic nature.
Why the other options are incorrect:
Option B (Person accounts block merge fields on Account)
Person accounts still use the Account object.
Prompt Builder supports merge fields on Account even if person accounts are enabled.
No limitation exists that disables merge fields simply because person accounts are active.
Option C (No related list means no prompt response)
If no related list exists, the prompt will still run — it simply won’t inject data for that merge field.
The prompt template might produce an incomplete or less useful response, but it does not yield a blank or null prompt overall.
Thus, the important consideration is:
A. The Activities related list on the Account object is not supported because it is a polymorphic field.
🔗 Reference
Salesforce Developer Docs — Related Lists and Polymorphic Relationships
Salesforce Help — Related Lists for Prompt Templates