Start a conversation

Manage Activity Stream Duration with streamPeriodDays Property

Overview

This article aims to help when:

  • Customer wants to be sure that activity up to 180 days old shows in their news streams.
  • You are confused about the difference between lookback_days properties and streamPeriodDays DB setting.

 

Prerequisites

These steps can be executed by the customer in On-Prem instances. But in Cloud and Hosted instances, they can only be executed by support.

 

Information

To summarize, streamPeriodDays controls how long the EAE service holds on to posts. If there is recent activity then the lookback days properties control a moving window of activity that users actually see. The lookback days don’t affect the age of items showing in the notifications inbox.

Let’s test this with a hypothetical scenario where: 

  • The jive.news.default_results_unread_item_lookback_days is set to 10 days (or the value is not set at all).inline-1426710066.png
  • The jive.news.default_results_read_item_lookback_days is set to 2 days (or the value is not set at all).inline329536825.png
  • The streamPeriodDays is set to 180 days (or the value is not set at all). inline-1443790345.png
  • There has been no activity for 1 month.
  • There have been 4 discussion posts 1 month, 1 month, 3 months, and 4 months ago.

In this scenario, the end-user will see the 4 discussion posts in their news stream. They will also see notifications about these posts in their notifications inbox.

Screenshot_2021-09-30_at_10.57.31_AM.png

 

Now if we set lookback days as below explicitly:

  • jive.news.default_results_unread_item_lookback_days = 10 
  • jive.news.default_results_read_item_lookback_days = 2 

 

And if we change the streamPeriodDays to 30.

The 2 older posts (3 and 4 months old) will disappear from the user’s news stream. Only the 1-month-old items are visible. inline1912575309.png

Same for notifications inbox:inline-1211646341.png

 

 

Now if there is a new post created today, and the user logs in today and sees the post.

  • The 2 older posts (1-month-old) will also disappear from the user’s news stream. inline2143926860.png
  • The new post (which is seen - or “read”) will remain in the user’s stream for 2 days
  • The 1-month-old posts and 1 new post will remain in the user’s notifications inbox for 30 days.inline-1133183745.png

Let’s say a different user logs in after 5 days. This user will also see the new post because the “unread items” look back is set to 10 days.

 

Now if you change the read items lookback to 30 days, the 1-month-old post will reappear in the news stream.inline-2043479329.pnginline1783888449.png



 



Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Priyanka Bhotika

  2. Posted
  3. Updated

Comments