Back

Explore Courses Blog Tutorials Interview Questions
0 votes
3 views
in Salesforce by (13.1k points)
I was trying to build an approval process but was facing difficulty to do manual creation of approval for each record. Is this can be done by ANT/Eclipse? Is there a way to do this?

1 Answer

0 votes
by (26.7k points)

You can able to perform the push/pull for the approval process using package.xml. You can try the below example to do this:

<?xml version="1.0" encoding="UTF-8"?>

<Package xmlns="http://soap.sforce.com/2006/04/metadata">

    <types>

        <members>*</members>

        <name>ApprovalProcess</name>

    </types>

    <types>

        <members>CustomObject__c</members>

        <name>Workflow</name>

    </types>

    <version>28.0</version>

</Package>

I hope this will work.

Want to become a Salesforce Expert? join salesforce developer certification now!

Related questions

0 votes
1 answer
0 votes
1 answer

Browse Categories

...