Skip to main content
I want a workflow to trigger ONLY when a populated field is changed.  I do not want it to trigger if the prior value is blank.  It needs to have an original value in order for this to fire.  So if the Building Lookup ISCHANGED, AND a value exists in the field when the change happens, along with the Type being Prospect OR Terminate it should fire. Here is my formula.  I know I have some issues with it.  Can someone please point me in the right direction.  Thanks, Mike.  

 

IF(

 

AND(

 

ISCHANGED( [Contact].Building_Lookup__c ) &&

 

NOT(ISNULL(PRIORVALUE([Contact].Building_Lookup__c))))) 

 

&& 

 

OR(

 

ISPICKVAL([Contact].Type__c = "Prospect"), ISPICKVAL([Contact].Type__c = "Terminate"))
6 respuestas
  1. 5 ago 2020, 5:08 p.m.

    Oh, one thing I didn't catch was how you were using ISPICKVAL. Try this:

    AND(

    ISCHANGED( [Contact].Building_Lookup__c ),

    NOT(ISBLANK(PRIORVALUE([Contact].Building_Lookup__c))),

    OR(

    ISPICKVAL([Contact].Type__c, "Prospect"),

    ISPICKVAL([Contact].Type__c, "Terminate"))

    )

    No equals sign, you need a comma.