How to make all fields read-only after form submitting except editable by admins

beycos
Tera Contributor

Hi everyone,

I have created a table where users fill out a form and submit it. After the form is submitted, ( State is Submitted)I want all fields to become read-only for users, but still remain editable for users with the admin role.

What is the best way to achieve this?

Thanks in advance for your help!

Regards,

Beyza

 

2 ACCEPTED SOLUTIONS

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @beycos 

 

ACL is best solution:

 

https://www.servicenow.com/community/itsm-forum/make-all-fields-read-only-on-request-record-once-an-...

 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

View solution in original post

1. Create a table level acl for your table ( <table_name>.none).

2. Add admin role to the ACL.

3. Condition of ACL : state is submitted.


Raghav
MVP 2023

View solution in original post

3 REPLIES 3

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @beycos 

 

ACL is best solution:

 

https://www.servicenow.com/community/itsm-forum/make-all-fields-read-only-on-request-record-once-an-...

 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

1. Create a table level acl for your table ( <table_name>.none).

2. Add admin role to the ACL.

3. Condition of ACL : state is submitted.


Raghav
MVP 2023

beycos
Tera Contributor

It worked. thank you