AI-201 · Question #206
AI-201 Question #206: Real Exam Question with Answer & Explanation
The correct answer is B: Create custom variables that store completion status for each step, then implement conditional. Comprehensive and Detailed Explanation From Exact Extract of AgentForce Documents: According to the AgentForce Orchestration and Action Sequencing Guidelines in the official documentation, deterministic execution order is best achieved by using custom state variables and conditio
Question
Coral Cloud Resorts needs to ensure its booking agent executes actions in a specific sequence: first retrieve available sessions, then verify customer eligibility, and finally create the booking. The current implementation allows the large language model (LLM) to execute these actions in any order, causing booking failures. Which approach should an AgentForce Specialist implement?
Options
- AWrite comprehensive topic instructions detailing the exact sequence of actions using numbered
- BCreate custom variables that store completion status for each step, then implement conditional
- CConfigure topic, classification description, and action instructions with priority levels and
Explanation
Comprehensive and Detailed Explanation From Exact Extract of AgentForce Documents: According to the AgentForce Orchestration and Action Sequencing Guidelines in the official documentation, deterministic execution order is best achieved by using custom state variables and conditional logic rather than relying solely on LLM reasoning or topic instructions. AgentForce's orchestration framework allows developers to define variables that represent the successful completion of specific actions (e.g., "sessionsRetrieved," "eligibilityVerified," etc.). Subsequent actions can then include conditional filters that only allow execution if prior steps have been completed. This approach ensures that actions execute in a strict, logical sequence - preventing the LLM from reordering steps arbitrarily.
Topics
Community Discussion
No community discussion yet for this question.