binxie
2024-01-20 e0de9222da210f9c8eb1a9f5400f936a14923e11
force-app/main/default/workflows/BatchIF_Log__c.workflow-meta.xml
@@ -9,7 +9,7 @@
            <type>user</type>
        </recipients>
        <recipients>
            <recipient>ling_zhu@olympus.com.cn</recipient>
            <recipient>ling_zhu@olympus.com.cn23</recipient>
            <type>user</type>
        </recipients>
        <senderType>CurrentUser</senderType>
@@ -49,29 +49,6 @@
        <template>Olympus_OCM/BatchIF_Error</template>
    </alerts>
    <alerts>
        <fullName>BatchIF_NFM002_Error</fullName>
        <description>BatchIF_NFM002_Error</description>
        <protected>false</protected>
        <recipients>
            <recipient>IT_SFDCGroup</recipient>
            <type>group</type>
        </recipients>
        <recipients>
            <recipient>haijuan_wang@olympus.com.cn</recipient>
            <type>user</type>
        </recipients>
        <recipients>
            <recipient>it_prectech@olympus.com.cn</recipient>
            <type>user</type>
        </recipients>
        <recipients>
            <recipient>ling_zhu@olympus.com.cn</recipient>
            <type>user</type>
        </recipients>
        <senderType>CurrentUser</senderType>
        <template>Olympus_OCM/BatchIF_Error</template>
    </alerts>
    <alerts>
        <fullName>BatchIF_NFM004_Error</fullName>
        <description>BatchIF_NFM004_Error</description>
        <protected>false</protected>
@@ -89,29 +66,6 @@
        <recipients>
            <recipient>BatchIF_Error_OCM_GY</recipient>
            <type>group</type>
        </recipients>
        <senderType>CurrentUser</senderType>
        <template>Olympus_OCM/BatchIF_Error</template>
    </alerts>
    <alerts>
        <fullName>BatchIF_NFM006_Error</fullName>
        <description>BatchIF_NFM006_Error</description>
        <protected>false</protected>
        <recipients>
            <recipient>IT_SFDCGroup</recipient>
            <type>group</type>
        </recipients>
        <recipients>
            <recipient>haijuan_wang@olympus.com.cn</recipient>
            <type>user</type>
        </recipients>
        <recipients>
            <recipient>it_prectech@olympus.com.cn</recipient>
            <type>user</type>
        </recipients>
        <recipients>
            <recipient>ling_zhu@olympus.com.cn</recipient>
            <type>user</type>
        </recipients>
        <senderType>CurrentUser</senderType>
        <template>Olympus_OCM/BatchIF_Error</template>
@@ -173,6 +127,7 @@
    </alerts>
    <alerts>
        <fullName>BatchIF_NFM109_Error</fullName>
        <ccEmails>gaozhangwei@prec-tech.com</ccEmails>
        <description>BatchIF_NFM109_Error</description>
        <protected>false</protected>
        <recipients>
@@ -511,7 +466,7 @@
            <type>group</type>
        </recipients>
        <recipients>
            <recipient>ling_zhu@olympus.com.cn</recipient>
            <recipient>ling_zhu@olympus.com.cn23</recipient>
            <type>user</type>
        </recipients>
        <senderType>CurrentUser</senderType>
@@ -546,7 +501,7 @@
            <type>user</type>
        </recipients>
        <recipients>
            <recipient>ling_zhu@olympus.com.cn</recipient>
            <recipient>ling_zhu@olympus.com.cn23</recipient>
            <type>user</type>
        </recipients>
        <senderType>CurrentUser</senderType>
@@ -561,7 +516,7 @@
            <type>group</type>
        </recipients>
        <recipients>
            <recipient>ling_zhu@olympus.com.cn</recipient>
            <recipient>ling_zhu@olympus.com.cn23</recipient>
            <type>user</type>
        </recipients>
        <senderType>CurrentUser</senderType>
@@ -609,7 +564,11 @@
            <type>Alert</type>
        </actions>
        <active>true</active>
        <formula>Is_Error__c = 1 &amp;&amp;   (  Type__c = &quot;PushNotification&quot; || BEGINS(Type__c, &quot;DataLoaderBatch:&quot;)  ) &amp;&amp; !CONTAINS(Log__c, &quot;现状分析PDF&quot;) &amp;&amp; !CONTAINS(Log__c, &quot;备品备份&quot;)</formula>
        <formula>Is_Error__c = 1 &amp;&amp;
(  Type__c = &quot;PushNotification&quot;
|| BEGINS(Type__c, &quot;DataLoaderBatch:&quot;)
) &amp;&amp; !CONTAINS(Log__c, &quot;现状分析PDF&quot;)
&amp;&amp; !CONTAINS(Log__c, &quot;备品备份&quot;)</formula>
        <triggerType>onAllChanges</triggerType>
    </rules>
    <rules>
@@ -682,24 +641,6 @@
        <triggerType>onCreateOrTriggeringUpdate</triggerType>
    </rules>
    <rules>
        <fullName>BatchIF_NFM002_Error</fullName>
        <actions>
            <name>BatchIF_NFM002_Error</name>
            <type>Alert</type>
        </actions>
        <active>false</active>
        <criteriaItems>
            <field>BatchIF_Log__c.ErrorLog__c</field>
            <operation>notEqual</operation>
        </criteriaItems>
        <criteriaItems>
            <field>BatchIF_Log__c.Type__c</field>
            <operation>equals</operation>
            <value>NFM002</value>
        </criteriaItems>
        <triggerType>onCreateOrTriggeringUpdate</triggerType>
    </rules>
    <rules>
        <fullName>BatchIF_NFM004_Error</fullName>
        <actions>
            <name>BatchIF_NFM004_Error</name>
@@ -737,29 +678,6 @@
            <field>BatchIF_Log__c.Type__c</field>
            <operation>equals</operation>
            <value>NFM005</value>
        </criteriaItems>
        <criteriaItems>
            <field>BatchIF_Log__c.retry_cnt__c</field>
            <operation>equals</operation>
            <value>3,0</value>
        </criteriaItems>
        <triggerType>onCreateOrTriggeringUpdate</triggerType>
    </rules>
    <rules>
        <fullName>BatchIF_NFM006_Error</fullName>
        <actions>
            <name>BatchIF_NFM006_Error</name>
            <type>Alert</type>
        </actions>
        <active>false</active>
        <criteriaItems>
            <field>BatchIF_Log__c.ErrorLog__c</field>
            <operation>notEqual</operation>
        </criteriaItems>
        <criteriaItems>
            <field>BatchIF_Log__c.Type__c</field>
            <operation>equals</operation>
            <value>NFM006</value>
        </criteriaItems>
        <criteriaItems>
            <field>BatchIF_Log__c.retry_cnt__c</field>
@@ -815,7 +733,7 @@
        <criteriaItems>
            <field>BatchIF_Log__c.RowDataFlg__c</field>
            <operation>equals</operation>
            <value>True</value>
            <value>真</value>
        </criteriaItems>
        <triggerType>onAllChanges</triggerType>
    </rules>
@@ -958,7 +876,7 @@
        <criteriaItems>
            <field>BatchIF_Log__c.RowDataFlg__c</field>
            <operation>equals</operation>
            <value>False</value>
            <value>假</value>
        </criteriaItems>
        <triggerType>onAllChanges</triggerType>
    </rules>
@@ -1629,7 +1547,10 @@
            <type>Alert</type>
        </actions>
        <active>true</active>
        <formula>Is_Error__c = 1 &amp;&amp;  Type__c = &quot;PushNotification&quot;  &amp;&amp; CONTAINS(Log__c, &quot;现状分析PDF&quot;)  &amp;&amp; !CONTAINS(Log__c, &quot;备品备份&quot;)</formula>
        <formula>Is_Error__c = 1 &amp;&amp;
Type__c = &quot;PushNotification&quot;
&amp;&amp; CONTAINS(Log__c, &quot;现状分析PDF&quot;)
&amp;&amp; !CONTAINS(Log__c, &quot;备品备份&quot;)</formula>
        <triggerType>onAllChanges</triggerType>
    </rules>
    <rules>
@@ -1655,7 +1576,8 @@
        <active>true</active>
        <description>//将学会上的工作流规则 &apos;更新会议开始前7天提醒邮件标识&apos; 复制为batch
当更新报错时,发送电子邮件</description>
        <formula>Type__c = &quot;updateCampaignMailflg7BeTrue&quot; &amp;&amp; NOT(ISBLANK(ErrorLog__c))</formula>
        <formula>Type__c = &quot;updateCampaignMailflg7BeTrue&quot;
&amp;&amp; NOT(ISBLANK(ErrorLog__c))</formula>
        <triggerType>onAllChanges</triggerType>
    </rules>
    <rules>