AI-201 · Question #230
An administrator at Universal Containers has successfully deployed a new agent from a sandbox to production using a change set. The agent uses a prompt template that invokes a Salesforce flow to perfo
The correct answer is A. The flow was not manually activated in the production org after the deployment.. This is one of the most common post-deployment issues in Salesforce: when a Flow is included in a change set and deployed to production, it arrives in an inactive (Draft) state by default. The administrator must manually navigate to the Flow in Setup and activate it in the produc
Question
An administrator at Universal Containers has successfully deployed a new agent from a sandbox to production using a change set. The agent uses a prompt template that invokes a Salesforce flow to perform a complex calculation. In production, when users interact with the agent, it fails with an error message every time the flow is supposed to run. The flow was included in the change set and is present in production. What is the most likely cause of this issue?
Options
- AThe flow was not manually activated in the production org after the deployment.
- BThe user in production does not have permission to run the flow.
- CThe change set did not include the dependent Apex classes for the flow.
How the community answered
(32 responses)- A75% (24)
- B16% (5)
- C9% (3)
Explanation
This is one of the most common post-deployment issues in Salesforce: when a Flow is included in a change set and deployed to production, it arrives in an inactive (Draft) state by default. The administrator must manually navigate to the Flow in Setup and activate it in the production org. Since the flow is confirmed to be present but fails at runtime, inactive status is the most likely cause. Option B (permissions) is possible but would typically produce an access/authorization error rather than a generic failure, and is less common. Option C is less likely because if dependent Apex classes were missing, the change set deployment itself would have failed or the flow would not have been created successfully.
Topics
Community Discussion
No community discussion yet for this question.