From 22bd41f13147fce1df6ff35b592720c9cb387de9 Mon Sep 17 00:00:00 2001
From: binxie <137736985@qq.com>
Date: 星期四, 18 一月 2024 15:19:29 +0800
Subject: [PATCH] ali5 workflow backup0118

---
 force-app/main/default/workflows/Account.workflow-meta.xml |  162 +++++++++++++++++++++++++++++++++++++++++++++---------
 1 files changed, 135 insertions(+), 27 deletions(-)

diff --git a/force-app/main/default/workflows/Account.workflow-meta.xml b/force-app/main/default/workflows/Account.workflow-meta.xml
index 0bb806d..c018d3b 100644
--- a/force-app/main/default/workflows/Account.workflow-meta.xml
+++ b/force-app/main/default/workflows/Account.workflow-meta.xml
@@ -88,9 +88,9 @@
     </alerts>
     <alerts>
         <fullName>Approach_Confirm</fullName>
-        <ccEmails>wei_yin@olympus.com.cn.invalid</ccEmails>
-        <ccEmails>dongfeng_li@olympus.com.cn.invalid</ccEmails>
-        <ccEmails>xiaochang_yu@olympus.com.cn.invalid</ccEmails>
+        <ccEmails>wei_yin@olympus.com.cn</ccEmails>
+        <ccEmails>dongfeng_li@olympus.com.cn</ccEmails>
+        <ccEmails>xiaochang_yu@olympus.com.cn</ccEmails>
         <description>瀹℃壒閫氳繃</description>
         <protected>false</protected>
         <recipients>
@@ -104,7 +104,19 @@
         <description>璧勮川瀹℃壒閫氳繃閭欢</description>
         <protected>false</protected>
         <recipients>
+            <recipient>chunxia_gao@olympus.com.cn</recipient>
+            <type>user</type>
+        </recipients>
+        <recipients>
+            <recipient>jing_zhu@olympus.com.cn</recipient>
+            <type>user</type>
+        </recipients>
+        <recipients>
             <recipient>jingjing_zhou@olympus.com.cn</recipient>
+            <type>user</type>
+        </recipients>
+        <recipients>
+            <recipient>lewei_li@olympus.com.cn</recipient>
             <type>user</type>
         </recipients>
         <recipients>
@@ -112,7 +124,27 @@
             <type>user</type>
         </recipients>
         <recipients>
+            <recipient>lu_zheng@olympus.com.cn</recipient>
+            <type>user</type>
+        </recipients>
+        <recipients>
+            <recipient>meng_cao@olympus.com.cn</recipient>
+            <type>user</type>
+        </recipients>
+        <recipients>
             <recipient>qi_qiao@olympus.com.cn</recipient>
+            <type>user</type>
+        </recipients>
+        <recipients>
+            <recipient>wenjun_du@olympus.com.cn</recipient>
+            <type>user</type>
+        </recipients>
+        <recipients>
+            <recipient>xiaoqian_chen@olympus.com.cn</recipient>
+            <type>user</type>
+        </recipients>
+        <recipients>
+            <recipient>xue3_wang@olympus.com.cn</recipient>
             <type>user</type>
         </recipients>
         <recipients>
@@ -883,7 +915,11 @@
             <type>FieldUpdate</type>
         </actions>
         <active>false</active>
-        <formula>AND( Submit_Customer_target__c = TRUE, Plan_approved__c = TRUE, NOT(ISBLANK(Review_FSE__c)), ISCHANGED(FSEManager_feedback_check_FSE__c))</formula>
+        <formula>AND(
+Submit_Customer_target__c = TRUE,
+Plan_approved__c = TRUE,
+NOT(ISBLANK(Review_FSE__c)),
+ISCHANGED(FSEManager_feedback_check_FSE__c))</formula>
         <triggerType>onAllChanges</triggerType>
     </rules>
     <rules>
@@ -901,7 +937,13 @@
             <type>FieldUpdate</type>
         </actions>
         <active>true</active>
-        <formula>AND( Submit_Customer_target_FSE__c = true, Plan_approved_FSE__c = true, NOT(ISBLANK(Review_FSE__c)),  NOT(ISBLANK(FSEManager_feedback_check_FSE__c)), ISCHANGED(FSEManager_feedback_check_FSE__c), OR(month(today())=4,month(today())=5,month(today())=6))</formula>
+        <formula>AND(
+Submit_Customer_target_FSE__c = true,
+Plan_approved_FSE__c = true,
+NOT(ISBLANK(Review_FSE__c)), 
+NOT(ISBLANK(FSEManager_feedback_check_FSE__c)),
+ISCHANGED(FSEManager_feedback_check_FSE__c),
+OR(month(today())=4,month(today())=5,month(today())=6))</formula>
         <triggerType>onAllChanges</triggerType>
     </rules>
     <rules>
@@ -919,7 +961,13 @@
             <type>FieldUpdate</type>
         </actions>
         <active>true</active>
-        <formula>AND( Submit_Customer_target_FSE__c = true, Plan_approved_FSE__c = true, NOT(ISBLANK(Review_FSE__c)),  NOT(ISBLANK(FSEManager_feedback_check_FSE__c)), ISCHANGED(FSEManager_feedback_check_FSE__c), OR(month(today())=7,month(today())=8,month(today())=9))</formula>
+        <formula>AND(
+Submit_Customer_target_FSE__c = true,
+Plan_approved_FSE__c = true,
+NOT(ISBLANK(Review_FSE__c)), 
+NOT(ISBLANK(FSEManager_feedback_check_FSE__c)),
+ISCHANGED(FSEManager_feedback_check_FSE__c),
+OR(month(today())=7,month(today())=8,month(today())=9))</formula>
         <triggerType>onAllChanges</triggerType>
     </rules>
     <rules>
@@ -937,7 +985,13 @@
             <type>FieldUpdate</type>
         </actions>
         <active>true</active>
-        <formula>AND( Submit_Customer_target_FSE__c = true, Plan_approved_FSE__c = true, NOT(ISBLANK(Review_FSE__c)),  NOT(ISBLANK(FSEManager_feedback_check_FSE__c)), ISCHANGED(FSEManager_feedback_check_FSE__c), OR(month(today())=10,month(today())=11,month(today())=12))</formula>
+        <formula>AND(
+Submit_Customer_target_FSE__c = true,
+Plan_approved_FSE__c = true,
+NOT(ISBLANK(Review_FSE__c)), 
+NOT(ISBLANK(FSEManager_feedback_check_FSE__c)),
+ISCHANGED(FSEManager_feedback_check_FSE__c),
+OR(month(today())=10,month(today())=11,month(today())=12))</formula>
         <triggerType>onAllChanges</triggerType>
     </rules>
     <rules>
@@ -955,7 +1009,13 @@
             <type>FieldUpdate</type>
         </actions>
         <active>true</active>
-        <formula>AND( Submit_Customer_target_FSE__c = true, Plan_approved_FSE__c = true, NOT(ISBLANK(Review_FSE__c)),  NOT(ISBLANK(FSEManager_feedback_check_FSE__c)), ISCHANGED(FSEManager_feedback_check_FSE__c), OR(month(today())=1,month(today())=2,month(today())=3))</formula>
+        <formula>AND(
+Submit_Customer_target_FSE__c = true,
+Plan_approved_FSE__c = true,
+NOT(ISBLANK(Review_FSE__c)), 
+NOT(ISBLANK(FSEManager_feedback_check_FSE__c)),
+ISCHANGED(FSEManager_feedback_check_FSE__c),
+OR(month(today())=1,month(today())=2,month(today())=3))</formula>
         <triggerType>onAllChanges</triggerType>
     </rules>
     <rules>
@@ -972,12 +1032,12 @@
         <criteriaItems>
             <field>Account.Submit_Customer_target_FSE__c</field>
             <operation>equals</operation>
-            <value>True</value>
+            <value>鐪�</value>
         </criteriaItems>
         <criteriaItems>
             <field>Account.Plan_approved_FSE__c</field>
             <operation>equals</operation>
-            <value>True</value>
+            <value>鐪�</value>
         </criteriaItems>
         <criteriaItems>
             <field>Account.FSE_activity_target_Plan_check_day__c</field>
@@ -1011,7 +1071,8 @@
             <type>FieldUpdate</type>
         </actions>
         <active>true</active>
-        <formula>AND(ISCHANGED(Review_FSE__c),    OR(text(month(today()))=&quot;4&quot;,text(month(today()))=&quot;5&quot;,text(month(today()))=&quot;6&quot;))</formula>
+        <formula>AND(ISCHANGED(Review_FSE__c),
+   OR(text(month(today()))=&quot;4&quot;,text(month(today()))=&quot;5&quot;,text(month(today()))=&quot;6&quot;))</formula>
         <triggerType>onAllChanges</triggerType>
     </rules>
     <rules>
@@ -1025,7 +1086,8 @@
             <type>FieldUpdate</type>
         </actions>
         <active>true</active>
-        <formula>AND(ISCHANGED(Review_Sales__c),    OR(text(month(today()))=&quot;4&quot;,text(month(today()))=&quot;5&quot;,text(month(today()))=&quot;6&quot;))</formula>
+        <formula>AND(ISCHANGED(Review_Sales__c),
+   OR(text(month(today()))=&quot;4&quot;,text(month(today()))=&quot;5&quot;,text(month(today()))=&quot;6&quot;))</formula>
         <triggerType>onAllChanges</triggerType>
     </rules>
     <rules>
@@ -1039,7 +1101,8 @@
             <type>FieldUpdate</type>
         </actions>
         <active>true</active>
-        <formula>AND(ISCHANGED(Review_FSE__c),  OR(text(month(today()))=&quot;7&quot;,text(month(today()))=&quot;8&quot;,text(month(today()))=&quot;9&quot;))</formula>
+        <formula>AND(ISCHANGED(Review_FSE__c), 
+OR(text(month(today()))=&quot;7&quot;,text(month(today()))=&quot;8&quot;,text(month(today()))=&quot;9&quot;))</formula>
         <triggerType>onAllChanges</triggerType>
     </rules>
     <rules>
@@ -1053,7 +1116,8 @@
             <type>FieldUpdate</type>
         </actions>
         <active>true</active>
-        <formula>AND(ISCHANGED(Review_Sales__c),  OR(text(month(today()))=&quot;7&quot;,text(month(today()))=&quot;8&quot;,text(month(today()))=&quot;9&quot;))</formula>
+        <formula>AND(ISCHANGED(Review_Sales__c), 
+OR(text(month(today()))=&quot;7&quot;,text(month(today()))=&quot;8&quot;,text(month(today()))=&quot;9&quot;))</formula>
         <triggerType>onAllChanges</triggerType>
     </rules>
     <rules>
@@ -1067,7 +1131,8 @@
             <type>FieldUpdate</type>
         </actions>
         <active>true</active>
-        <formula>AND(ISCHANGED(Review_FSE__c),  OR(text(month(today()))=&quot;10&quot;,text(month(today()))=&quot;11&quot;,text(month(today()))=&quot;12&quot;))</formula>
+        <formula>AND(ISCHANGED(Review_FSE__c), 
+OR(text(month(today()))=&quot;10&quot;,text(month(today()))=&quot;11&quot;,text(month(today()))=&quot;12&quot;))</formula>
         <triggerType>onAllChanges</triggerType>
     </rules>
     <rules>
@@ -1081,7 +1146,8 @@
             <type>FieldUpdate</type>
         </actions>
         <active>true</active>
-        <formula>AND(ISCHANGED(Review_Sales__c),  OR(text(month(today()))=&quot;10&quot;,text(month(today()))=&quot;11&quot;,text(month(today()))=&quot;12&quot;))</formula>
+        <formula>AND(ISCHANGED(Review_Sales__c), 
+OR(text(month(today()))=&quot;10&quot;,text(month(today()))=&quot;11&quot;,text(month(today()))=&quot;12&quot;))</formula>
         <triggerType>onAllChanges</triggerType>
     </rules>
     <rules>
@@ -1095,7 +1161,8 @@
             <type>FieldUpdate</type>
         </actions>
         <active>true</active>
-        <formula>AND(ISCHANGED(Review_FSE__c),  OR(text(month(today()))=&quot;1&quot;,text(month(today()))=&quot;2&quot;,text(month(today()))=&quot;3&quot;))</formula>
+        <formula>AND(ISCHANGED(Review_FSE__c), 
+OR(text(month(today()))=&quot;1&quot;,text(month(today()))=&quot;2&quot;,text(month(today()))=&quot;3&quot;))</formula>
         <triggerType>onAllChanges</triggerType>
     </rules>
     <rules>
@@ -1109,7 +1176,8 @@
             <type>FieldUpdate</type>
         </actions>
         <active>true</active>
-        <formula>AND(ISCHANGED(Review_Sales__c),  OR(text(month(today()))=&quot;1&quot;,text(month(today()))=&quot;2&quot;,text(month(today()))=&quot;3&quot;))</formula>
+        <formula>AND(ISCHANGED(Review_Sales__c), 
+OR(text(month(today()))=&quot;1&quot;,text(month(today()))=&quot;2&quot;,text(month(today()))=&quot;3&quot;))</formula>
         <triggerType>onAllChanges</triggerType>
     </rules>
     <rules>
@@ -1119,7 +1187,12 @@
             <type>FieldUpdate</type>
         </actions>
         <active>true</active>
-        <formula>OR( ISCHANGED(Name) ,  ISCHANGED(Site),  ISCHANGED(Alias_Name2__c),  ISCHANGED(City_Master__c),  ISCHANGED(Town__c),  ISCHANGED(Street__c))</formula>
+        <formula>OR( ISCHANGED(Name) , 
+ISCHANGED(Site), 
+ISCHANGED(Alias_Name2__c), 
+ISCHANGED(City_Master__c), 
+ISCHANGED(Town__c), 
+ISCHANGED(Street__c))</formula>
         <triggerType>onAllChanges</triggerType>
     </rules>
     <rules>
@@ -1375,7 +1448,14 @@
         </actions>
         <active>false</active>
         <description>銉偝銉笺儔銈裤偆銉楀绱勩伄鏅傘仩銇戝嫊銇嶃伨銇欍��</description>
-        <formula>Or(   And(     Isnew(),     Not(ISPICKVAL(Contract_Fiscal_Period__c, &apos;&apos;))   ),   Ischanged(Contract_Fiscal_Period__c),    RecordType.DeveloperName = &apos;AgencyContract&apos; )</formula>
+        <formula>Or(
+  And(
+    Isnew(),
+    Not(ISPICKVAL(Contract_Fiscal_Period__c, &apos;&apos;))
+  ),
+  Ischanged(Contract_Fiscal_Period__c),
+   RecordType.DeveloperName = &apos;AgencyContract&apos;
+)</formula>
         <triggerType>onAllChanges</triggerType>
     </rules>
     <rules>
@@ -1403,7 +1483,11 @@
             <type>FieldUpdate</type>
         </actions>
         <active>false</active>
-        <formula>AND( Submit_Customer_target__c = TRUE, Plan_approved__c = TRUE, NOT(ISBLANK(Review_Sales__c)), ISCHANGED(Manager_feedback_check__c))</formula>
+        <formula>AND(
+Submit_Customer_target__c = TRUE,
+Plan_approved__c = TRUE,
+NOT(ISBLANK(Review_Sales__c)),
+ISCHANGED(Manager_feedback_check__c))</formula>
         <triggerType>onAllChanges</triggerType>
     </rules>
     <rules>
@@ -1421,7 +1505,13 @@
             <type>FieldUpdate</type>
         </actions>
         <active>true</active>
-        <formula>AND( Submit_Customer_target__c = true, Plan_approved__c = true, NOT(ISBLANK(Review_Sales__c)), NOT(ISBLANK(Manager_feedback_check__c)), ISCHANGED(Manager_feedback_check__c), OR(month(today())=4,month(today())=5,month(today())=6) )</formula>
+        <formula>AND(
+Submit_Customer_target__c = true,
+Plan_approved__c = true,
+NOT(ISBLANK(Review_Sales__c)),
+NOT(ISBLANK(Manager_feedback_check__c)),
+ISCHANGED(Manager_feedback_check__c),
+OR(month(today())=4,month(today())=5,month(today())=6) )</formula>
         <triggerType>onAllChanges</triggerType>
     </rules>
     <rules>
@@ -1439,7 +1529,13 @@
             <type>FieldUpdate</type>
         </actions>
         <active>true</active>
-        <formula>AND( Submit_Customer_target__c = true, Plan_approved__c = true, NOT(ISBLANK(Review_Sales__c)),  NOT(ISBLANK(Manager_feedback_check__c)), ISCHANGED(Manager_feedback_check__c), OR(month(today())=7,month(today())=8,month(today())=9) )</formula>
+        <formula>AND(
+Submit_Customer_target__c = true,
+Plan_approved__c = true,
+NOT(ISBLANK(Review_Sales__c)), 
+NOT(ISBLANK(Manager_feedback_check__c)),
+ISCHANGED(Manager_feedback_check__c),
+OR(month(today())=7,month(today())=8,month(today())=9) )</formula>
         <triggerType>onAllChanges</triggerType>
     </rules>
     <rules>
@@ -1457,7 +1553,13 @@
             <type>FieldUpdate</type>
         </actions>
         <active>true</active>
-        <formula>AND( Submit_Customer_target__c = true, Plan_approved__c = true, NOT(ISBLANK(Review_Sales__c)),  NOT(ISBLANK(Manager_feedback_check__c)), ISCHANGED(Manager_feedback_check__c), OR(month(today())=10,month(today())=11,month(today())=12) )</formula>
+        <formula>AND(
+Submit_Customer_target__c = true,
+Plan_approved__c = true,
+NOT(ISBLANK(Review_Sales__c)), 
+NOT(ISBLANK(Manager_feedback_check__c)),
+ISCHANGED(Manager_feedback_check__c),
+OR(month(today())=10,month(today())=11,month(today())=12) )</formula>
         <triggerType>onAllChanges</triggerType>
     </rules>
     <rules>
@@ -1475,7 +1577,13 @@
             <type>FieldUpdate</type>
         </actions>
         <active>true</active>
-        <formula>AND( Submit_Customer_target__c = true, Plan_approved__c = true, NOT(ISBLANK(Review_Sales__c)), NOT(ISBLANK(Manager_feedback_check__c)), ISCHANGED(Manager_feedback_check__c), OR(month(today())=1,month(today())=2,month(today())=3) )</formula>
+        <formula>AND(
+Submit_Customer_target__c = true,
+Plan_approved__c = true,
+NOT(ISBLANK(Review_Sales__c)),
+NOT(ISBLANK(Manager_feedback_check__c)),
+ISCHANGED(Manager_feedback_check__c),
+OR(month(today())=1,month(today())=2,month(today())=3) )</formula>
         <triggerType>onAllChanges</triggerType>
     </rules>
     <rules>
@@ -1492,12 +1600,12 @@
         <criteriaItems>
             <field>Account.Submit_Customer_target__c</field>
             <operation>equals</operation>
-            <value>True</value>
+            <value>鐪�</value>
         </criteriaItems>
         <criteriaItems>
             <field>Account.Plan_approved__c</field>
             <operation>equals</operation>
-            <value>True</value>
+            <value>鐪�</value>
         </criteriaItems>
         <criteriaItems>
             <field>Account.Sales_activity_target_Plan_check_day__c</field>

--
Gitblit v1.9.1