The CreatorCon Call for Content is officially open! Get started here.

how to make "approval" state read only

ranjansnow
Tera Contributor

Hi All,

Once a request is approved/rejected/cancelled by the approver(manager) it should be set to read only and no other changes should be allowed on the "approval" state.

I was able do it through an onSubmit Client Script. The approval state becomes READ ONLY post the first action on it, however, the manager can still change this state from the list view as show below.

In short:   The approval state should only be recorded once by the Approver (However, admins can change the field )

find_real_file.png

1 ACCEPTED SOLUTION

Chuck Tomasi
Tera Patron

Idea: How about using an ACL to make it writable only if the state is 'requested'?



Docs: Access control rules


Docs: Contextual security  


Security Best Practices - ServiceNow Wiki


View solution in original post

3 REPLIES 3

Chuck Tomasi
Tera Patron

Idea: How about using an ACL to make it writable only if the state is 'requested'?



Docs: Access control rules


Docs: Contextual security  


Security Best Practices - ServiceNow Wiki


Hi chuck,



I agree with you. This might be best possible solution.



Thanks,


Ramya.


If I have answered your question, please mark my response as correct so that others with the same question in the future can find it quickly and that it gets removed from the Unanswered list.



If you are viewing this from the community inbox you will not see the correct answer button.   If so, please review How to Mark Answers Correct From Inbox View.



Thank you