- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2025 07:17 AM
Hi @Karan Chhabra6 ,
Hi @Abhijit4 ,
Step 1: Navigate to sys_ui_style.list and create a new record
value:
javascript: new ElapsedSLA().getSLAPercent(current) >= 90;
Step 2: Create a script include named 'ElapsedSLA', please use this script
var ElapsedSLA = Class.create();
ElapsedSLA.prototype = {
initialize: function() {},
getSLAPercent: function(incRef) {
var slaPercent = '';
var sysID = incRef.sys_id;
var slaGR = new GlideRecord('task_sla');
slaGR.addQuery('task', sysID);
slaGR.query();
if (slaGR.next()) {
slaPercent = slaGR.business_percentage;
}
return slaPercent;
},
type: 'ElapsedSLA'
};
I have tried as you mention be,but incident number background color is not displaying, its just displaying dot color as shown below screenshot, i want to display incident number exactly same like you display.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2025 07:31 AM
Hi,
Can you click on the setting icon of the list ane ensure to set 'Modern cell coloring' to True
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2025 07:31 AM
Hi,
Can you click on the setting icon of the list ane ensure to set 'Modern cell coloring' to True
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2025 05:56 AM
Thank you so much for HELP
