AI-201 · Question #258
AI-201 Question #258: Real Exam Question with Answer & Explanation
The correct answer is C: Create a context variable mapped to the customer's membership tier field, then add a conditional. Per the AgentForce Configuration and Control Flow Guide, enforcing deterministic business rules - such as restricting certain actions based on a data condition-requires using context variables with conditional filters. The guide specifies: "Use context variables mapped to relevan
Question
Coral Cloud Resorts (CCR) wants to configure its agent so that booking actions are only available when a customer's membership tier is "Premium" or "Elite". This business rule must be enforced deterministically. What should CCR implement?
Options
- ASet up custom validation rules on the underlying booking objects to prevent non-eligible
- BConfigure topic instructions that clearly state booking actions should only be used for Premium or
- CCreate a context variable mapped to the customer's membership tier field, then add a conditional
Explanation
Per the AgentForce Configuration and Control Flow Guide, enforcing deterministic business rules - such as restricting certain actions based on a data condition-requires using context variables with conditional filters. The guide specifies: "Use context variables mapped to relevant Salesforce fields to store state information. Then apply conditional filters to ensure actions execute only when specific conditions (e.g., membership tier) are met." This ensures the rule is deterministic, meaning the action cannot trigger if the condition is not
Topics
Community Discussion
No community discussion yet for this question.