Percent complete field not displaying as a progress bar in status report
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2023 10:59 AM
I have a percent complete field type in my pm_project_task. In my status report the field value is displaying as an integer and not as a progress bar. I've already checked the field type and as per this documentation, the field value is displayed as a progress bar in lists.
https://developer.servicenow.com/dev.do#!/learn/learning-plans/utah/new_to_servicenow/app_store_lear...
Is there a way to display the field values as progress bar in the project status report?
This is the server function I'm using to get the values for this particular status report tab:
(function() {
var p = {table: 'pm_project_task', fields: 'short_description,percent_complete,status,state,start_date,end_date'};
p.hide_header = true;
p.hide_footer = true;
p.filter = "^u_include_in_status_report=true^top_task=" + $sp.getParameter('sysparm_sys_id');
data.pending_tasks = $sp.getWidget('widget-data-table', p);
data.sort = "newest";
// p.filter = "^state!=pending^task=" + $sp.getParameter('sysparm_sys_id');
//data.closed_risks = $sp.getWidget('widget-data-table', p);
})();
0 REPLIES 0