forcedotcom / forcedotcom/devops-center-feedback
Cannot deploy flow. Error: "The component is supported in Metadata API version ##.# and later. To deploy this flow, update the API version."
- Dominant language
- No language data
- Stars
- 61
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
Attempting to deploy a flow (via promotion or sync) is failing with the error message:
"The [component name] component is supported in Metadata API version ##.# and later. To deploy this flow, update the API version."
The flow in question
- has an Action Button component within a Screen element
- is set to the API version referenced in the error message (v61)
- is the latest version of that flow in the source org
- is active
**To Reproduce**
Steps to reproduce the behavior:
1. Create a screen flow
2. Add an Action Button component to a screen
3. Save the flow using API version 61
4. Activate the flow
5. Install version 8.2 of DevOps Center
6. Promote the flow from a development environment to a pipeline environment. Or build the flow in a pipeline environment and sync a development environment
...
**Expected behavior**
The flow should deploy in the target environment
**Screenshots**
The flow metadata in the pull request shows that API version 61 is specified:
**Additional context**
To workaround the issue, I included the flow in a change set, uploaded to the target environment, and deployed without any errors. Then I promoted the work item to the same environment and there were no errors.
Contributor guide
Assessment
This issue has not been assessed yet.