+ Start a Discussion
sivadevsivadev 

hi every one case field access

hi thanks in advance 

i need tii prevent a profile of user not edit case status ewhen it once escalted can please help me on 

Best Answer chosen by sivadev
Ashish_SFDCAshish_SFDC
Hi Siva, 


Its not code but its just a formula to be used in validation rule. 

https://help.salesforce.com/HTViewHelpDoc?id=fields_useful_field_validation_formulas.htm

So validation rule is a rule it will run when the criteria is met and will not allow changes to the Record. 

Here, If the profile is XXX and the status is escalated and the status is changed - then throw error. 

something like this - IF( AND(
$Profile.Id==00e90000000wdXo,ISCHANGED(Status),IsEscalated=1), 1,0)


Regards,
Ashish

All Answers

Ashish_SFDCAshish_SFDC
Hi Siva,

You can use a validation Rule. 

In that formula you can use User Object and the Criteria to display the error. 

Regards,
Ashish
sivadevsivadev
hi Ashish i am poor in coding can you please send sample code 

Ashish_SFDCAshish_SFDC
Hi Siva, 


Its not code but its just a formula to be used in validation rule. 

https://help.salesforce.com/HTViewHelpDoc?id=fields_useful_field_validation_formulas.htm

So validation rule is a rule it will run when the criteria is met and will not allow changes to the Record. 

Here, If the profile is XXX and the status is escalated and the status is changed - then throw error. 

something like this - IF( AND(
$Profile.Id==00e90000000wdXo,ISCHANGED(Status),IsEscalated=1), 1,0)


Regards,
Ashish

This was selected as the best answer