AI-201 · Question #93
An Agentforce wants to ground a new prompt template with the User related list. What should the Agentforce Specialist consider?
The correct answer is C. The User related list is not supported in prompt templates.. The User related list is a known unsupported grounding source in Salesforce Prompt Builder. Not all Salesforce objects and related lists are available as grounding data within prompt templates. The User object's related list is explicitly excluded from supported merge field sourc
Question
An Agentforce wants to ground a new prompt template with the User related list. What should the Agentforce Specialist consider?
Options
- AThe User related list should have View All access.
- BThe User related list needs to be included on the record page.
- CThe User related list is not supported in prompt templates.
How the community answered
(24 responses)- A4% (1)
- B4% (1)
- C92% (22)
Explanation
The User related list is a known unsupported grounding source in Salesforce Prompt Builder. Not all Salesforce objects and related lists are available as grounding data within prompt templates. The User object's related list is explicitly excluded from supported merge field sources. Specialists must verify which objects and related lists are supported before designing prompt templates that rely on specific data sources. Workarounds such as flows can be used to fetch user-related data and pass it into the prompt indirectly.
Topics
Community Discussion
No community discussion yet for this question.