- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2023 02:20 AM
Hi,
Can some one will help me out i want to put the Reopen incident into the actions tab.
Please find the below mentioned Screenshot for the same.
Once i click on the "Reopen Incident" then incident would be Reopen please help me out how to achieve the same.
Thanks,
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2023 02:55 AM
Hi @kranthi2
The Reopen option in the action tab is from the widget below.
Name: Incident Standard Ticket Actions
Id: incident-standard-ticket-actions
Inside the widget you will see this condition below.
data.canReopen = incidentUtils.canReopenIncident(incidentGr);
It's calling to the function canReopenIncident in the script include IncidentUtilsSNC.
URL: https://<instance_name>/sys_script_include.do?sys_id=a1b5e796531232000600e26b88dc3472
canReopenIncident: function(current) {
return current.incident_state == IncidentState.RESOLVED && !gs.getUser().hasRoles() && !this._isMajorIncident(current);
},
Cheers,
Tai Vu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2023 02:27 AM
Hi @kranthi2
As per process, until unless a incident is not resolved cant be reopen. And once incident will be resolved user will be able to see the reopen option.
Link to activate this:
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
11-22-2023 02:49 AM
Thanks for your response but still not clear on this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2023 03:07 AM
HI @kranthi2
A incident has life cycle
New - In progress - Resolved - closed --> In Progress (Reopen)
A in progress Incident cant be reopen untill unless it is in Resolved state.
Now to achieve this OOTB not available so follow this link and then activate this functionality. (Mentioned in previous reply)
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
11-22-2023 02:55 AM
Hi @kranthi2
The Reopen option in the action tab is from the widget below.
Name: Incident Standard Ticket Actions
Id: incident-standard-ticket-actions
Inside the widget you will see this condition below.
data.canReopen = incidentUtils.canReopenIncident(incidentGr);
It's calling to the function canReopenIncident in the script include IncidentUtilsSNC.
URL: https://<instance_name>/sys_script_include.do?sys_id=a1b5e796531232000600e26b88dc3472
canReopenIncident: function(current) {
return current.incident_state == IncidentState.RESOLVED && !gs.getUser().hasRoles() && !this._isMajorIncident(current);
},
Cheers,
Tai Vu