Workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-04-2024 07:54 AM
While using the Workspace, Emergency change is visible. If any user click on this emergency change, error message should pop up "Emergency change should be created from resolved P1 and P2".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-05-2024 08:45 AM
I didn't find any exact answer from community for my issue. But after exploring i am able to resolve my issue. Sharing the answer.
I have removed the Emergency Change from ServiceNow Operation Workspace.
Go to table Record Type Selector [sn_sow_interceptor_record_type_selector] and check for records with title - "Emergency" and make it inactive.
This will remove Emergency change from SOW.
Please mark my answer correct/helpful if it solves your problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-05-2024 08:50 AM - edited ‎11-05-2024 08:50 AM
Hi Ekta,
There is no direct way to do this.
So as a work around you can write an onload client script that runs when its a new record, and its emergency change, and view is SOW. Then you can add the alert and if user confirms then only allow them to go forward.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-05-2024 08:56 AM - edited ‎11-05-2024 08:57 AM
Just tried this and it works as expected
function onLoad() {
//Type appropriate comment here, and begin script below
var x = confirm('"Emergency change should be created from resolved P1 and P2');
if(x == false)
{
g_aw.closeRecord();
}
}