How to show outage notifications over Virtual agent Bot

Ashok59
Tera Contributor

Hi All,

 

How to show outage notification/announcements on virtual agent bot.

 

 

Regards,

Ashok.

 

 

5 REPLIES 5

Hemant Goldar
Mega Sage
Mega Sage

Hi @Ashok59,

Did you check the below support doc?

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1390228 

 

Thanks,

Hemant

Hi @Hemant Goldar ,

 

I want to provide announcement over the Bot like we are providing on service portal home page.

 

kindly assist me how to configure and what would be script for it.

 

Regards,

Ashok.

Ashok59
Tera Contributor

Hi @Hemant Goldar ,

 

I want provide announcement over the Bot like we are providing on service portal home page.

 

kindly assist me how to configure and what would be script for it.

 

Regards,

Ashok.

In your greetings topic (if you have added the outages part like Dynamic Greeting topic), to get the same result as the portal - you will need to ammend your query to something like below... It should bring back the same as portal.

 

  • Original OOTB query
    • var encQuery = 'cmdb_ci.nameISNOTEMPTY^endISEMPTY^ORend>javascript:gs.endOfCurrentMinute()^begin>=javascript:gs.beginningOfLast7Days()';
  • Ammended query
    • var encQuery = 'cmdb_ci.nameISNOTEMPTY^begin<=javascript&colon;gs.endOfToday()^endISEMPTY^ORend>=javascript&colon;gs.beginningOfToday()^typeINdegradation,outage';