Is it possible to trim the field values before sending Report without making changes in CMDB table?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2023 12:46 AM
Hi all,
I have created a weekly report with details from Server table like Name, Host Name, Discovery source etc.,. I noticed that few servers have additional @virtual server and hostname has domain name .XXX.com. I wanted to check if there is any way to remove those values (without updating them in the cmdb table) before sending report? Please advice
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2023 01:04 AM
Hi @Suvetha S
one option would be creating report function fields which prepare the value accordingly and then to report on these fields instead of the original fields: https://docs.servicenow.com/bundle/vancouver-now-intelligence/page/use/reporting/concept/function-fi...
Maik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2023 02:44 AM
Can we achieve it with help of scripting?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2023 03:03 AM - edited 12-21-2023 03:03 AM
Hi, If it's a major expectation you can achieve it through Database View and define conditions to trim the value. For any reason, custom attribute allows to creation of an inside OOB form you can define simple business rules and populate the value in a custom field.
Suresh.