binxie
2024-01-20 e0de9222da210f9c8eb1a9f5400f936a14923e11
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?xml version="1.0" encoding="UTF-8"?>
<Workflow xmlns="http://soap.sforce.com/2006/04/metadata">
    <alerts>
        <fullName>ActionEmail</fullName>
        <ccEmails>Fuyu3103346691@163.com</ccEmails>
        <description>当工作标记由FALSE变为TRUE的时候给用户发送邮件</description>
        <protected>false</protected>
        <recipients>
            <type>owner</type>
        </recipients>
        <senderType>CurrentUser</senderType>
        <template>WeeklyReportDetails/DetailedDataOfWeeklyReport</template>
    </alerts>
    <rules>
        <fullName>WorkRecordIsTrueSendMail</fullName>
        <actions>
            <name>ActionEmail</name>
            <type>Alert</type>
        </actions>
        <active>true</active>
        <formula>IF (WorkMark__c == TRUE ,TRUE,FALSE)</formula>
        <triggerType>onCreateOnly</triggerType>
    </rules>
</Workflow>