binxie
2024-01-19 491cdf387e0c67fb95410c06547ff062a11f7bd3
force-app/main/default/workflows/Maintenance_Contract__c.workflow-meta.xml
@@ -16,7 +16,7 @@
            <field>Service_Contract_Staff__c</field>
            <type>userLookup</type>
        </recipients>
        <senderAddress>ocm_te2ampj@olympus.com.cn</senderAddress>
        <senderAddress>lu_liu@olympus.com.cn</senderAddress>
        <senderType>OrgWideEmailAddress</senderType>
        <template>Olympus_OCM/Before_30_Days_Contract_End</template>
    </alerts>
@@ -37,7 +37,7 @@
            <field>Service_Contract_Staff__c</field>
            <type>userLookup</type>
        </recipients>
        <senderAddress>ocm_te2ampj@olympus.com.cn</senderAddress>
        <senderAddress>lu_liu@olympus.com.cn</senderAddress>
        <senderType>OrgWideEmailAddress</senderType>
        <template>Olympus_OCM/Before_7_Days_Contract_End</template>
    </alerts>
@@ -57,7 +57,7 @@
            <field>Service_Contract_Staff__c</field>
            <type>userLookup</type>
        </recipients>
        <senderAddress>ocm_te2ampj@olympus.com.cn</senderAddress>
        <senderAddress>lu_liu@olympus.com.cn</senderAddress>
        <senderType>OrgWideEmailAddress</senderType>
        <template>Olympus_OCM/Before_90_Days_Contract_End</template>
    </alerts>
@@ -97,7 +97,7 @@
            <field>Service_Contract_Staff__c</field>
            <type>userLookup</type>
        </recipients>
        <senderAddress>ocm_te2ampj@olympus.com.cn</senderAddress>
        <senderAddress>lu_liu@olympus.com.cn</senderAddress>
        <senderType>OrgWideEmailAddress</senderType>
        <template>Contract_Folder/ConsumptionRateIntervalRemind</template>
    </alerts>
@@ -876,10 +876,6 @@
            <type>user</type>
        </recipients>
        <recipients>
            <recipient>daisuke_goto@olympus.com.cn</recipient>
            <type>user</type>
        </recipients>
        <recipients>
            <recipient>haijuan_wang@olympus.com.cn</recipient>
            <type>user</type>
        </recipients>
@@ -893,10 +889,6 @@
        </recipients>
        <recipients>
            <recipient>jue_xu@olympus.com.cn</recipient>
            <type>user</type>
        </recipients>
        <recipients>
            <recipient>kazuyuki_tada@olympus.com.cn</recipient>
            <type>user</type>
        </recipients>
        <recipients>
@@ -2048,33 +2040,6 @@
        </criteriaItems>
        <description>契約終了日を過去日に更新した時</description>
        <triggerType>onAllChanges</triggerType>
    </rules>
    <rules>
        <fullName>草案中3天警報7天取消</fullName>
        <active>false</active>
        <criteriaItems>
            <field>Maintenance_Contract__c.Status__c</field>
            <operation>equals</operation>
            <value>草案中</value>
        </criteriaItems>
        <triggerType>onCreateOrTriggeringUpdate</triggerType>
        <workflowTimeTriggers>
            <actions>
                <name>X3dayspassed</name>
                <type>Task</type>
            </actions>
            <offsetFromField>Maintenance_Contract__c.CreatedDate</offsetFromField>
            <timeLength>3</timeLength>
            <workflowTimeTriggerUnit>Days</workflowTimeTriggerUnit>
        </workflowTimeTriggers>
        <workflowTimeTriggers>
            <actions>
                <name>Status_cancel</name>
                <type>FieldUpdate</type>
            </actions>
            <timeLength>7</timeLength>
            <workflowTimeTriggerUnit>Days</workflowTimeTriggerUnit>
        </workflowTimeTriggers>
    </rules>
    <rules>
        <fullName>虚拟维修合同日期文本化</fullName>