How to Filter Employee Center Announcements Based on Approval Status?

vjanaga1
Tera Contributor

Hello Community,

I am working on a requirement in ServiceNow Employee Center to display only approved announcements in the Announcements widget.

I have investigated the existing configuration and found the following:

  • The Employee Center portal uses the ec_dashboard homepage.

  • The homepage contains a BPT Announcements widget instance.

  • The instance uses the OOTB Announcements widget.

  • The widget's Client Controller retrieves announcements using spAnnouncement.get() and applies the type filter using spAnnouncement.filterOnType().

  • The Server Script only initializes widget options and does not contain the announcement retrieval logic.

  • I also checked the widget dependencies but could not locate the implementation of the spAnnouncement service.

My questions:

  1. How can I identify where the spAnnouncement Angular service is implemented?

  2. What is the recommended approach to filter announcements based on their approval status?

  3. Can this requirement be achieved through widget configuration or should we clone and customize the OOTB Announcements widget?

  4. What is the safest approach to ensure that only approved announcements are displayed without impacting existing functionality?

Any guidance, documentation, or examples would be greatly appreciated.

Thank you!

1 REPLY 1

sandeepdutt
Tera Patron

Hi @vjanaga1 ,

Unfortunately, there is no OOTB Approval workflow for Announcements.