You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Write Validation rule for StageName of opportunity sObject that don’t allow the user to move Previous/Next Stage based on User/Profile (Except specific profile of user) in Salesforce
#16
Open
vijayk3327 opened this issue
Aug 27, 2023
· 0 comments
In this post we are going to learn about How to write a Validation rule for StageName of opportunity sObject that don’t allow the user to move Previous/Next Stage Name based on User/Profile and record type (Except specific profile of user) in Salesforce
➡ Real time scenarios:- Write a Validation rule to Stop/Prevent the next and previous stages name of opportunity sObject based on specific profile/user and record type in Salesforce.
In this post we are going to learn about How to write a Validation rule for StageName of opportunity sObject that don’t allow the user to move Previous/Next Stage Name based on User/Profile and record type (Except specific profile of user) in Salesforce
➡ Real time scenarios:- Write a Validation rule to Stop/Prevent the next and previous stages name of opportunity sObject based on specific profile/user and record type in Salesforce.
👉 To get source code live demo link, Click Here.
Opportunity Validation Rule
Step 1:- Create Validation Rule : Opportunity_Stage_Validation
`AND(
$Profile.Name <> 'Custom: Support Profile',
RecordType.DeveloperName = 'ecom_record_Type',
ISCHANGED(StageName)
)
/Only Custom: Support Profile user allow can change the stage/`
👉 To get source code live demo link, Click Here.
The text was updated successfully, but these errors were encountered: