<?xml version="1.0" encoding="UTF-8"?>
<Workflow xmlns="http://soap.sforce.com/2006/04/metadata">
    <fieldUpdates>
        <fullName>StatusMark_Is_1</fullName>
        <field>StatusMark__c</field>
        <formula>1</formula>
        <name>状态标记</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Formula</operation>
        <protected>false</protected>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>StatusMark_Is_2</fullName>
        <field>StatusMark__c</field>
        <formula>2</formula>
        <name>状态标记_2</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Formula</operation>
        <protected>false</protected>
    </fieldUpdates>
    <rules>
        <fullName>SWO状态标记</fullName>
        <actions>
            <name>StatusMark_Is_1</name>
            <type>FieldUpdate</type>
        </actions>
        <active>true</active>
        <formula>AND( ISCHANGED(SWO_STATUS__c) ,TEXT(SWO_STATUS__c) = &apos;Quotation for approval&apos;)</formula>
        <triggerType>onAllChanges</triggerType>
    </rules>
    <rules>
        <fullName>SWO状态标记_报价批准</fullName>
        <actions>
            <name>StatusMark_Is_2</name>
            <type>FieldUpdate</type>
        </actions>
        <active>true</active>
        <formula>AND( ISCHANGED(SWO_STATUS__c) ,TEXT(SWO_STATUS__c) = &apos;Quotation approved&apos;)</formula>
        <triggerType>onAllChanges</triggerType>
    </rules>
</Workflow>
