
This formula below does not work, but something similar?
AND(
$Profile.Name <> "System Administrator",
IsWon = TRUE,
PRIORVALUE(IsClosed) <> FALSE,
OR(
ISCHANGED(Amount),
ISCHANGED(CloseDate),
ISCHANGED(StageName),
ISCHANGED(Type),
ISCHANGED(Start_Date__c),
ISCHANGED(End_date__c)))
8 respuestas
Hi Serena,
Whats not working with the formula?
Do not Use IsClosed in the Validation rules, use the actual Stage NamePlease give this a try
AND(
$Profile.Name <> "System Administrator",
TEXT(PRIORVALUE(StageName)) = 'Closed Won',
OR(
ISCHANGED(Amount),
ISCHANGED(CloseDate),
ISCHANGED(StageName),
ISCHANGED(Type),
ISCHANGED(Start_Date__c),
ISCHANGED(End_date__c)
)
)