# Table Exists

### Description

The `Table exists` action verifies that a specified table exists on a database.

You must provide a connection and the table name.

Hop returns a True or False value depending on whether the table exists.

Suppose you have an external system that creates a summary table or yesterday’s data extract.

The external system may not have performed the action yet, so you set up a polling piece that waits for the staged data to arrive in the database.

There is no point in processing the workflow until the data is available, so you can use this workflow action as a semaphore that polls the database to determine whether or not the table exists.

### Options

| Option      | Description                                    |
| ----------- | ---------------------------------------------- |
| Action name | The name of the workflow action.               |
| Connection  | The connection to use                          |
| Schema name | The schema name if applicable to your database |
| Table name  | The name of the database table to check        |


---

# 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.primeur.com/data-shaper-1.21/knowing-the-data-shaper-designer/workflows/actions/tableexists.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.
