API version mismatch between org and xml getting created during workflow run #194120
Replies: 2 comments
-
|
I am trying to deploy flows but the flows contains new properties as per latest API version but when I am trying to deploy it via Github Actions it throws errors like properties not supported in particular API version whereas the target org is on same API but the package.xml which gets created during run goes to version 63 because of which it's not working... Any possible solution for this |
Beta Was this translation helpful? Give feedback.
-
|
The reason A few things to check in order. First, open Second, on the deploy command itself, pass Third, make sure the CLI itself is recent. An older CLI version can default to an older API. Add a step like Fourth, if you're using sfdx-git-delta to build the package, it has its own Fifth, for flows specifically, the individual Quick way to verify: after your build step, before the deploy step, If after fixing |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
🏷️ Discussion Type
Question
💬 Feature/Topic Area
Workflow Configuration
Discussion Details
Hi Community,
My target org in on API 66 but even when I am using sed or xmlstarlet to explicitly define the api version after fetching the target orgs API, the package. Xml getting generated during workflow run is 63... I am unable to get this fixed, Can anyone help who faced this issue or anyone having any idea how to resolve this.
Beta Was this translation helpful? Give feedback.
All reactions