How to Make Additional comments readonly in Portal and ITIL view on RITM form.

Meenal Gharat
Giga Guru

Hi All,

How to make additional comments on RITM read only(greyed out) if the approval is 'Not yet Requested'?

I tried using UI Policy But it hides the additional comment field when the condition is true, but this doesn't works on Service Portal.

Also checked ACL's still no luck.

Can someone please advise me on the same.

Thanks and Regards,

Meenal

9 REPLIES 9

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Meenal,

you can write ACL on that field with condition as approval is not Not yet requested

Can you share the ACLs or ui policy you created?

screenshot of acl created by me; try creating that and let me know

find_real_file.png

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi Ankur,

Thanks for replying.

Below is my UI Policy and Script.

find_real_file.png

 

UI Script

 

find_real_file.png

I have written same ACL.

Thanks and Regards,

Meenal

Hi Meenal,

So as per your question

1) if approval is 'Not yet Requested' then it should be readonly

2) if approval is any value other than the above then it should be editable

why you have not written UI policy action and used script; any reason here?

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur 

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi Ankur,

I wanted to check if script is working on Portal or not.

Actually UI policy is hiding the field according to condition on ITIL View But this is not working on portal view

Thanks and Regards,
Meenal