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."

Open
#293 2 comments 2 reactions 0 assignees View on GitHub
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**
image

The flow metadata in the pull request shows that API version 61 is specified:
image

**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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.