<?xml version="1.0" encoding="UTF-8"?>
|
<Workflow xmlns="http://soap.sforce.com/2006/04/metadata">
|
<alerts>
|
<fullName>AfterReportingDay30IncompletePrompt</fullName>
|
<description>用户故障信息_报告日之后30天未完成提醒</description>
|
<protected>false</protected>
|
<recipients>
|
<type>owner</type>
|
</recipients>
|
<senderType>CurrentUser</senderType>
|
<template>unfiled$public/AfterReportingDay30IncompletePrompt</template>
|
</alerts>
|
<fieldUpdates>
|
<fullName>CASEName</fullName>
|
<field>Name</field>
|
<formula>NUMBER__c + "-" + SUBJECT__c + "-" + AccountName__c</formula>
|
<name>用户/故障信息CASE记录类型命名规则</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Case_TS</fullName>
|
<field>Name</field>
|
<formula>TSCaseCode__c</formula>
|
<name>Case记录类型TS日报故障名称命名规则</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>ManagementCode</fullName>
|
<field>UFManagementCode__c</field>
|
<formula>Name</formula>
|
<name>管理编码</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>ManagementCode01</fullName>
|
<field>UFManagementCode__c</field>
|
<formula>TSCaseCode__c</formula>
|
<name>管理编码</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
</fieldUpdates>
|
<rules>
|
<fullName>Case记录类型CASE名称命名规则</fullName>
|
<actions>
|
<name>CASEName</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<active>true</active>
|
<criteriaItems>
|
<field>User_FaultInfo__c.RecordTypeId</field>
|
<operation>equals</operation>
|
<value>Case</value>
|
</criteriaItems>
|
<triggerType>onCreateOnly</triggerType>
|
</rules>
|
<rules>
|
<fullName>Case记录类型TS日报故障名称命名规则</fullName>
|
<actions>
|
<name>Case_TS</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<actions>
|
<name>ManagementCode01</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<active>true</active>
|
<criteriaItems>
|
<field>User_FaultInfo__c.RecordTypeId</field>
|
<operation>equals</operation>
|
<value>TS日报故障</value>
|
</criteriaItems>
|
<triggerType>onCreateOnly</triggerType>
|
</rules>
|
<rules>
|
<fullName>用户%2F故障信息-管理编码的生成</fullName>
|
<actions>
|
<name>ManagementCode</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<active>false</active>
|
<formula>true</formula>
|
<triggerType>onCreateOnly</triggerType>
|
</rules>
|
<rules>
|
<fullName>用户%2F故障信息_报告日之后30天未完成提醒</fullName>
|
<active>true</active>
|
<formula>ISNULL(UserFaultInfoCompletionDate__c)</formula>
|
<triggerType>onCreateOrTriggeringUpdate</triggerType>
|
<workflowTimeTriggers>
|
<actions>
|
<name>AfterReportingDay30IncompletePrompt</name>
|
<type>Alert</type>
|
</actions>
|
<offsetFromField>User_FaultInfo__c.UserFaultInfoReportDate__c</offsetFromField>
|
<timeLength>30</timeLength>
|
<workflowTimeTriggerUnit>Days</workflowTimeTriggerUnit>
|
</workflowTimeTriggers>
|
</rules>
|
</Workflow>
|