Caller field is clearing out for some Incident while saving any incident.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-21-2022 04:06 AM
Hi,
Caller (caller_id) field is clearing out for some incidents while we are saving the record. I checked before update business rules and client scripts but none seem to be causing any issues. Then, I looked into "Save" UI action and it is OOB with no customization.
I enabled debugging too but no BR or server side scripts seem to be clearing out caller field. Adding to that, I also ran a filtered search on business rules/client scripts/script includes to see if any of them have anything written in their script section which clears out caller_id field, but no luck!
I noticed something weird with following "Save" UI action though:
UI action: https://<your_instance>.service-now.com/nav_to.do?uri=sys_ui_action.do?sys_id=432ace8b0a0a0b34006b02832660c894
They have written following code:
action.setRedirectURL(current);
current.update();
Should they have not placed setRedirectURL after current.update()? Is there a chance that above code might have caused redirection to current record while system was still updating field values? If that might have happened, is there a chance that system cleared out the caller field instead of keeping its previous value?
Any insights to solve this issue or troubleshooting steps is appreciated. Thanks folks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-21-2022 04:18 AM
You missed scripts inside UI Poicies

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-21-2022 04:26 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-21-2022 04:21 AM
HI Ashish
Try using field watcher on caller field.
Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
2022-25 ServiceNow Community MVP

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-21-2022 04:29 AM
Hi, thanks for your reply...I enabled field watcher however, issue is random in nature. It is not always reproducible. So, I can't keep running field watcher every time and with each update.