We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

Percent Complete field works on form but not on List

im_mahadev
Kilo Contributor

I am trying to identify the source of a specific piece of code on the state field of the pm_project_task table and replicate its functionality for the List View. But not able to find the appropriate existing script, any help is greatly appreciated.

 

On the Form View, I inspected the State field and found this inline attribute: 

 onchange="onChange('pm_project_task.state', arguments.length === 2 ? arguments[1] : false);telemetryForRecordUpdate('state');" 

2 REPLIES 2

tiagomacul
Giga Sage

 

.

https://<instance>.service-now.com/now/nav/ui/classic/params/target/sys_db_object.do%3Fsys_id%3D77f2573a1b7e3890df16da86cc4bcb07%26sysparm_record_target%3Dsys_db_object%26sysparm_record_row%3D3%26sysparm_record_rows%3D3%26sysparm_record_list%3Dsys_update_nameISNOTEMPTY%255EnameSTARTSWITHpm_project_task%255EORDERBYDESCsys_created_on

.

tiagomacul_0-1778768709529.png

.
All configurations about pm_project_task 

.

tiagomacul_1-1778768779121.png

https://<instance>.service-now.com/now/nav/ui/classic/params/target/personalize_all.do%3Fsysparm_rules_table%3Dpm_project_task%26sysparm_rules_label%3Dpm_project_task%26sysparm_clear_stack%3Dtrue

.

tiagomacul_2-1778768838111.png

.

By default, there are 8 client scripts that reference the 'state' field within their logic

 

tiagomacul_3-1778768898742.png

.

 

 

Ankur Bawiskar
Tera Patron

@im_mahadev 

what's your business requirement and what's not working?

share some screenshots

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader