<?xml version="1.0" encoding="UTF-8"?>
<Workflow xmlns="http://soap.sforce.com/2006/04/metadata">
    <alerts>
        <fullName>Email_Alert_for_All_Contacts_Error</fullName>
        <ccEmails>salesforce.martech@sonymusic-pde.com</ccEmails>
        <description>Email Alert for All Contacts Error</description>
        <protected>false</protected>
        <senderType>CurrentUser</senderType>
        <template>unfiled$public/All_Contacts_Deletion_Error_Template</template>
    </alerts>
    <rules>
        <fullName>All Contacts Error Notification</fullName>
        <actions>
            <name>Email_Alert_for_All_Contacts_Error</name>
            <type>Alert</type>
        </actions>
        <active>false</active>
        <criteriaItems>
            <field>Fan_MC_Cleanup__c.Status__c</field>
            <operation>notEqual</operation>
        </criteriaItems>
        <criteriaItems>
            <field>Fan_MC_Cleanup__c.Status__c</field>
            <operation>notEqual</operation>
            <value>Completed</value>
        </criteriaItems>
        <criteriaItems>
            <field>Fan_MC_Cleanup__c.Operation_ID__c</field>
            <operation>notEqual</operation>
        </criteriaItems>
        <criteriaItems>
            <field>Fan_MC_Cleanup__c.Delete_Request_Triggered__c</field>
            <operation>equals</operation>
            <value>True</value>
        </criteriaItems>
        <triggerType>onAllChanges</triggerType>
    </rules>
</Workflow>
