+ Start a Discussion
AppSynthAppSynth 

Can workflows be deployed from .workflow files using ant?

I have been trying to deploy .workflow files retrieved from a Salesforce org using ant back to the same Salesforce org using ant. It doesn't work. No matter what I try, Salesforce says that all of the names of the alerts, rules, fieldUpdates, etc. in the .workflow files are missing from the package.xml. I've tried both "*" and listing every single name in the package.xml. I've tried adding objectName. qualifications to the names in the .workflow file and the package.xml file. Same error, only with the qualifiers added to the "missing" names. I've tried deploying the workflows back using Eclipse (with the Force.com IDE). Same errors, differently phrased by the IDE.

These are freshly retrieved .workflow files, no alterations to either the .workflow or the package.xml used to retrieve them.

Has anyone out there done this successfully?
Pratik_MPratik_M
Hi,

You can refer to this document which has the the issues and solutions mentioned for the Migration issue:  
http://www.salesforce.com/us/developer/docs/daas/Content/commondeploymentissues.htm