How to remove duplicate Planned Maintenance outage from the Service Portal

Rhonda9
Tera Expert

Hello ,

 

I am working on a way to remove any duplicate planned outage messages from the Service Portal.

The way that I have configured Planned outages so far is cloned the widget and customized to display the details field first and then "will be unavailable from"  "beginning date and time" to "ending date and time"

Note: in the detail field from the Change Request form, I want the customer to type in the application name.

In this example it is ServiceNow but there are times when 2 planned outages are created for 2 seperate changes but the same application such as "Oracle" . How can I configure ServiceNow to look at the outage detail and if it contains the same app for both outages to only display the outage with the longest date range or duration?  I believe I can accomplish this via create outage Business rule but need an idea of how to write it in a script.  

Rhonda9_0-1702576901229.png

 

Any assistance will be greatly appreciated.

 

1 REPLY 1

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Rhonda9 

 

We had same use case , but it is more on script side, where you need to see all the available outages and groups by them. Personally speaking not recommended, it may impact the performance.

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

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