# Data Status

{% hint style="info" %}
**Block Information**

Available in: Page Flow and Cloud Flow

Toolbox Category: Data - Read and Data - Edit

Block Type: [Regular](/app-editor/page-flow/block-anatomy.md#regular-block)
{% endhint %}

**`Data Status`** is a [regular block](/app-editor/page-flow/block-anatomy.md#regular-block) that tracks the status of [read](/app-editor/page-flow/toolbox-blocks/data-read.md), [lookup](/app-editor/page-flow/toolbox-blocks/data-lookup.md), [add](/app-editor/page-flow/toolbox-blocks/data-add-record.md), [update](/app-editor/cloud-flow/toolbox-blocks/data-update-records.md) and [delete](/app-editor/cloud-flow/toolbox-blocks/data-delete-records.md) operations for a [database table](/app-editor/data/database-tables.md).

<div align="left"><figure><img src="/files/T5jpWoQRUklIVOM7YqUB" alt="" width="246"><figcaption><p>Data Status block</p></figcaption></figure></div>

The block consists of the following (from top to bottom):

* *Operation:* [Dropdown configuration setting](/app-editor/page-flow/block-anatomy.md#dropdown) to select the specific database operation you want to track the status of.  The dropdown options are:
  1. *Read* - Tracks the completion of database read operations by [Data Read](/app-editor/page-flow/toolbox-blocks/data-read.md), [Data Read Next](/app-editor/page-flow/toolbox-blocks/data-read-next.md) and [Data Read Previous](/app-editor/page-flow/toolbox-blocks/data-read-previous.md) blocks.
  2. *Add* - Tracks the completion of database add operation by the [Data Add Record](/app-editor/page-flow/toolbox-blocks/data-add-record.md) block.
  3. *Update* - Tracks the completion of database add operation by [Data Update Record with ID](/app-editor/page-flow/toolbox-blocks/data-update-record-with-id.md) and [Data Update Records](/app-editor/cloud-flow/toolbox-blocks/data-update-records.md) blocks.
  4. *Delete* - Tracks the completion of the database delete option by [Data Delete Record with ID](/app-editor/page-flow/toolbox-blocks/data-delete-record-with-id.md) and [Data Delete Records](/app-editor/cloud-flow/toolbox-blocks/data-delete-records.md) blocks.
  5. *Lookup* - Tracks the completion of the database lookup operation using the [Data Lookup](/app-editor/page-flow/toolbox-blocks/data-lookup.md) block.
* *Table:* [Value Parameter](/app-editor/page-flow/block-anatomy.md#value-parameters) that accepts a [*text*](/app-editor/page-flow/references/value-types.md) value representing the name of the [Database Table](/app-editor/data/database-tables.md) .
* *Dataset Name:* [Value Parameter](/app-editor/page-flow/block-anatomy.md#value-parameters) that accepts a [*text*](/app-editor/page-flow/references/value-types.md) value representing the name of the dataset. This can be any text value and can later be used to track the completion of the read.
* *Success Tasks*: a [Flow Parameter](/app-editor/page-flow/block-anatomy.md#flow-parameters) where you connect blocks that specify what you want done when the operation completes successfully.
* *Failure Tasks*: a [Flow Parameter](/app-editor/page-flow/block-anatomy.md#flow-parameters) where you connect blocks that specify what you want done when the operation has an error.

***

## Usage Examples

The example below shows the **`Data Status`** block being used to track the completion of a database read operation. This example is explained in more detail [here](/app-editor/page-flow/toolbox-blocks/data-read.md#usage-examples).

<div align="left"><figure><img src="/files/4n3Mxx9TXV1tsOFeEBhY" alt="" width="563"><figcaption><p>Data Status block example with Database Read operation</p></figcaption></figure></div>

The next example (below) shows the **`Data Status`** block being used to track a database add operation. This example is explained in more detail [here](/app-editor/page-flow/toolbox-blocks/data-add-record.md#usage-example).

<div align="left"><figure><img src="/files/qeSJY01qaC52Uo159EL1" alt="" width="563"><figcaption><p>Data Status block example with Database Add operation</p></figcaption></figure></div>

The image below is our third example, where we use the **`Data Status`** block to track a database update operation. This example is explained in more detail [here](/app-editor/page-flow/toolbox-blocks/data-update-record-with-id.md#usage-example).&#x20;

<div align="left"><figure><img src="/files/k3WXVnxh91FTceLqPg9r" alt="" width="563"><figcaption><p>Data Status block example with Database Update operation</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.zingy.ai/app-editor/page-flow/toolbox-blocks/data-status.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.
