+ Start a Discussion
Here-n-nowHere-n-now 

Is it possible to retrieve/deploy a single workflow rule by Force.com Migration Tool?

I can do it readily on an object level - say everything workflow on Opportunity, but I can't seem to figure out how to do a single workflow rule (or field update, etc.).  I tried this syntax in package.xml but it kept coming back with "not found" (verified name already).

 

    <types>
        <members>Opportunity.Create external ID</members>
        <name>Workflow</name>
    </types>

 

Just for reference, the same thing for every workflow item in Opportunity is simply

 

    <types>
        <members>Opportunity</members>
        <name>Workflow</name>
    </types>

 

And that worked fine.

I assume there's a way to do it.  Change Set can do it, why wouldn't Ant?