The word 'Null' appearing when clearing out the value within a field on an application service
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2025 01:07 AM
On an application service record, the name field is made up of the Business Application Name and Instance Descriptor field:
What we've noticed is that if a user clears the Instance Descriptor field manually within the form, it updates the Name to just reflect the Business Application Name field as expected:
A user who doesn't have access to the application services table can carryout this amendment via a Data Only change request:
So a user can clear out the Instance Descriptor field and click Save Proposed Changes
Once the change record has been approved, the user can then click on the Apply Proposed Changes button:
However, what we've noticed is that when a user clicks on Apply Proposed Changes, the Instance Descriptor field does get cleared out as expected, but the Name field includes the word Null instead of just updating the Name with just the Business Application Name value:
The change is triggered by the following Business Rule:
The below code is from within the Advanced tab:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2025 01:20 AM
so what's your analysis for the above business rule when you added logs?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2025 01:34 AM
Hi,
The results of the logs are below:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2025 01:55 AM
is the field name u_instance_descriptor correct and is on same table where business rule is running?
I assume it's not a dot walked field added on form via some other reference field?
what happens when you run as admin?
It's going inside that 2nd block because it's unable to fetch the value
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2025 02:08 AM
Hi @Ankur Bawiskar Yes so the 'u_instance_descriptor' is on the 'cmdb_ci_service_discovered' table.