• Vivek Ravi 9
  • NEWBIE
  • 0 Points
  • Member since 2017

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 1
    Likes Given
  • 2
    Questions
  • 2
    Replies
Hello Team,

I am trying to push the process builder for a Campaign Object. This changes is pushed through Jenkins batch job(user is System admin) to the other environments.

I am getting the below error. Please help
 
All Component Failures:
1. flows/Update_Campaign_Hierarchy_fields_based_on_Tactic_Level-1.flow -- Error: myRule_1_A1 (Record Update) - The object "Campaign" can't be updated through a flow.
Hello All, 
Please help me out in this issue. I am currently working on lead mapping conversion. I have an custom  field called "context" in Lead object mapping to "Context" field in opportunity object. Since we use metadata to deploy the configurations, from version 39.0, it is allowed to use Leadconvert.setting file to map the fields in lead conersion. so i have written my code in the below format as suggested in Salesforce develoer page https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_leadconvertsettings.htm

I have created this file under setings folder as leadcovert.settings
<?xml version="1.0" encoding="UTF-8"?>
<LeadConvertSettings xmlns="http://soap.sforce.com/2006/04/metadata">
    <allowOwnerChange>false</allowOwnerChange>
    <objectMapping>
        <inputObject>Lead</inputObject>
        <mappingFields>
            <inputField>Business_Org__c</inputField>
            <outputField>Business_Org__c</outputField>
        </mappingFields>
        <mappingFields>
            <inputField>Campaign_Cell__c</inputField>
            <outputField>Campaign_Cell__c</outputField>
        </mappingFields>
        <mappingFields>
            <inputField>Priority__c</inputField>
            <outputField>Priority__c</outputField>
        </mappingFields>
        <mappingFields>
            <inputField>Source_Desc__c</inputField>
            <outputField>Source_Desc__c</outputField>
        </mappingFields>
        <mappingFields>
            <inputField>Source__c</inputField>
            <outputField>Source_Type__c</outputField>
        </mappingFields>
        <mappingFields>
            <inputField>Tracking_Code__c</inputField>
            <outputField>Campaign_Tracking_Code__c</outputField>
        </mappingFields>
        <mappingFields>
            <inputField>Context__c</inputField>
            <outputField>Context__c</outputField>

        </mappingFields>
        <outputObject>Opportunity</outputObject>
    </objectMapping>    
</LeadConvertSettings>

package.xml file contains
<!-- leadconvert setting -->
    <types>
    <members>LeadConvert</members>
    <name>Settings</name>
    </types>
    <!-- leadconvert end -->

so if i deploy the above code, i get this error "package.xml -- Error: The object 'LeadConvert' of type Settings metadata does not exist". Please let me know the issue. I also wanted to know if i need to include the existing mapped field values in the leadconvert.settings file or just the new mapping values??
Hello All, 
Please help me out in this issue. I am currently working on lead mapping conversion. I have an custom  field called "context" in Lead object mapping to "Context" field in opportunity object. Since we use metadata to deploy the configurations, from version 39.0, it is allowed to use Leadconvert.setting file to map the fields in lead conersion. so i have written my code in the below format as suggested in Salesforce develoer page https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_leadconvertsettings.htm

I have created this file under setings folder as leadcovert.settings
<?xml version="1.0" encoding="UTF-8"?>
<LeadConvertSettings xmlns="http://soap.sforce.com/2006/04/metadata">
    <allowOwnerChange>false</allowOwnerChange>
    <objectMapping>
        <inputObject>Lead</inputObject>
        <mappingFields>
            <inputField>Business_Org__c</inputField>
            <outputField>Business_Org__c</outputField>
        </mappingFields>
        <mappingFields>
            <inputField>Campaign_Cell__c</inputField>
            <outputField>Campaign_Cell__c</outputField>
        </mappingFields>
        <mappingFields>
            <inputField>Priority__c</inputField>
            <outputField>Priority__c</outputField>
        </mappingFields>
        <mappingFields>
            <inputField>Source_Desc__c</inputField>
            <outputField>Source_Desc__c</outputField>
        </mappingFields>
        <mappingFields>
            <inputField>Source__c</inputField>
            <outputField>Source_Type__c</outputField>
        </mappingFields>
        <mappingFields>
            <inputField>Tracking_Code__c</inputField>
            <outputField>Campaign_Tracking_Code__c</outputField>
        </mappingFields>
        <mappingFields>
            <inputField>Context__c</inputField>
            <outputField>Context__c</outputField>

        </mappingFields>
        <outputObject>Opportunity</outputObject>
    </objectMapping>    
</LeadConvertSettings>

package.xml file contains
<!-- leadconvert setting -->
    <types>
    <members>LeadConvert</members>
    <name>Settings</name>
    </types>
    <!-- leadconvert end -->

so if i deploy the above code, i get this error "package.xml -- Error: The object 'LeadConvert' of type Settings metadata does not exist". Please let me know the issue. I also wanted to know if i need to include the existing mapped field values in the leadconvert.settings file or just the new mapping values??

While Deploying components from one salesforce org(Sandbox) to another salesforce org(Sandbox) using migration tool, I am getting below errors,
1. package.xml (settings/LeadConvert.settings) -- Error: settings/LeadConvert.settings is not a valid metadata object. Check the name and casing of the file.
2. objects/Event.object -- Error: SaveEdit is not a standard action and cannot be overridden.
3. objects/Order.object -- Error: Activate is not a standard action and cannot be overridden.

Note : I am getting this errors while deploying components using migration tool (Bamboo) from one sandbox to other sandboxes. fortunately, I am able to deploy component from sandbox to production org, so one possible reason could be the recent update of a sandbox with Spring ’17 Release. 

Any response would be graciously appreciated!

Thank you.



 

  • January 11, 2017
  • Like
  • 3

While Deploying components from one salesforce org(Sandbox) to another salesforce org(Sandbox) using migration tool, I am getting below errors,
1. package.xml (settings/LeadConvert.settings) -- Error: settings/LeadConvert.settings is not a valid metadata object. Check the name and casing of the file.
2. objects/Event.object -- Error: SaveEdit is not a standard action and cannot be overridden.
3. objects/Order.object -- Error: Activate is not a standard action and cannot be overridden.

Note : I am getting this errors while deploying components using migration tool (Bamboo) from one sandbox to other sandboxes. fortunately, I am able to deploy component from sandbox to production org, so one possible reason could be the recent update of a sandbox with Spring ’17 Release. 

Any response would be graciously appreciated!

Thank you.



 

  • January 11, 2017
  • Like
  • 3