2

Getting the error while on deploy package with sharing rules.

...
<sharingCriteriaRules>
    <fullName>Access_Refund_UK_Supervisor_UK</fullName>
    <accessLevel>Edit</accessLevel>
    <label>Access Refund UK Supervisor UK</label>
    <sharedTo>
        <role>Supervisor_UK</role>
    </sharedTo>
    <criteriaItems>
        <field>Customer_Locale__c</field>
        <operation>equals</operation>
        <value>en_GB</value>
    </criteriaItems>
</sharingCriteriaRules>
...

Error referenced to the line with the tag <sharingCriteriaRules>

  • 1
    Please make sure the role and the field exists within the package or already exists in the target system – Avijit Chakraborty Jan 21 at 1:59

Your Answer

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

Browse other questions tagged or ask your own question.