<?xml version="1.0" encoding="UTF-8"?>
<Workflow xmlns="http://soap.sforce.com/2006/04/metadata">
    <fieldUpdates>
        <fullName>Automating_Birthdays_with_future_year_as</fullName>
        <description>Making Birthdate field is blank when we receiving future dates</description>
        <field>Birthdate__c</field>
        <name>Automating Birthdays with future year as</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Null</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>CopyCreatedFan</fullName>
        <field>Migration_CreatedDate__c</field>
        <formula>CreatedDate</formula>
        <name>CopyCreatedFan</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Formula</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <rules>
        <fullName>Automating Birthdays with future year as blank</fullName>
        <actions>
            <name>Automating_Birthdays_with_future_year_as</name>
            <type>FieldUpdate</type>
        </actions>
        <active>false</active>
        <booleanFilter>1 AND 2</booleanFilter>
        <criteriaItems>
            <field>Fan__c.Birthdate__c</field>
            <operation>greaterThan</operation>
            <value>TODAY</value>
        </criteriaItems>
        <criteriaItems>
            <field>Fan__c.Birthdate__c</field>
            <operation>notEqual</operation>
        </criteriaItems>
        <description>Automating Birthdays with future year as blank</description>
        <triggerType>onAllChanges</triggerType>
    </rules>
    <rules>
        <fullName>CopyCreated</fullName>
        <actions>
            <name>CopyCreatedFan</name>
            <type>FieldUpdate</type>
        </actions>
        <active>false</active>
        <formula>true</formula>
        <triggerType>onCreateOnly</triggerType>
    </rules>
</Workflow>
