Skip to main content

ISCHANGED(StageName) && CASE(StageName, "Direct Bill Process", 1, "Awaiting Reservation", 2, "Reservation Process", 3, "Awaiting Move In", 4, "Checked In", 5, "Checked Out", 6, "Closed Won", 7, "Closed Lost", 7, 0) < CASE(PRIORVALUE(StageName), "Direct Bill Process", 1, "Awaiting Reservation", 2, "Reservation Process", 3, "Awaiting Move In", 4, "Checked In", 5, "Checked Out", 6, "Closed Won", 7, "Closed Lost", 7, 0) && $Profile.Name = "System Administrator"

ISCHANGED(StageName) &&
CASE(StageName,
"Direct Bill Process", 1,
"Awaiting Reservation", 2,
"Reservation Process", 3,
"Awaiting Move In", 4,
"Checked In", 5,
"Checked Out", 6,
"Closed Won", 7,
"Closed Lost", 7,
0)
<
CASE(PRIORVALUE(StageName), 
"Direct Bill Process", 1, 
"Awaiting Reservation", 2, 
"Reservation Process", 3,
"Awaiting Move In", 4,
"Checked In", 5,
"Checked Out", 6,
"Closed Won", 7,
"Closed Lost", 7,
0)
&& $Profile.Name = "System Administrator"

source: https://success.salesforce.com/answers?id=90630000000gt6nAAA

ISCHANGED(StageName) && CASE(StageName, "Direct Bill Process", 1, "Awaiting Reservation", 2, "Reservation Process", 3, "Awaiting Move In", 4, "Checked In", 5, "Checked Out", 6, "Closed Won", 7, "Closed Lost", 7, 0) < CASE(PRIORVALUE(StageName), "Direct Bill Process", 1, "Awaiting Reservation", 2, "Reservation Process", 3, "Awaiting Move In", 4, "Checked In", 5, "Checked Out", 6, "Closed Won", 7, "Closed Lost", 7, 0) && $Profile.Name = "System Administrator"

source: https://success.salesforce.com/answers?id=90630000000gt6nAAA

ISCHANGED(StageName) &&
CASE(StageName,
"Direct Bill Process", 1,
"Awaiting Reservation", 2,
"Reservation Process", 3,
"Awaiting Move In", 4,
"Checked In", 5,
"Checked Out", 6,
"Closed Won", 7,
"Closed Lost", 7,
0)
<
CASE(PRIORVALUE(StageName), 
"Direct Bill Process", 1, 
"Awaiting Reservation", 2, 
"Reservation Process", 3,
"Awaiting Move In", 4,
"Checked In", 5,
"Checked Out", 6,
"Closed Won", 7,
"Closed Lost", 7,
0)
&& $Profile.Name = "System Administrator"

source: https://success.salesforce.com/answers?id=90630000000gt6nAAA

added 435 characters in body
Source Link

ISCHANGED(StageName) && CASE(StageName, "Direct Bill Process", 1, "Awaiting Reservation", 2, "Reservation Process", 3, "Awaiting Move In", 4, "Checked In", 5, "Checked Out", 6, "Closed Won", 7, "Closed Lost", 7, 0) < CASE(PRIORVALUE(StageName), "Direct Bill Process", 1, "Awaiting Reservation", 2, "Reservation Process", 3, "Awaiting Move In", 4, "Checked In", 5, "Checked Out", 6, "Closed Won", 7, "Closed Lost", 7, 0) && $Profile.Name = "System Administrator"

source: https://success.salesforce.com/answers?id=90630000000gt6nAAA

Here's a post in the Trailblazer community that addresses this.

https://success.salesforce.com/answers?id=90630000000gt6nAAA

Here's a post in the Trailblazer community that addresses this.

ISCHANGED(StageName) && CASE(StageName, "Direct Bill Process", 1, "Awaiting Reservation", 2, "Reservation Process", 3, "Awaiting Move In", 4, "Checked In", 5, "Checked Out", 6, "Closed Won", 7, "Closed Lost", 7, 0) < CASE(PRIORVALUE(StageName), "Direct Bill Process", 1, "Awaiting Reservation", 2, "Reservation Process", 3, "Awaiting Move In", 4, "Checked In", 5, "Checked Out", 6, "Closed Won", 7, "Closed Lost", 7, 0) && $Profile.Name = "System Administrator"

source: https://success.salesforce.com/answers?id=90630000000gt6nAAA

Source Link

https://success.salesforce.com/answers?id=90630000000gt6nAAA

Here's a post in the Trailblazer community that addresses this.