<?xml version="1.0" encoding="UTF-8"?>
|
<Workflow xmlns="http://soap.sforce.com/2006/04/metadata">
|
<alerts>
|
<fullName>solutionProgrammeApplyEmail</fullName>
|
<ccEmails>jhtaizxt@163.com</ccEmails>
|
<description>solution方案初案审批</description>
|
<protected>false</protected>
|
<recipients>
|
<field>Business_Promotion__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<senderType>CurrentUser</senderType>
|
<template>SolutionProject/solutionProgrammeApplyEmail</template>
|
</alerts>
|
<alerts>
|
<fullName>solutionProgrammeFirstApplyResult</fullName>
|
<description>solution方案初案审批反馈</description>
|
<protected>false</protected>
|
<recipients>
|
<type>owner</type>
|
</recipients>
|
<senderType>CurrentUser</senderType>
|
<template>SolutionProject/solutionProgrammeFirstApplyResult</template>
|
</alerts>
|
<alerts>
|
<fullName>solutionProgrammeLastApplyEmail</fullName>
|
<ccEmails>jhtaizxt@163.com</ccEmails>
|
<description>solution方案结案审批</description>
|
<protected>false</protected>
|
<recipients>
|
<field>Business_Promotion__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<senderType>CurrentUser</senderType>
|
<template>SolutionProject/solutionProgrammeLastApplyEmail</template>
|
</alerts>
|
<alerts>
|
<fullName>solutionProgrammeLastApplyResult</fullName>
|
<ccEmails>jhtaizxt@163.com</ccEmails>
|
<description>solution方案结案审批反馈</description>
|
<protected>false</protected>
|
<recipients>
|
<type>owner</type>
|
</recipients>
|
<senderType>CurrentUser</senderType>
|
<template>SolutionProject/solutionProgrammeLastApplyResult</template>
|
</alerts>
|
<alerts>
|
<fullName>solution_90</fullName>
|
<description>solution方案提出超过90天</description>
|
<protected>false</protected>
|
<recipients>
|
<field>Business_Promotion__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<senderType>CurrentUser</senderType>
|
<template>SolutionProject/solution_90</template>
|
</alerts>
|
<alerts>
|
<fullName>subAppActionEmail</fullName>
|
<ccEmails>jhtaizxt@163.com</ccEmails>
|
<description>提交审批邮件</description>
|
<protected>false</protected>
|
<recipients>
|
<field>Business_Promotion__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<senderType>CurrentUser</senderType>
|
<template>SolutionProject/solutionProgrammeApplyEmail</template>
|
</alerts>
|
<fieldUpdates>
|
<fullName>ApprovalClosingProgramme</fullName>
|
<field>ApprovalClosingProgramme__c</field>
|
<literalValue>1</literalValue>
|
<name>结案方案批准完成</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Literal</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>RejectedInvalid</fullName>
|
<field>RejectedInvalid__c</field>
|
<literalValue>1</literalValue>
|
<name>审批驳回无效</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Literal</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>SolutionApprovalStatusUpdate</fullName>
|
<field>Status__c</field>
|
<literalValue>02方案已提出</literalValue>
|
<name>Solution方案提交审批状态更新</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Literal</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>SolutionApprovedProcess</fullName>
|
<field>ProcessOfApproval__c</field>
|
<literalValue>1</literalValue>
|
<name>Solution审批过程中</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Literal</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>SolutionApprovedProposalDate</fullName>
|
<field>Proposal_Date__c</field>
|
<formula>IF( ISBLANK( Proposal_Date__c ) , TODAY(), Proposal_Date__c )</formula>
|
<name>Solution方案提交日期更新</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>SolutionStatus1</fullName>
|
<field>Status__c</field>
|
<literalValue>03采纳/部分采纳</literalValue>
|
<name>Solution方案状态更新1</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Literal</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>SolutionStatus2</fullName>
|
<field>Status__c</field>
|
<literalValue>04未采纳</literalValue>
|
<name>Solution方案状态更新2</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Literal</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>SolutionStatus3</fullName>
|
<field>Status__c</field>
|
<literalValue>05营业跟进中</literalValue>
|
<name>Solution方案状态更新3</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Literal</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>SolutionStatus4</fullName>
|
<field>Status__c</field>
|
<literalValue>06其他</literalValue>
|
<name>Solution方案状态更新4</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Literal</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Submint_TF_Null</fullName>
|
<field>Submint_TF__c</field>
|
<literalValue>0</literalValue>
|
<name>是否提交审批清空</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Literal</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>updateStatusBack</fullName>
|
<field>Status__c</field>
|
<literalValue>01草案中</literalValue>
|
<name>更新方案状态</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Literal</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<rules>
|
<fullName>提出方案日期超过90天</fullName>
|
<active>true</active>
|
<criteriaItems>
|
<field>SolutionProjectRequirements__c.Status__c</field>
|
<operation>equals</operation>
|
<value>04方案提出</value>
|
</criteriaItems>
|
<triggerType>onCreateOrTriggeringUpdate</triggerType>
|
<workflowTimeTriggers>
|
<actions>
|
<name>solution_90</name>
|
<type>Alert</type>
|
</actions>
|
<offsetFromField>Solution_Programme__c.Proposal_Date__c</offsetFromField>
|
<timeLength>90</timeLength>
|
<workflowTimeTriggerUnit>Days</workflowTimeTriggerUnit>
|
</workflowTimeTriggers>
|
</rules>
|
</Workflow>
|