Display function results in a database view
task australia Updated Sep 10, 2026 1 min read display-function-results-in-a-database-view.md
Add a function field to the output of a database view to see function results.
Before you begin
Role required: admin
Procedure
-
Navigate to All > System Definition > Database Views.
-
Select a database view.
-
Select the Try it related link.
-
Add the function field to the database view output.
See Configure items on forms or in lists using a list collector.
-
Review the function definition if the expected value is not returned or a returned value indicates the function definition is invalid.
- If the message Invalid function is returned, the function definition is invalid for string field types.
- If an empty value is returned, the function definition is invalid for other field types.
- If an unexpected value is returned, review the field definition in the function definition.
Result
The function field operation is executed and the results appear in the database view output.
Parent Topic:Displaying function results in a database view
47 lines · 2.1 KB
---
title: Display function results in a database view
description: Add a function field to the output of a database view to see function results.
locale: en-US
canonical_url: https://www.servicenow.com/docs/r/australia/platform-administration/table-administration-and-data-management/display-function-results-in-a-database-view.html
release: australia
product: Table Administration and Data Management
classification: table-administration-and-data-management
topic_type: task
last_updated: "2026-09-10"
reading_time_minutes: 1
breadcrumb: [Displaying function results, Work with database views, Table admin, Tables and data, Configure core features, Administer the ServiceNow AI Platform]
---
# Display function results in a database view
Add a function field to the output of a database view to see function results.
## Before you begin
Role required: admin
## Procedure
1. Navigate to **All** > **System Definition** > **Database Views**.
2. Select a database view.
3. Select the **Try it** related link.
4. Add the function field to the database view output.
See [Configure items on forms or in lists using a list collector](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/platform-user-interface/t_UseSlushbuckets.md).
5. Review the function definition if the expected value is not returned or a returned value indicates the function definition is invalid.
- If the message **Invalid function** is returned, the function definition is invalid for string field types.
- If an empty value is returned, the function definition is invalid for other field types.
- If an unexpected value is returned, review the field definition in the function definition.
## Result
The function field operation is executed and the results appear in the database view output.
**Parent Topic:**[Displaying function results in a database view](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/platform-administration/table-administration-and-data-management/displaying-function-results-in-a-database-view.md)
| title | Display function results in a database view |
| description | Add a function field to the output of a database view to see function results. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/australia/platform-administration/table-administration-and-data-management/display-function-results-in-a-database-view.html |
| release | australia |
| product | Table Administration and Data Management |
| classification | table-administration-and-data-management |
| topic_type | task |
| last_updated | 2026-09-10 |
| reading_time_minutes | 1 |
| breadcrumb | Displaying function resultsWork with database viewsTable adminTables and dataConfigure core featuresAdminister the ServiceNow AI Platform |