--- title: Data types for assessments description: Metric data types have functions that depend on the method that you select. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/servicenow-platform/r\_DataTypes.html release: australia topic_type: reference last_updated: "2026-03-12" reading_time_minutes: 3 breadcrumb: [Assessments reference, Assessments, Assessments and Surveys, Exploring Service Administration, Service Administration, Manage service capabilities, Extend ServiceNow AI Platform capabilities] --- # Data types for assessments Metric data types have functions that depend on the method that you select.
| Data type | Compatible methods | Description |
|---|---|---|
| Attachment | Assessment | On questionnaires, users attach one or more files to a question. |
| Checkbox | Assessment | On questionnaires, users select a check box next to a statement or leave it cleared. \[Omitted image "CheckboxDataType.png"\] Alt text: Check box Set the **Scale definition** field to **High** if a selected check box equates to a good score. |
| Choice | Assessment | On questionnaires, users select a value from a list of custom answer options. Create a metric definition for each answer option.\[Omitted image "ChoiceDataType.png"\] Alt text: Choice |
| Date | Assessment | On questionnaires, users select a date.\[Omitted image "DateDataType.png"\] Alt text: Date |
| Date/Time | Assessment | On questionnaires, users select a date and time.\[Omitted image "DateTimeDataType.png"\] Alt text: Date/Time |
| Duration | Script | When the script runs, the system populates the **Duration value** and **Scaled value** fields on the Metric Result form with the appropriate values from the *actual\_result* and *scaled\_result* variables in the metric script. |
| Likert Scale | Assessment | On questionnaires, users select a value from a custom scale of answer options. Create a metric definition for each answer option, which is represented by a radio button on the scale. A Likert scale metric that evaluates an application's ease of use might have the metric definitions **Easy**, **Average**, and **Difficult**.If you want to reuse a series of answer options for multiple metrics, create a metric template and use the Template data type instead of the Likert Scale data type. \[Omitted image "LikertScaleDataType.png"\] Alt text: Likert Scale |
| Number | Assessment, Script | **Assessment**: On questionnaires, users enter a number. \[Omitted image "NumberAssessmentDataType.png"\] Alt text: Number **Script**: When the script runs, the system populates the **Actual value** and **Scaled value** fields on the [Metric Result](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/servicenow-platform/t_ViewAMetricResult.md) form with the appropriate values from the *actual\_result* and *scaled\_result* variables in the metric script. |
| Percentage | Assessment, Script | **Assessment** On questionnaires, users enter a number. \[Omitted image "PercentageAssessmentDataType.png"\] Alt text: Percentage **Script** When the script runs, the system populates the **Actual value** and **Scaled value** fields on the Metric Result form with the appropriate values from the *actual\_result* and *scaled\_result* variables in the metric script. |
| String | Assessment | On questionnaires, users enter text. The size of the string field depends on the String option you select: \[Omitted image "StringSingleLineDataType.png"\] Alt text: String \[Omitted image "StringSingleLineWideDataType.png"\] Alt text: String single line wide data type \[Omitted image "StringMultilineDataType.png"\] Alt text: Additional comments |
| Template | Assessment | On questionnaires, users select a value from a predefined series of answer options. There must be at least one template defined to use this data type. For a template, there is a template definition for each answer option, which is represented by a radio button. |
| Yes/No | Assessment | On questionnaires, users select **Yes** or **No** from a list. \[Omitted image "YesNoDataType.png"\] Alt text: Yes/No Set the **Scale definition** field to **High** if selecting **Yes** equates to a better score. |