# Testing Dynamic Lists

When creating/editing a Dynamic List, clicking **Test** will present a dialogue showing the results of the SQL query.&#x20;

In this simple example, the SQL Query returns all Keyfax users that belong to the **HELPDESK** group. It appends the Surname to the Forename (column name is **Name**) and also displays the **EmailAddress** column. It's the email address that we want to pass on to another Databox for use elsewhere in the scripts:

<div align="center"><figure><img src="/files/OuKkBmpDhARx83EET4tb" alt=""><figcaption><p>Testing a Dynamic List</p></figcaption></figure></div>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.keyfax.biz/product-suite/admin/entities/questions/dynamic-lists/testing-dynamic-lists.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
