Auto refresh a list (say incident) every 1 minutes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-08-2017 02:49 AM
We have an requirement to auto refresh a list (say incident) every 1 minutes.
Is it advisable to implement this functionality ? If not, What are the disadvantage of implementing this ?
Any help is much appreciated.
==================================================================================
We want to do rest api call every minute (less then 5 min) from T connect portal to see the status of the incidents whenever an user is logged to T connect.
So if we will start polling every minute it will have any impact to the system and what kind of impact it will happen.
Do we have any KB or recommendation Doc for that please share with me?
Impact assessment based on the load which is mentioned in the below:
The team has started working on the auto-refresh feature this sprint. This feature will poll Service Central once every minute while a user is viewing an incident on their mobile device or browser. Eventually I think we will need a scalable solution for this that leverages push however for now I think polling is the only option that will meet our timelines.
Below are my estimations for the load we're likely to put on Service Central. Could you provide your view on whether these assumptions seem reasonable and whether you see any issues with this load in the short term?
Nadeesha has estimated the following customer growth:
November — 10
Dec — 34
Jan — 75
Feb — 85
Nadeesha estimates 8 users per company. Therefore, total users: 85 * 8 = 680
Assumption: 1 incident per week per customer
1 / 7 * 85 = 12.1429 incidents per day
Assumption: 1 person monitoring each incident for 1 hour per day
Assumption: monitoring window of 12 hours per day based on business hours from 8 am Australia to 5 pm Singapore
- 12.1429 * 1 / 12 = 0.506 watches at any given time
Requirement: 1 minute auto-refresh rate
- 0.506 requests per minute average load
Thanks in Advance.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-08-2017 03:37 AM
Hi Sangeeta,
Please check the below threads
List layout auto refresh button using UI actions
My personal opinion i would not recommend to have this as it can have an impact on the performance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-08-2017 05:57 AM
You can use a ui action
Select list action on insert and update, client as true
Onclick- refreshCustomer()
Script
function refreshCustomer() {
GlideList2.get("your_tablename").refresh();
}
setTimeout(function() {refreshCustomer(); }, 60000);
Also you could use a dashboard type like single score report that updates in real time