binxie
2024-01-20 1d91be0be5220ce19ee64de5a5c9a8237b1c15b1
force-app/main/default/workflows/QIS_SC_Report__c.workflow-meta.xml
New file
@@ -0,0 +1,263 @@
<?xml version="1.0" encoding="UTF-8"?>
<Workflow xmlns="http://soap.sforce.com/2006/04/metadata">
    <alerts>
        <fullName>ActionEmail21</fullName>
        <description>市场部通知部长,对应方法为“送回”时</description>
        <protected>false</protected>
        <recipients>
            <recipient>it_prectech@olympus.com.cn</recipient>
            <type>user</type>
        </recipients>
        <senderType>CurrentUser</senderType>
        <template>QIS/SC_ET_answer_submit_html</template>
    </alerts>
    <alerts>
        <fullName>QIS1</fullName>
        <description>部长审批完成后,发送邮件给”QIS判定结果通知”收件人及营业助理</description>
        <protected>false</protected>
        <recipients>
            <recipient>it_prectech@olympus.com.cn</recipient>
            <type>user</type>
        </recipients>
        <senderType>CurrentUser</senderType>
        <template>QIS/QIS_SC_answer_submit_html</template>
    </alerts>
    <alerts>
        <fullName>QIS_Market_Classification1</fullName>
        <description>部长审批完成后,发送邮件给”QIS判定结果通知”收件人及营业助理</description>
        <protected>false</protected>
        <recipients>
            <field>BusinessAssistantNos__c</field>
            <type>userLookup</type>
        </recipients>
        <recipients>
            <field>QIS_FSE__c</field>
            <type>userLookup</type>
        </recipients>
        <senderType>CurrentUser</senderType>
        <template>QIS/QIS_SC_answer_submit_html</template>
    </alerts>
    <alerts>
        <fullName>QIS_Market_Classification112</fullName>
        <description>部长审批完成后,发送邮件给”QIS判定结果通知”收件人及营业助理</description>
        <protected>false</protected>
        <recipients>
            <field>BusinessAssistantNos__c</field>
            <type>userLookup</type>
        </recipients>
        <recipients>
            <field>QIS_FSE__c</field>
            <type>userLookup</type>
        </recipients>
        <senderType>CurrentUser</senderType>
        <template>QIS/QIS_SC_answer_submit_html</template>
    </alerts>
    <alerts>
        <fullName>QIS_Market_Classification122</fullName>
        <description>部长审批完成后,发送邮件给”QIS判定结果通知”收件人及营业助理</description>
        <protected>false</protected>
        <recipients>
            <field>BusinessAssistantNos__c</field>
            <type>userLookup</type>
        </recipients>
        <recipients>
            <field>QIS_FSE__c</field>
            <type>userLookup</type>
        </recipients>
        <senderType>CurrentUser</senderType>
        <template>QIS/QIS_SC_answer_submit_html</template>
    </alerts>
    <alerts>
        <fullName>RC1</fullName>
        <description>当RC判定的对应方法为“送回”时,通知</description>
        <protected>false</protected>
        <recipients>
            <recipient>it_prectech@olympus.com.cn</recipient>
            <type>user</type>
        </recipients>
        <senderType>CurrentUser</senderType>
        <template>QIS/QIS_ET_answer_submit_html</template>
    </alerts>
    <alerts>
        <fullName>RC2</fullName>
        <description>当RC判定的对应方法为“送回”时,按照以下邮件通知</description>
        <protected>false</protected>
        <recipients>
            <recipient>it_prectech@olympus.com.cn</recipient>
            <type>user</type>
        </recipients>
        <senderType>CurrentUser</senderType>
        <template>QIS/QIS_ET_answer_submit_html</template>
    </alerts>
    <alerts>
        <fullName>RC3</fullName>
        <description>当RC判定的对应方法为“送回”时,按照以下邮件通知</description>
        <protected>false</protected>
        <recipients>
            <recipient>it_prectech@olympus.com.cn</recipient>
            <type>user</type>
        </recipients>
        <senderType>CurrentUser</senderType>
        <template>QIS/SC_ET_answer_submit_html</template>
    </alerts>
    <fieldUpdates>
        <fullName>ActionFieldUpdate</fullName>
        <field>Status__c</field>
        <literalValue>草案中</literalValue>
        <name>更新状态</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Literal</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>ActionFieldUpdate1</fullName>
        <field>Status__c</field>
        <literalValue>已批准</literalValue>
        <name>更新状态</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Literal</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>ActionFieldUpdate7</fullName>
        <field>Status__c</field>
        <literalValue>已批准</literalValue>
        <name>更新状态</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Literal</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>ActionFieldUpdate8</fullName>
        <field>Status__c</field>
        <literalValue>草案中</literalValue>
        <name>更新状态</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Literal</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>ActionFieldUpdate9</fullName>
        <field>Status__c</field>
        <literalValue>草案中</literalValue>
        <name>更新状态</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Literal</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>UniqKeyUpd</fullName>
        <field>UniqKey__c</field>
        <formula>QIS_Report__c</formula>
        <name>UniqKey更新</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Formula</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>UpdateStatus</fullName>
        <field>Status__c</field>
        <literalValue>批准中</literalValue>
        <name>更新状态</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Literal</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>UpdateStatus2</fullName>
        <field>Status__c</field>
        <literalValue>批准中</literalValue>
        <name>更新状态</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Literal</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>UpdateStatus3</fullName>
        <field>Status__c</field>
        <literalValue>草案中</literalValue>
        <name>更新状态</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Literal</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>UpdateStatus4</fullName>
        <field>Status__c</field>
        <literalValue>草案中</literalValue>
        <name>更新状态</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Literal</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>UpdateStatus5</fullName>
        <field>Status__c</field>
        <literalValue>已提交</literalValue>
        <name>更新状态_已提交</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Literal</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>UpdateStatus7</fullName>
        <field>Status__c</field>
        <literalValue>草案中</literalValue>
        <name>更新状态_草案中</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Literal</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>UpdateStatus8</fullName>
        <field>Status__c</field>
        <literalValue>草案中</literalValue>
        <name>更新状态_草案中</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Literal</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>UpdateYYZhuli</fullName>
        <field>BusinessAssistantNoEmail__c</field>
        <formula>BusinessAssistantNoEmail__c</formula>
        <name>更新市场部营业助理</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Formula</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <rules>
        <fullName>公式拷贝到文本</fullName>
        <actions>
            <name>UniqKeyUpd</name>
            <type>FieldUpdate</type>
        </actions>
        <active>true</active>
        <formula>True</formula>
        <triggerType>onCreateOrTriggeringUpdate</triggerType>
    </rules>
    <rules>
        <fullName>公式拷贝到文本营业助理</fullName>
        <actions>
            <name>UpdateYYZhuli</name>
            <type>FieldUpdate</type>
        </actions>
        <active>false</active>
        <formula>True</formula>
        <triggerType>onCreateOrTriggeringUpdate</triggerType>
    </rules>
</Workflow>