
AND(PRIORVALUE( StageName ) <>"Verbal Commitment",
ISCHANGED( StageName ),
IsWon = True,
OR(RecordType.Id = "012400000005gyM", RecordType.Id = "01240000000cnm0", RecordType.Id = "01240000000QJwL", RecordType.Id = "012400000005gyO",RecordType.Id="012S00000004r1T")
)
Me and validation rules don't get along so i hope it is something simple i am overlooking
Thanks
6 réponses
Use Below Rule
AND(
NOT(TEXT(PRIORVALUE( StageName )) = "Verbal Commitment"),
ISCHANGED( StageName ),
CASE( StageName,
'Closed Won' , 1,
'Signed' , 1,
0) = 1,
CASE( RecordType.NAME,
"RecordType 1" , 1,
"RecordType 2" , 1,
"RecordType 3" , 1,
"RecordType 4" , 1,
"RecordType 5" , 1,
0) = 1
)