RITM Variables Read Only after state has become "close complete"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-03-2017 10:42 AM
As the title states, is there a specific way that one a request is submitted and the RITM state is changed to "Closed Complete" that all RITM variables become read only?
The reason i am asking is because we have ran into issues where the business users have been changing fields after the request has been marked as complete and complaining that the request wasn't properly performed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-21-2017 11:58 AM
So this ALMOST works. When the state is changed to "closed complete" the variables at the RITM for the ITIL user become Read-Only but for the business user who submitted the request, these fields are still editable and this is what we DON'T want.
I do NOT want the business user to be able to edit any fields after the RITM State has been set to closed complete.
Any ideas?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-21-2017 01:24 PM
Do you have the state field on the end user form?
Can you send a screenshot of the End User form?
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
‎08-22-2017 05:13 AM
Sanjiv,
I am talking about, when a business user logs into the Self Service Portal and clicks on "My Service Requests"
Once they are in there, they can click on all Service Requests that they submitted and can still edit those variables even though the requests have been closed out. From an ITIL view, if an ITIL user goes back into an RITM after the state has been changed to "closed complete" all of the variables are read only but this is NOT the case for business users at the self service portal view.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-22-2017 05:39 AM
Hi Craig,
Create catalog client script onLoad and for RITM view.
Have following script:
Script:
if(g_form.getValue('state') == '3'){ // 3 means closed complete check in your choice table whether it is same
g_form.setVariablesReadOnly(true); // mark all variables as readonly
}
Mark Correct if this solves your issue and also hit Like and Helpful if you find my response worthy based on the impact.
Thanks
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-22-2017 06:08 AM