Field value is getting cleared
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2020 04:44 AM
Hi,
I have a field on the change form onload of the change form I can see the value that is visible on the form but soon as the form loads and settles down field value is empty. I have no onload script written on the particular field to clear the value of that field. In the history of that field I am able to find the value of the field. Can somebody help me with this.
Thanks,
Shruthi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2020 05:05 AM
I have checked to my suprise the same thing is working in dev but not in QA. Please help

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2020 05:16 AM
We might miss out few things.
Try disabling all onload client scripts (active false) on that table for a minute and do a quick test. If this still makes it unclear, then you can be sure that it is not client script.
Then do the same with ui policies.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2020 05:18 AM
please check any display BR is running on that table and setting the value as empty
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2020 05:24 AM
Hi Ankur,
I thought about that, but if there is display Br, the value shall not be visible at all in the first place right.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2020 05:34 AM
Hi,
that's correct. display BR runs first and then client script
possibly display BR setting it as empty and no other client script or UI policy
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader