Skip to main content
Michael Dely 님이 #Collaboration에 질문했습니다
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개
  1. 2020년 8월 5일 오후 5:08

    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.