Journal fields maximum size is not working

Spike236
Tera Contributor

Hello everyone,

 

i ran into problems with using glide.max_journal_list_size. I set it up as per the documentation but when testing the property in journal fields on incident record its not working properly. It basically show all of the entries, no Show all button. 

 

I saw this note in the documentation. Note: Journal field display limits are not supported in the legacy Comments and Worknotes field.

What does it mean? With what field should I test it then? Does anyone have experience with this? Thank you

 

Journal field display limits are not supported in the legacy Comments and Worknotes field.

3 REPLIES 3

Anil Lande
Kilo Patron

Hi,

Did you check this KB Article?

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

 

https://docs.servicenow.com/en-US/bundle/utah-platform-administration/page/administer/field-administ...

 

 

Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.
Thanks
Anil Lande

Aman Kumar S
Kilo Patron

Hi @Spike236 ,

Follow below article:

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

Description

Journal field display size limit is not respected when setting the system properties:
 glide.max_journal_list_size
 glide.shortened_journal_length

The documentation for these properties is the following:
https://docs.servicenow.com/csh?topicname=c_JournalFieldDisplayLimits.html&version=latest

 

Steps to Reproduce

 

1. Open the system properties table: sys_properties.list
2. Add the documented properties glide.max_journal_list_size and glide.shortened_journal_length
3. Alter the properties values glide.max_journal_list_size = 1 or glide.shortened_journal_length = 10
4. Navigate to or create an incident or task record with large journal entries:
Note that these entries are unchanged, showing entries larger than one 1MB and more than 10 chars.

Workaround

After carefully considering the severity and frequency of the issue, and risk of attempting a fix, it has been decided to not address this issue in any current or future releases. We do not make this decision lightly, and we apologize for any inconvenience.
The Activity Stream does not contain any code to read the above properties in the current versions. Only glide.max_activity_size is used to set the max content shown.

Best Regards
Aman Kumar

Spike236
Tera Contributor

Hello @Aman Kumar S  and @Anil Lande,

is there any way to limit how journal fields are displayed? My aim is to shorten text in case there are long texts inserted.