Could someone explain the below formula?
AND(
ISCHANGED ( StageName ),
RecordType.DeveloperName <> "Client_Retention_Opportunity",
OR(
ISPICKVAL( StageName , "Invested" ),
ISPICKVAL( StageName , "Closed – Committed" ),
ISPICKVAL( StageName , "Rated" ),
ISPICKVAL( StageName , "Lost to Competitor" ),
ISPICKVAL( StageName , "BlueBay Withdrew" ),
ISPICKVAL( StageName , "Client Withdrew" ),
ISPICKVAL( StageName , "Retained" ),
ISPICKVAL( StageName , "Redeemed" ),
ISPICKVAL( StageName , "Transitioned to RBC GAM" )
),
OR(
ISBLANK( Other_Details__c ),
ISBLANK( Reason__c )
)
)
#Formulas
THESE 4 CONDITIONS SHOULD MEET -
the outer most AND
Stage Change: The Opportunity's StageNamemust be changing right now.
Record Type Filter: This rule does not
apply to records with the record type Developer Name "Client_Retention_Opportunity". It runs on all other record types.
Specific Stages: The new stage must be one of the following:
- Invested
- Closed – Committed
- Rated
- Lost to Competitor
- BlueBay Withdrew
- Client Withdrew
- Retained
- Redeemed
- Transitioned to RBC GAM
Missing Information: Either the Other_Details__c field OR the Reason__c field (or both) is blank.