Find your content:

Search form

You are here

Validation rule to check whether the status field on the opportunity is changed or not

 
Share

I am trying to write a validation rule on the status of an opportunity object. The scenario is like when the Opp Record type is " IN APP" the status should be read only. No one can change the status.If they try to change it an error message should be displayed.

Any help in this is really appreciated.


Attribution to: Destiny

Possible Suggestion/Solution #1

Try isChanged(Status) && Status == 'In App'. This will prevent any Status updates, so you need an "out" clause for whenever the Status can be updated again


Attribution to: uZiqJp

Possible Suggestion/Solution #2

According to your scenario the following formula should work RecordType.Name = 'IN APP' && ISCHANGED(Status).Where Status is a field name.


Attribution to: codebandit
This content is remixed from stackoverflow or stackexchange. Please visit https://salesforce.stackexchange.com/questions/31010

My Block Status

My Block Content