
Fields:
Stage: "Closed Won", "Closed Lost", "Closed Won Renewal"
Type: "New Business" & "Renewal"
Code that doesn't work for me:
AND(
ISPICKVAL (Type, "Renewal"),
OR(
PRIORVALUE( IsClosed )<> FALSE,
IsWon = TRUE,
NOT(OR(
$Profile.Name = "System Administrator",
$Profile.Name = "Data Administrator"))
))
6 risposte
Weird! Can you tell me what are the API Names for the Picklist entries - Closed Won, Closed Lost etc. I mean even for the Type Picklist entry too.