Skip to main content
Colin Cormac 님이 #Sales And Marketing에 질문했습니다
I want to lock a field on the account object from being edited by certain roles. We are ok with allowing all roles with access to the field to be able to insert data in the field but we don't want to permit certain roles from being able to update the data.

 

Any ideas?
답변 4개
  1. 2013년 9월 11일 오후 8:08
    Hey Colin,

     

    Somethin like this:

     

    AND(

     

            NOT(ISNEW()),

     

            ISCHANGED(Field_Name__c),

     

            OR(

     

                   $UserRole.Name = '<Name-Of-the-Role-To-Watch-Out>',          

     

                   $UserRole.Name = '<Name-Of-the-Role-To-Watch-Out>',          

     

                   .....

     

                   $UserRole.Name = '<Name-Of-the-Role-To-Watch-Out>'          

     

           )

     

    )

     

    Best,

     

    Deepak
0/9000