Skip to main content
Hi There -

 

I have this rule (which works) to block "Lead Source" from updates (unless it's empty) from everyone except the Marketo Sync User. When I clone the rule and replace Lead Source with the Lead_Source_Detail__c, I get a succession of syntax errors. Any idea why the same rule wouldn't work for the other field? They are both text fields.

 

AND(

 

ISCHANGED(LeadSource),

 

NOT(ISBLANK(TEXT(PRIORVALUE(LeadSource)))),

 

$User.Id <> "00531000007Xy0a"

 

)

 

Thanks in advance!

 

Denise
7 个回答
  1. 2016年11月9日 05:04
    Hi Densie,

     

    If  Lead source detail is a text field then your formula will be like this

     

     

    AND(

    ISCHANGED(Lead_Source_Detail__c),

    NOT(ISBLANK(PRIORVALUE(Lead_Source_Detail__c))),

    $User.Id <> "00531000007Xy0a"

    )

     

    OR if it's a picklist field, then your formula should be like this

     

     

    AND(

    ISCHANGED(Lead_Source_Detail__c),

    NOT(ISBLANK(TEXT(PRIORVALUE(Lead_Source_Detail__c)))),

    $User.Id <> "00531000007Xy0a"

    )

     

    Also, I suggest that you should use the Username field rather than the ID.
0/9000