Reopen button on London release

kun1
Tera Expert

Hi team,

 

What's the difference between the Reopen button on London release and Jakarta release?

 

How we can see the reopen button on the incident form in London release?

Condition:-new global.IncidentUtils().canReopenIncident(current)

can some one please try to understand me this conditon?

 

Thanks!!

 

 

6 REPLIES 6

If you move incident from Resolved to Inprogress it will be reopen. 

*************************************************************************************************************
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]

****************************************************************************************************************

For Close UI Action to be Available you need Some Conditions Which Meet.

UI Action Condition is This - new global.IncidentUtils().canCloseIncident(current)

when you drill down the Function  canCloseIncident and SI IncidentUtils.

Now SI IncidentUtils Inherits from IncidentUtilsSNC ... Now  See Condition is Met or Not.

 

canCloseIncident : function(current) {
if (current.incident_state != IncidentState.RESOLVED)
return false;
if (gs.hasRole("itil_admin"))
return true;
if (this._isMajorIncident(current))
return (current.caller_id == gs.getUserID() && gs.getUser().hasRoles()) || gs.hasRole("major_incident_manager");
else if (current.caller_id == gs.getUserID())
return true;
return false;
},

 

Regards

RP