Restrict the "edit" button of outage for users in change request form.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2025 01:50 AM
Hi Team,
We have to restrict the edit button for users - when the change state changes to "Assess" or "Authorize". How to acheive this?
Thanks,
Saikrishna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2025 02:06 AM
Use a UI policy or Client script to hide the edit button when the state is "Assess" or "Authorize"
Client Script for reference:
if (g_form.getValue('state') == 'Assess' || g_form.getValue('state') == 'Authorize') {
// Hide Edit button logic here
g_form.setVisible('edit_button', false); // Hides the button
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2025 03:29 AM
Hi @thaduri sai ,
You can use ACL to hide this UI action.
Regards,
Nikhil Bajaj
Regards,
Nikhil Bajaj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2025 01:56 PM
Hi @thaduri sai
I’ve worked as a Change Manager, so let me share my thoughts on this. I'm not sure why you're looking to hide the "Edit" button, especially in the Assess or Authorize states. In practice, during the CAB (Change Advisory Board) meeting—especially in the Authorize state—there might be questions or suggestions that could lead to the change being marked as an outage.
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]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2025 07:20 PM
Hi Saikrishna, I guess the requirement is to restrict "who" to edit the change request form. During "Assess" and "Authorize", some managers should still able to provide their input and make this ticket move forward. Is it?