Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flow fails to push with a flowDefinition the first time #258

Open
pcon opened this issue Oct 31, 2017 · 1 comment
Open

Flow fails to push with a flowDefinition the first time #258

pcon opened this issue Oct 31, 2017 · 1 comment

Comments

@pcon
Copy link
Member

pcon commented Oct 31, 2017

If you try to push a new flow file to an instance without a single version and you include a flowDefinition the flow will fail to push with the following error

flowDefinitions/NEP_Notification.flowDefinition -- Error: You can't create a flow definition directly through the API. A flow definition is created automatically when you create a new flow version.

The temporary workaround is to add flowDefinitions/* to the sfdcignore file and push the flow. Then active the flow by removing it from the ignore file with the next push.

@pcon
Copy link
Member Author

pcon commented Oct 31, 2017

This relates to #218

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants