Survey responses in a database view
Summarize
Summary of Survey responses in a database view
ServiceNow allows customers to view and analyze survey responses through a database view, which presents each survey instance as a single row with answers to survey questions (metrics) shown in columns. This facilitates easy analysis and export of survey data for reporting purposes.
Show less
Key Features
- Database views can be created directly from the Survey Definition form to organize survey response data in a tabular format.
- The View Responses in Rows related link displays each survey instance response in a separate row, with survey questions as column headers and answers as the respective values.
- Export options are available via the standard ServiceNow platform capabilities, enabling survey response data to be exported for external use.
- By default, up to five active metrics per survey are displayed in the view, alongside key columns such as instance ID, assignee, and task.
- The database view can optionally show additional dates (start, due, expiry, completed) though these are not enabled by default.
- Special handling exists for ranking and multiple-choice metrics, where multiple records may appear for a single survey instance.
Important Considerations
- The View Responses in Rows link is hidden if there are more than five active metrics, no responses, or over 100,000 responses for the survey.
- The database view supports surveys with up to 100,000 responses; however, if already opened in a tab, the view remains accessible beyond this limit.
- Any changes to survey configuration or metadata (such as adding or removing metrics or categories) trigger an event (survey.resultsview.updated) to notify users to synchronize the database view accordingly.
- The total number of survey responses is not displayed within the database view itself.
Practical Use for ServiceNow Customers
This functionality enables ServiceNow customers to efficiently analyze survey data within the platform without complex scripting or external tools. It supports rapid insight generation, streamlined reporting, and easy export of survey results for further analysis or sharing. Customers should monitor survey metric counts and response volumes to ensure optimal database view usability and keep configuration changes synchronized with database views to maintain data accuracy.
You can view survey responses in a database view for reporting purposes. For each survey instance, you can view the instance as a single row and the answers to each survey question (metric) in the corresponding columns. Analyze the responses easily and, if you want, export the survey responses.
You can create a database view on the Survey Definition form. After the database view is created, you can either export the survey response using the standard capabilities of the ServiceNow® platform or choose to create a report of the survey responses using the Reporting module.
Use the View Responses in Rows related link on the Survey Definition form to view each survey instance response in a separate row and each survey question as the name of the corresponding column. The answer to the question is displayed in that column. To export the survey response in a tabular form, in the context menu, click Export.
- There are more than five active metrics.
- There are no responses to the survey instance.
- There are more than 100 K responses for that particular survey. To view this database view of the survey responses, the number of responses must be less than or equal to 100 K. But, the database view is still accessible for more than 100 K responses when it’s already open in a new tab.