From 0a2fc19461a141fbbb2c303142afdee22c72daac Mon Sep 17 00:00:00 2001
From: binxie <137736985@qq.com>
Date: 星期六, 20 一月 2024 09:56:08 +0800
Subject: [PATCH] workflow backup0120
---
force-app/main/default/workflows/Maintenance_Contract__c.workflow-meta.xml | 67 +++++++++++++++++++++------------
1 files changed, 42 insertions(+), 25 deletions(-)
diff --git a/force-app/main/default/workflows/Maintenance_Contract__c.workflow-meta.xml b/force-app/main/default/workflows/Maintenance_Contract__c.workflow-meta.xml
index 7f2ff26..cd1416d 100644
--- a/force-app/main/default/workflows/Maintenance_Contract__c.workflow-meta.xml
+++ b/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>18523460502@163.com</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>18523460502@163.com</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>18523460502@163.com</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>18523460502@163.com</senderAddress>
+ <senderAddress>lu_liu@olympus.com.cn</senderAddress>
<senderType>OrgWideEmailAddress</senderType>
<template>Contract_Folder/ConsumptionRateIntervalRemind</template>
</alerts>
@@ -241,7 +241,7 @@
</alerts>
<alerts>
<fullName>FifteenDaysBeforePayDay_Prepay</fullName>
- <ccEmails>SFDC_LiJin@olympus.com.cn.invalid</ccEmails>
+ <ccEmails>SFDC_LiJin@olympus.com.cn</ccEmails>
<description>15鏃ュ墠鎻愰啋-1锛堝厛娆撅級</description>
<protected>false</protected>
<recipients>
@@ -272,7 +272,7 @@
</alerts>
<alerts>
<fullName>FifteenDaysBeforePayDay_Prepay_2</fullName>
- <ccEmails>SFDC_LiJin@olympus.com.cn.invalid</ccEmails>
+ <ccEmails>SFDC_LiJin@olympus.com.cn</ccEmails>
<description>15鏃ュ墠鎻愰啋-2锛堝厛娆撅級</description>
<protected>false</protected>
<recipients>
@@ -304,7 +304,7 @@
</alerts>
<alerts>
<fullName>FifteenDaysBeforePayDay_Prepay_3</fullName>
- <ccEmails>SFDC_LiJin@olympus.com.cn.invalid</ccEmails>
+ <ccEmails>SFDC_LiJin@olympus.com.cn</ccEmails>
<description>15鏃ュ墠鎻愰啋-3锛堝厛娆撅級</description>
<protected>false</protected>
<recipients>
@@ -332,7 +332,7 @@
</alerts>
<alerts>
<fullName>FifteenDaysBeforePayDay_Prepay_4</fullName>
- <ccEmails>SFDC_LiJin@olympus.com.cn.invalid</ccEmails>
+ <ccEmails>SFDC_LiJin@olympus.com.cn</ccEmails>
<description>15鏃ュ墠鎻愰啋-4锛堝厛娆撅級</description>
<protected>false</protected>
<recipients>
@@ -364,7 +364,7 @@
</alerts>
<alerts>
<fullName>FifteenDaysBeforePayDay_Prepay_5</fullName>
- <ccEmails>SFDC_LiJin@olympus.com.cn.invalid</ccEmails>
+ <ccEmails>SFDC_LiJin@olympus.com.cn</ccEmails>
<description>15鏃ュ墠鎻愰啋-5锛堝厛娆撅級</description>
<protected>false</protected>
<recipients>
@@ -396,7 +396,7 @@
</alerts>
<alerts>
<fullName>FifteenDaysBeforePayDay_Prepay_6</fullName>
- <ccEmails>SFDC_LiJin@olympus.com.cn.invalid</ccEmails>
+ <ccEmails>SFDC_LiJin@olympus.com.cn</ccEmails>
<description>15鏃ュ墠鎻愰啋-6锛堝厛娆撅級</description>
<protected>false</protected>
<recipients>
@@ -1359,7 +1359,7 @@
<criteriaItems>
<field>Maintenance_Contract__c.Approval1__c</field>
<operation>equals</operation>
- <value>True</value>
+ <value>鐪�</value>
</criteriaItems>
<triggerType>onCreateOrTriggeringUpdate</triggerType>
</rules>
@@ -1389,7 +1389,7 @@
<criteriaItems>
<field>Maintenance_Contract__c.old_Is_RecognitionModel__c</field>
<operation>equals</operation>
- <value>True</value>
+ <value>鐪�</value>
</criteriaItems>
<triggerType>onCreateOrTriggeringUpdate</triggerType>
</rules>
@@ -1471,7 +1471,7 @@
<criteriaItems>
<field>Maintenance_Contract__c.Contract_End_Date__c</field>
<operation>greaterThan</operation>
- <value>TODAY</value>
+ <value>浠婂ぉ</value>
</criteriaItems>
<criteriaItems>
<field>Maintenance_Contract__c.RecordTypeId</field>
@@ -1521,7 +1521,7 @@
<criteriaItems>
<field>Maintenance_Contract__c.DevApply__c</field>
<operation>equals</operation>
- <value>True</value>
+ <value>鐪�</value>
</criteriaItems>
<triggerType>onCreateOrTriggeringUpdate</triggerType>
</rules>
@@ -1867,7 +1867,9 @@
<type>FieldUpdate</type>
</actions>
<active>true</active>
- <formula>Isblank(Text(SalesOfficeCode_selection__c)) && Case(Service_Contract_Staff__r.Province__c,'娴欐睙鐪�', IF(NOT(OR(Hospital__r.City_Master__r.Name == '鑸熷北甯�',Hospital__r.City_Master__r.Name == '缁嶅叴甯�',Hospital__r.City_Master__r.Name == '瀹佹尝甯�')),1,0), 0) == 1</formula>
+ <formula>Isblank(Text(SalesOfficeCode_selection__c))
+&& Case(Service_Contract_Staff__r.Province__c,'娴欐睙鐪�',
+ IF(NOT(OR(Hospital__r.City_Master__r.Name == '鑸熷北甯�',Hospital__r.City_Master__r.Name == '缁嶅叴甯�',Hospital__r.City_Master__r.Name == '瀹佹尝甯�')),1,0), 0) == 1</formula>
<triggerType>onCreateOnly</triggerType>
</rules>
<rules>
@@ -1877,7 +1879,9 @@
<type>FieldUpdate</type>
</actions>
<active>true</active>
- <formula>Isblank(Text(SalesOfficeCode_selection__c)) && Case(Service_Contract_Staff__r.Province__c, '涓婃捣甯�', 1, '绂忓缓鐪�', 1, '姹熻嫃鐪�', 1, '姹熻タ鐪�', 1, '瀹夊窘鐪�', 1 ,'娴欐睙鐪�', if(OR(Hospital__r.City_Master__r.Name == '鑸熷北甯�',Hospital__r.City_Master__r.Name == '缁嶅叴甯�',Hospital__r.City_Master__r.Name == '瀹佹尝甯�'),1,0) , 0 ) == 1</formula>
+ <formula>Isblank(Text(SalesOfficeCode_selection__c)) && Case(Service_Contract_Staff__r.Province__c, '涓婃捣甯�', 1, '绂忓缓鐪�', 1, '姹熻嫃鐪�', 1, '姹熻タ鐪�', 1, '瀹夊窘鐪�', 1
+ ,'娴欐睙鐪�', if(OR(Hospital__r.City_Master__r.Name == '鑸熷北甯�',Hospital__r.City_Master__r.Name == '缁嶅叴甯�',Hospital__r.City_Master__r.Name == '瀹佹尝甯�'),1,0)
+ , 0 ) == 1</formula>
<triggerType>onCreateOnly</triggerType>
</rules>
<rules>
@@ -1911,7 +1915,7 @@
<criteriaItems>
<field>Maintenance_Contract__c.Switch_TimeBase_WF__c</field>
<operation>equals</operation>
- <value>True</value>
+ <value>鐪�</value>
</criteriaItems>
<triggerType>onCreateOrTriggeringUpdate</triggerType>
<workflowTimeTriggers>
@@ -1935,7 +1939,7 @@
<criteriaItems>
<field>Maintenance_Contract__c.Switch_TimeBase_WF__c</field>
<operation>equals</operation>
- <value>True</value>
+ <value>鐪�</value>
</criteriaItems>
<triggerType>onCreateOrTriggeringUpdate</triggerType>
<workflowTimeTriggers>
@@ -1959,7 +1963,7 @@
<criteriaItems>
<field>Maintenance_Contract__c.Switch_TimeBase_WF__c</field>
<operation>equals</operation>
- <value>True</value>
+ <value>鐪�</value>
</criteriaItems>
<triggerType>onCreateOrTriggeringUpdate</triggerType>
<workflowTimeTriggers>
@@ -1993,12 +1997,12 @@
<criteriaItems>
<field>Maintenance_Contract__c.Switch_TimeBase_WF__c</field>
<operation>equals</operation>
- <value>True</value>
+ <value>鐪�</value>
</criteriaItems>
<criteriaItems>
<field>Maintenance_Contract__c.Contract_End_Date__c</field>
<operation>greaterOrEqual</operation>
- <value>TODAY</value>
+ <value>浠婂ぉ</value>
</criteriaItems>
<description>鏈潵鏃堕棿鐨勫伐浣滄祦</description>
<triggerType>onCreateOrTriggeringUpdate</triggerType>
@@ -2027,12 +2031,12 @@
<criteriaItems>
<field>Maintenance_Contract__c.Switch_TimeBase_WF__c</field>
<operation>equals</operation>
- <value>True</value>
+ <value>鐪�</value>
</criteriaItems>
<criteriaItems>
<field>Maintenance_Contract__c.Contract_End_Date__c</field>
<operation>lessThan</operation>
- <value>TODAY</value>
+ <value>浠婂ぉ</value>
</criteriaItems>
<description>濂戠磩绲備簡鏃ャ倰閬庡幓鏃ャ伀鏇存柊銇椼仧鏅�</description>
<triggerType>onAllChanges</triggerType>
@@ -2089,7 +2093,20 @@
</actions>
<active>false</active>
<description>褰撴洿鏂拌繃璇环璺熻繘淇℃伅涓换鎰忎竴涓俊鎭紝鍒欑粰鍙樻洿鏃ユ湡璧嬪��=鏈�鍚庢洿鏂版棩鏈�</description>
- <formula>OR(ISCHANGED(Opportunity_Stage__c), ISCHANGED(Sales_Method__c), ISCHANGED(Sales_Method_Other__c), ISCHANGED(Next_Action__c), ISCHANGED(Negotiation_Start_Date__c), ISCHANGED(Quotation_Submission_Date__c), ISCHANGED(Quotation_Decision_Date__c), ISCHANGED(Last_Update_Date__c), ISCHANGED(Expected_Check_Back_Date__c), ISCHANGED(Cumulative_Followup__c), ISCHANGED(Renewal_Status__c), ISCHANGED(No_Renewal_Reason__c) ) = true && ($User.ProfileId !='00e10000000Y3o5' && $User.Batch_User__c != true) && !ISNEW()</formula>
+ <formula>OR(ISCHANGED(Opportunity_Stage__c),
+ISCHANGED(Sales_Method__c),
+ISCHANGED(Sales_Method_Other__c),
+ISCHANGED(Next_Action__c),
+ISCHANGED(Negotiation_Start_Date__c),
+ISCHANGED(Quotation_Submission_Date__c),
+ISCHANGED(Quotation_Decision_Date__c),
+ISCHANGED(Last_Update_Date__c),
+ISCHANGED(Expected_Check_Back_Date__c),
+ISCHANGED(Cumulative_Followup__c),
+ISCHANGED(Renewal_Status__c),
+ISCHANGED(No_Renewal_Reason__c)
+) = true
+&& ($User.ProfileId !='00e10000000Y3o5' && $User.Batch_User__c != true) && !ISNEW()</formula>
<triggerType>onAllChanges</triggerType>
</rules>
<rules>
@@ -2098,7 +2115,7 @@
<criteriaItems>
<field>Maintenance_Contract__c.duplicate_deleate_request__c</field>
<operation>equals</operation>
- <value>True</value>
+ <value>鐪�</value>
</criteriaItems>
<triggerType>onCreateOrTriggeringUpdate</triggerType>
</rules>
--
Gitblit v1.9.1