Service Portal Announcements are not working anymore after Paris Upgrade... (500 Error Message)

Simon Ciglia1
Tera Contributor

Dear SNC,

Our Service Portal Announcements are not working anymore (they don't show up) after Paris Upgrade.

We get the following error message:
js_includes_sp_libs.jsx?v=10-20-2020_1602&lp=Mon_Nov_02_03_42_19_PST_2020&c=31_1087:22879 GET https://instancename/api/now/sp/announcement 500 (Internal Server Error)

 

Do you have any advise?

Thank you in advance,
Simon

1 ACCEPTED SOLUTION

Neha55
Tera Expert

The Portal Announcements has stopped working after Paris upgrade. 

This issue will occur if the Instance Security Center related announcements are active and the From date is  on and after today on Announcements table.

Option 1: If you are not using the OOB Instance security center announcements,then deactivate the related announcement records.

Option 2: Refer HI ticket and add the correct Announcement Display style from the Announcements list view.

https://hi.service-now.com/kb_view.do?sysparm_article=KB0860971

Please mark if this is helpful.

find_real_file.png

View solution in original post

8 REPLIES 8

sachin_namjoshi
Kilo Patron
Kilo Patron

 

You should inspect widget for announcement to see actual error.

Announcement widget is working fine for me in OOB Paris instance.

Also, make sure to revert Announcement widget OOB if it's customized.

 

 

 

Regards,

Sachin

Community Alums
Not applicable

I faced the same issue.

Issue is when we have wrong data on the other announcement the widget fails everywhere which is funny 😛


For me, I populated the Display style as Normal for all of them and its started working fine.
find_real_file.png

Gabriel Cabral
Tera Contributor

Fix Script:

var grA = new GlideRecord('announcement');
grA.addEncodedQuery("display_style=7f8fe758c31023002ff2554d81d3ae99");
grA.setValue('display_style', '339ea11ae7d4030075c2a117c2f6a9cf');
grA.updateMultiple();

Rachel Gomez
Giga Expert

Get started with CI Lifecycle Management.

Lifecycle management APIs.

Components installed by CI Lifecycle Management.

Activate the CI Lifecycle Management scheduled job.

Define a CI action.

Define compatible CI actions.

Define a not-allowed CI action.

Set priority for an operational state.

 

Greeting,

Rachel Gomez