2

I am able to retrieve the record type of opp object by first querying

SELECT sObjectType, DeveloperName FROM RecordType

But when i am deploying the same , i am getting the error "Error in field : BusinessProcess - no business process named Opportunity- BISG Retail photo found <line 3 , column 18>"

My package.xml to retieve and deploy the recordtype is

<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
    <types>
    <members>Opportunity.GMD_Record_Type</members>
    <members>Opportunity.BISG_Retail_Photo</members>
    <name>RecordType</name>
</types>
    <version>36.0</version>
</Package>

Any help/ideas?

3

It looks like in your file with the BISG_Retail_Photo RecordType you have <businessProcess/> defined named Opportunity- BISG Retail photo. But you might forgot to include this Business Process while deploying. You can check Business Process Metadata docs and ensure you have added this properly as well as add this Business Process to a package.xml file that you have posted.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.