Skip to main content
Hi, I created a workflow rule on account to alert sales rep when the credit limit of one of their account has been changed. here is my current formula which is working for this purpose:

 

AND (NOT(ISNEW()), ISPICKVAL( CurrencyIsoCode ,"EUR"), ISCHANGED( Credit_Limit__c ))

 

But I would like now to restrict the notification to credit limit changes over 50000 (above or below) to alert only on important variation.

 

Is there a way to add this condition in my formula?

 

Thanks and regards
2 réponses
  1. 12 sept. 2019, 10:21
    Hi Chantal,

     

    Please change the workflow criteria formula to the below

    AND (

    NOT(ISNEW()),

    ISPICKVAL( CurrencyIsoCode ,"EUR"),

    ISCHANGED( Credit_Limit__c ),

    ABS(Credit_Limit__c - PRIORVALUE(Credit_Limit__c)) > 50000

    )

    since you are using the ISCHANGED function you do not need to check if its a new record or not.

     

     

    AND (

    ISPICKVAL( CurrencyIsoCode ,"EUR"),

    ISCHANGED( Credit_Limit__c ),

    ABS(Credit_Limit__c - PRIORVALUE(Credit_Limit__c)) > 50000

    )

     

     
0/9000