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
Éder SilvaÉder Silva 

Rules Validation

Hello guys,
I need your help to create a validation rule I've tried everything and I can't, the rule is as follows:

Create a validation rule on the Price Request object that does not allow you to change the Price Request status from "Unsolicited" to "Requested" in the "Order attached?" left equal to False. Rule logic:
"Status" field has been changed;
Field “Status” equal to “Requested”;
Field "Request attached?" equals False;
Error Message: The MS Excel Request File Was Not Attached.

When I tried to do it, I also got an error:
Error: State_CHI__c field is a picklist field. Picklist fields are only supported in certain roles

Can you help me? Thanks!
SubratSubrat (Salesforce Developers) 
Hello Eder ,

I have came across a discussion for your requirement , requesting you to go through it once -> https://community.bmc.com/s/question/0D53n00007aEYGFCA4/validation-rule-using-a-picklist

Hope it helps !
Thank you.
SteveMo__cSteveMo__c
So basically something like this
AND(
ISCHANGED( Status ),
TEXT( Status ) = 'Requested',
Request_attached__c = FALSE
)