ServiceNow short description changes when state changes

Community Alums
Not applicable

Hi

 

This is an intermittent issue, where short description and customer changes when assignee changes state to 'Waiting for Approval'. Also this short description which changes into is of an old closed case. It's only happening to a single user

Any guidance on how to troubleshoot?

 

Thanks

Bimsari

 

2 REPLIES 2

Ravi Chandra_K
Kilo Patron
Kilo Patron

Hello @Community Alums 

Check for on Change Client scripts on the Table or Update Business Rules. (It could be a BR most probably based on the scenario).

Since this is a reproducible issue, impersonate the user and You can enable Debug BR or Script tracer to know which scripts running.

Please mark the answer as helpful and correct if helped.

Kind regards,

Ravi Chandra 

Runjay Patel
Giga Sage

Hi @Community Alums ,

 

This issue occur due to a customization or misconfigured script triggered during the state transition. Check audit history and do debugging to find the root cause.

 

Use background script to check

var gr = new GlideRecord('sys_update_xml');
gr.addQuery('target_name', 'incident'); 
gr.addQuery('field_name', 'short_description'); 
gr.orderByDesc('sys_created_on');
gr.query();
while (gr.next()) {
    gs.print('Updated by: ' + gr.sys_updated_by + ', at: ' + gr.sys_updated_on);
}

 

Review Business Rules and Scripts.

Enable Debug for Business Rules and check the impact

Use System Diagnostics > JavaScript Log Statements to debug server-side scripts.

 

 

-------------------------------------------------------------------------

If you found my response helpful, please consider selecting "Accept as Solution" and marking it as "Helpful." This not only supports me but also benefits the community.


Regards
Runjay Patel - ServiceNow Solution Architect
YouTube: https://www.youtube.com/@RunjayP
LinkedIn: https://www.linkedin.com/in/runjay

-------------------------------------------------------------------------