---
sourceDocument: Australia Platform security
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/de-DE/platform-security

 Release :

    - australia

ft:locale :

    - de-DE

ft:publication_title :

    - Australia Platform security

ft:clusterId :

    - psec

bundleId :

    - psec

workflow :

    - Platform


---

# Enforce valid query string choice \[New in Security Center 7.0\]

# Enforce valid query string choice \[New in Security Center 7.0\] {#ariaid-title1}

* Freigeben Version: Australia
* 
* Aktualisiert 12. März 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 Minute Lesedauer

Use a system property to ensure that any choice field value, when passed via a URL query string, is a valid active choice when a record is created.
When the glide.ui.query_string.enforce_valid_choice_on_create system property is set to true, the platform validates that any choice field value passed via a URL query string (for
example, from a list filter) is a valid active choice when the record is created.

If invalid, the value is ignored and the field falls back to its default value. When the property is false, validation is inactive, and the system accepts any value, even invalid or inactive ones. This
acceptance can potentially result in incorrect or unexpected data being stored on records.

Ensure glide.ui.query_string.enforce_valid_choice_on_create exists in the System Properties \[sys_properties\] table and is set to true. If the property doesn't exist in the table, the
fallback value is false.

## More information {#sc-enforce-valid-query-string-choice__section_lnh_pkf_32c}

{#sc-enforce-valid-query-string-choice__section_lnh_pkf_32c__entry__2}

| Attribute | Description |
|-|-|
| Configuration name | glide.ui.query_string.enforce_valid_choice_on_create |
| Configuration type | System Properties (/sys_properties_list.do) |
| Data type | Boolean |
| Recommended value | false |
| Default value | false |
| Fallback value | true |
| Category | [Architecture, design, and threat modeling](https://servicenow-prod.fluidtopics.net/GP7csKl7x_IoFFA7nE_oew "This broad control addresses high level design considerations and key elements to implement a secure application. This covers the tenants of availability, confidentiality processing integrity, non-repudiation and privacy. Additionally, elements of a secure software development lifecycle are included.") |
| Security risk | * Severity score: 2.2 * CVSS score: Low * Security Risk: Set this property to true to ensure that only valid choices are used for new record creation. Invalid choices may lead to minor and unexpected data integrity issues, where a user is able to select an unintended value. {#sc-enforce-valid-query-string-choice__ul_ihv_dvg_1xb} |
| Functional impact | Existing instances and workflows may rely on new records being created based on a filter that contains an invalid or inactive choice. Use the following process to observe this behavior: 1. Log in to an instance as an admin user. 2. Create a String field on any table. For example, an incident with 2 choices: Test1 and Test2. 3. Create a list filter on incident table selecting the string field with value set to Test2. 4. Go to dictionary field and deactivate the choice Test2. 5. Go to the filter selected in step 3 and select New button. 6. Check the value of the String type field in the newly opened record. When the property is set to true, the string field shouldn't have a value or should show the default value. {#sc-enforce-valid-query-string-choice__ol_u4z_pby_vfc} When the property is set to false (default), the string field has the value set to Test2. |
| Dependencies and prerequisites | None |
[ ]

To learn more about adding or creating a system
property, see [Add a system property](https://www.servicenow.com/docs/access?context=t_AddAPropertyUsingSysPropsList&version=australia&pubname=australia-platform-administration&ft:locale=en-US).

