function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Approval processes



I want to create an Approval processes when anyone of this Profile user  (except where the role is System Admin, General Manager, Finance Manager) changes the Stage from Closed Won to ANY OTHER Stage like close lost or rejected.




I had creted this process by using formula


AND(NOT(OR( $Profile.Name  =='System Administrator' ,$Profile.Name =='General Manager' ,$Profile.Name=='Finance Manager')),OR( ISCHANGED(StageName) ),OR(ISPICKVAL(PRIORVALUE(StageName),"Closed Won")))


But this says"

Function ISCHANGED may not be used in this type of formula