Outage information

Matthew T_
Giga Contributor

Looking for some advice around what information can be displayed as part of an outage.

 

Our admin and I have had a play with a cloned widget and can't get it to display the desired Short Description of the outage (or title as I had recently discovered it is officially called!)

 

This is a test outage record in dev and it currently displays the CI as circled in pink however we want it to display the Short Description/Title highlighted in yellow

MatthewT__1-1668085582868.png

 

At the moment, this is what our live widget shows which is OK but not very informative at first glance as 'Contact Centre Applications' could mean anything given that we have lots of apps. Colleagues have to click on the CI to obtain more info which isn't very intuitive either.

MatthewT__2-1668085673146.png

 

After trying to change outage.ci to outage.Shortdescription and outage.Title but has resulted in the CI being removed entirely with nothing put in its place!

MatthewT__3-1668086134154.png

 

Any help would be appreciated as we're not really sure what else to change in the widget. Thanks!

 

 

 

1 ACCEPTED SOLUTION

Sebas Di Loreto
Kilo Sage
Kilo Sage

Most likely you are modifying a widget with variables like this {{outage.ci}}

If I am not wrong, the {outage} object is built with this information:

  • out.typeDisplay = outage.type.getDisplayValue();
  • out.type = outage.getValue("type");
  • out.details = outage.getValue("details");
  • out.ci = outage.cmdb_ci.getDisplayValue();
  • out.serviceID = outage.getValue("cmdb_ci");
  • out.begin = outage.begin.getDisplayValue();

I don't see that the outage.short_description is passed but you could add it.

 

SebastianDL_0-1668089051081.png

 


If I helped you with your case, please click the Thumb Icon and mark as Correct.


View solution in original post

3 REPLIES 3

Sebas Di Loreto
Kilo Sage
Kilo Sage

Most likely you are modifying a widget with variables like this {{outage.ci}}

If I am not wrong, the {outage} object is built with this information:

  • out.typeDisplay = outage.type.getDisplayValue();
  • out.type = outage.getValue("type");
  • out.details = outage.getValue("details");
  • out.ci = outage.cmdb_ci.getDisplayValue();
  • out.serviceID = outage.getValue("cmdb_ci");
  • out.begin = outage.begin.getDisplayValue();

I don't see that the outage.short_description is passed but you could add it.

 

SebastianDL_0-1668089051081.png

 


If I helped you with your case, please click the Thumb Icon and mark as Correct.


Thanks for the info Sebastian! That worked in our dev environment and even brought through the incident number but not in live which is a bit weird... Any ideas? It's the same code so no idea why it isn't pulling it through...

 

Dev Environment:

MatthewT__0-1668509584711.png

 

Live Environment:

MatthewT__1-1668509629864.png

 

 

 

Actually, this is working somehow! Re-did the widget and is now pulling through the right info. Thanks Sebastian!