Once an Incident has been Resolved/Closed/Cancelled then no option with create should be visible

Ashwini Sawant1
Tera Contributor

Hello All,

 

I have below request -

Once an Incident has been Resolved/Closed/Cancelled (Closed either manually by MiM for Priority 1 incident or automatically by the system for Priority 2, 3, 4, 5). There should not be possible for an action to be taken - No Story or Change and No Outage should be possible to be raised from that Incident once the INC is in Resolved/Closed/cancelled state.

 

Everything Create must not be possible (except Create Problem when INC is in Resolved state)

 

Kindly help me with the above changes in the existing UI actions related to the same. 

 

 

7 REPLIES 7

Anil Lande
Kilo Patron

Hi,

You need to modify all UI Actions (created on Incident table) conditions.

 

In UI Actions condition add below logic at the end :

&& current.active == true

 

Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.
Thanks
Anil Lande

Thanks for your reply. But in the case of resolved state it's always Active = True & we want to restrict this on resolved state also. 

Hi @Ashwini Sawant1 

 

I am agree with @Maik Skoddow  and also the solution provided by @Anil Lande  said ALL UI Action, are you okay to do customization. It is very risky and also see the impact of these changes.

 

Be careful mate, you can break the foundation. 

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

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

you can add additional condition like 

&& current.state!=6

 

6 is for resolved.

 

Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.
Thanks
Anil Lande