AI-201 · Question #145
AI-201 Question #145: Real Exam Question with Answer & Explanation
The correct answer is A: Specify the dependent actions with the reference to the action API name.. When a custom Agent action is not being prioritized correctly by the planner service, the root cause is often missing or improperly defined action dependencies. The planner service determines the execution order of actions based on dependencies defined in the action instructions.
Question
An Agentforce created a custom Agent action, but it is not being picked up by the planner service in the correct order. Which adjustment should the Al Specialist make in the custom Agent action instructions for the planner service to work as expected?
Options
- ASpecify the dependent actions with the reference to the action API name.
- BSpecify the profiles or custom permissions allowed to invoke the action.
- CSpecify the LLM model provider and version to be used to invoke the action.
Explanation
When a custom Agent action is not being prioritized correctly by the planner service, the root cause is often missing or improperly defined action dependencies. The planner service determines the execution order of actions based on dependencies defined in the action instructions. To resolve this, the Agentforce Specialist must explicitly specify dependent actions using their API names in the custom action's configuration. This ensures the planner understands the sequence in which actions must be executed to meet business logic requirements. Salesforce documentation highlights that dependencies are critical for orchestrating workflows in Einstein Bots and Agentforce. For example, if Action B requires data from Action A, Action A's API name must be listed as a dependency in Action B's instructions. The Einstein Bot Developer Guide states that failing to define dependencies can lead to race conditions or incorrect execution
Topics
Community Discussion
No community discussion yet for this question.