I have a Process Builder and a Validation Rule on the Opportunity Object.
The Validation Rule is meant to stop the users from modifying an Opportunity once Closed Won, apart from Admins.
AND( ISPICKVAL(PRIORVALUE(StageName),"Closed Won"), CASE($Profile.Name, "ProfileName1",1, "ProfileName2",1, 0)=0 )
And the Process Builder is checking if "[Opportunity].IsClosed = TRUE, and updates the Close Date = TODAY().
Error message:
The flow tried to update these records: null. This error occurred: FIELD_CUSTOM_VALIDATION_EXCEPTION
Both the Process Builder and the Validation Rule work fine, but activated separately.
Is there a way to stop the users from modifying the Closed Won Opportunity, but allow the process to change the Close Date for the users?
Thanks.