How to grey out the "state" field at RITM level once a RITM(record) is completed?

Harshil5
Kilo Contributor

How can i grey out(readonly) the "state" field at RITM(requested items) level once a RITM(requested Item) record is completed. so that once it is completed, not one can change the "state" of the RITM.

find_real_file.png

in this picture, just like "stage" is greyed out, i need to grey out "state" feild once the RITM is completed.

1 ACCEPTED SOLUTION

Create a UI policy on Req Item table for Active = false.

Ui policy actions - State - readonly True.

find_real_file.png

find_real_file.png

View solution in original post

8 REPLIES 8

dmathur09
Kilo Sage
Kilo Sage

Hi Harshil,

You can create a new field level ACL on state field with operation as write. Put the condition as state is not closed complete or closed skipped. Provide the roles as ITIL.

This will not allow users to update the state field in closed complete or closed skipped.

Regards,

Deepankar Mathur

Hey Deepankar, thanks for your response.

would you mind sharing your solution in the form of Steps and screenshot.

I am new to serviceNow and i've been trying to apply your solution and failed.

Hi Harshil,

1) You would need to elevate your roles. Click on your name and then click on Elevate role.

find_real_file.png

2) Check security_admin and click Ok

find_real_file.png

3) Open the ACL module

find_real_file.png

4) Click on new button and create the ACL record with below mentioned details.

find_real_file.png

find_real_file.png

Hope this helps.

Regards,

Deepankar Mathur

Thank you Deepankar, this was very helpful.