- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-17-2024 02:27 AM
- 752 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-04-2024 12:35 AM
Hi @Ramesh_143
To set variables as read-only on a Request Item (RITM) record in ServiceNow, you can utilize client scripts or UI policies.
Please go through the below link:
Set Variables readonly on RITM - ServiceNow Community
Solved: How to set all variables read only on RITM - ServiceNow Community
Thanks, and Regards
Vishaal
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-04-2024 12:47 AM
Hi @Ramesh_143
you can achieve by using UI policy,
please refer the link :
Refer: Solved: How to set all variables read only on RITM - ServiceNow Community
Mark my answer as accepted solution and helpful if helps you.
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-04-2024 12:47 AM
Hi @Ramesh_143
you can achieve by using UI policy,
please refer the link :
Refer: Solved: How to set all variables read only on RITM - ServiceNow Community
Mark my answer as accepted solution and helpful if helps you.
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-04-2024 01:25 AM
Hello Ramesh,
Fir that we can use the UI Policy / client script based on our major requirement.
Here i have attached one example (i can make Assignment group read only when the Subcatogry value is Antivirus).
Thanks ,
Manohar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-07-2024 03:09 AM
Hi @Ramesh_143
To set variables as read-only on a RITM (Request Item) record in ServiceNow, follow these steps:
- Navigate to the RITM Form: Open the RITM record where you want to set the variables as read-only.
- Create a Catalog Client Script: Use a catalog client script to set the variables to read-only. Here is an example script:
function onLoad() { g_form.setVariablesReadOnly(true); }
- Apply the Script: Ensure the script is applied to the appropriate catalog item or variable set.
Please mark this response as correct or helpful if it assisted you with your question.
Thanks,
shalini.