--- title: "Create Table Operator" slug: "create-table-operator" updated: 2025-09-26T17:10:46Z published: 2025-09-26T17:10:46Z canonical: "docs.unqork.io/create-table-operator" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.unqork.io/llms.txt > Use this file to discover all available pages before exploring further. # Create Table Operator UDesignerClassic Designer The **Create Table operator** creates an array with one or more empty rows in a [Data Workflow](/v1/docs/data-workflow-component). These empty rows can be filled using other operators in the Data Workflow, or at a later time. ![](https://cdn.us.document360.io/15548f06-2fba-434c-b0c1-5df88317dbd7/Images/Documentation/createTableOperator_thumb_0_0.jpg?sv=2026-02-06&spr=https&st=2026-11-06T21%3A38%3A08Z&se=2026-11-06T22%3A38%3A08Z&sr=c&sp=r&sig=FfccaeUknfJ1H3dmLtplpv5qrxs1C23CSqh3OQoU%2BJo%3D) To set the number of rows in the array: - Hard-code them using the operator's **Info** window. - Use another component as an argument for the operator. The Create Table operator serves as the start of your Data Workflow, and does not have an input port. It also includes an argument port for determining the value it creates. Connect another operator to the Create Table operator's argument port. Then, in the **Expression/Value** field, use the _arg value to reference that value. You can find the Create Value operator under the [I/O group](/v1/docs/iooperators) to the left of your [Data Workflow](/v1/docs/iooperators) canvas. ## About the Info Window Learn more about each setting in the Create Table operator's Info window: | **Setting** | Description | | --- | --- | | **Category** | Grayed out and non-adjustable setting indicating the operation type. | | **Label** | Sets the label for your operator, displaying below the operator on your Data Workflow canvas. This field is optional, but set a label if you use more than one of the same operator type. A label helps you identify your operators without opening any Info windows. | | **Preserve Argument Type** | When selected, this setting ensures the argument data type is respected when the operator executes. | | **Create Index** | When set to **YES**, the operator creates a `index` key for each row or object. This field contains an integer value of the index for that row. This index makes it easier to parse or position your data based on the order of the rows. When set to **NO**, your operator does not create an index. You might want an index if you plan to use the [Merge](/v1/docs/merge-operator) or [Append](/v1/docs/append-operator) operators in your Data Workflow. | | **Number of Rows** | The number you enter here determines how many rows the operator creates. If you need two rows, enter `2.` To use another operator as an argument, connect its output port to the Create Table operator's argument port. Then, enter `_arg` as the Number of Rows. Your argument operator must output an integer. | ## Adding a Create Table Operator For this example, create an empty table with two rows using a [Data Workflow](/v1/docs/data-workflow-component) component. Then, output this data to a [Hidden](/v1/docs/hidden-component) component. ### Configure the Hidden Component Add a [Hidden](/v1/docs/hidden-component) component to store the array you'll create using a Data Workflow. 1. In the Module Builder, drag and drop a **H****idden** component onto your canvas. 2. In the **Property ID** and **Label Text** fields, enter `tableOutput`. 3. Click **Save Component**. ### Configure the Data Workflow Component Next, you'll configure a [Data Workflow](/v1/docs/data-workflow-component) component and use the Create Table operator. 1. Drag and drop a **D****ata Workflow** component onto your canvas, placing it above the **tableOutput** **H****idden** component. 2. In the **Property ID** and **Canvas Label Text** fields, enter `dwfTable`. #### Configure the Create Table Operator 1. Drag and drop a **C****reate Table** operator onto your **D****ata Workflow** canvas. 2. Configure the operator's **Info** window as follows: | Info | | --- | | Category | Create Table | | Label | createTable | | Preserve Argument Type | ☐ (**unchecked**) | | Create Index | Yes | | Number of Rows | 2 | #### Configure the Output Operator 1. Drag and drop an **O****utput** operator onto your **D****ata Workflow** canvas. 2. Configure the operator's **Info** window as follows: | Info | | --- | | Category | Output | | Component | tableOutput | | Action | Value | 3. Connect the output port (right) of the **C****reate Table** operator to the input port (left) of the **O****utput** operator. 4. Click **Save Component**. Here's how the completed Data Workflow looks: ![](https://cdn.us.document360.io/15548f06-2fba-434c-b0c1-5df88317dbd7/Images/Documentation/dwfTable_thumb_0_0.jpg?sv=2026-02-06&spr=https&st=2026-11-06T21%3A38%3A08Z&se=2026-11-06T22%3A38%3A08Z&sr=c&sp=r&sig=FfccaeUknfJ1H3dmLtplpv5qrxs1C23CSqh3OQoU%2BJo%3D) ### Configure the Button Component Lastly, configure a [Button](/v1/docs/button-component) component to trigger the Data Workflow. 1. Drag and drop a **Button** component onto your canvas, placing it below the **valueOutput** **H****idden** component. 2. In the **Property ID** field, enter `btnTrigger`. 3. In the **Label Text** field, enter `Run DWF Create Table`. 4. Navigate to the **Actions** settings. 5. From the **Action Type** drop-down, select **Event**. 6. From the **On Click** drop-down, enter or select **dwfTable**. 7. Click **Save Component**. 8. **Save** your module. Your completed module looks like the following: ![](https://cdn.us.document360.io/15548f06-2fba-434c-b0c1-5df88317dbd7/Images/Documentation/moduleComplete_thumb_0_0(5).jpg?sv=2026-02-06&spr=https&st=2026-11-06T21%3A38%3A08Z&se=2026-11-06T22%3A38%3A08Z&sr=c&sp=r&sig=FfccaeUknfJ1H3dmLtplpv5qrxs1C23CSqh3OQoU%2BJo%3D) **Preview** your module in Express View and click **Run DWF Create Table**. Then, open the DevTools Console and run the . Expand the **▶** **data:** and **tableOutput** fields to see the empty array containing two rows. ![](https://cdn.us.document360.io/15548f06-2fba-434c-b0c1-5df88317dbd7/Images/Documentation/Dwf_CreateTable_Express_thumb_0_0.jpg?sv=2026-02-06&spr=https&st=2026-11-06T21%3A38%3A08Z&se=2026-11-06T22%3A38%3A08Z&sr=c&sp=r&sig=FfccaeUknfJ1H3dmLtplpv5qrxs1C23CSqh3OQoU%2BJo%3D) The **Create Table operator** creates an array with one or more empty rows in a [Data Workflow](/v1/docs/data-workflow-component). These empty rows can be filled using other operators in the Data Workflow, or at a later time. ![](https://cdn.us.document360.io/15548f06-2fba-434c-b0c1-5df88317dbd7/Images/Documentation/createTableOperatorClassic_thumb_0_0.jpg?sv=2026-02-06&spr=https&st=2026-11-06T21%3A38%3A08Z&se=2026-11-06T22%3A38%3A08Z&sr=c&sp=r&sig=FfccaeUknfJ1H3dmLtplpv5qrxs1C23CSqh3OQoU%2BJo%3D) To set the number of rows in the array: - Hard-code them using the operator's **Info** window. - Use another component as an argument for the operator. The Create Table operator serves as the start of your Data Workflow, and does not have an input port. It also includes an argument port for determining the value it creates. Connect another operator to the Create Table operator's argument port. Then, in the **Expression/Value** field, use the _arg value to reference that value. You can find the Create Value operator under the [I/O group](/v1/docs/iooperators) to the left of your [Data Workflow](/v1/docs/iooperators) canvas. ## About the Info Window Learn more about each setting in the Create Table operator's Info window: | Setting | Description | | --- | --- | | Category | Grayed out and non-adjustable setting indicating the operation type. | | Label | Sets the label for your operator, displaying below the operator on your Data Workflow canvas. This field is optional, but set a label if you use more than one of the same operator type. A label helps you identify your operators without opening any Info windows. | | Preserve Argument Type | When selected, this setting ensures the argument data type is respected when the operator executes. | | Number of Rows | The number you enter here determines how many rows the operator creates. If you need two rows, enter 2. To use another operator as an argument, connect its output port to the Create Table operator's argument port. Then, enter `_arg` as the Number of Rows. Your argument operator must output an integer. | ## Adding a Create Table Operator For this example, create an empty table with two rows using a [Data Workflow](/v1/docs/data-workflow-component) component. Then, output this data to a [Hidden](/v1/docs/hidden-component) component. ### Configure the Hidden Component Add a [Hidden](/v1/docs/hidden-component) component to store the array you'll create using a Data Workflow. 1. Drag and drop a **H****idden** component onto your canvas. 2. In the **Property ID** and **Label Text** fields, enter `tableOutput`. 3. Click **Save Component**. ### Configure the Data Workflow Component Next, you'll configure a [Data Workflow](/v1/docs/data-workflow-component) component and use the Create Table operator. 1. Drag and drop a **D****ata Workflow** component onto your canvas, placing it above the **tableOutput** **H****idden** component. 2. In the **Property ID** field, enter **dwfTable**. 3. In the **Canvas** **Label Text** field, enter **dwfTable**. #### Configure the Create Table Operator 1. Drag and drop a **C****reate Table** operator onto your **D****ata Workflow** canvas. 2. Configure the operator's **Info** window as follows: | Setting | Value | | --- | --- | | Category | Create Table | | Label | createTable | | Preserve Argument Type | ☐ (**unchecked**) | | Create Index | Yes | | Number of Rows | 2 | #### Configure the Output Operator 1. Drag and drop an **O****utput** operator onto your **D****ata Workflow** canvas. 2. Configure the operator's **Info** window as follows: | Setting | Value | | --- | --- | | Category | Output | | Component | tableOutput | | Action | Value | 3. Connect the output port (right) of the **C****reate Table** operator to the input port (left) of the **O****utput** operator. 4. Click **Save**. Here's how the completed Data Workflow looks: ![](https://cdn.us.document360.io/15548f06-2fba-434c-b0c1-5df88317dbd7/Images/Documentation/dwfTableClassic_thumb_0_0.jpg?sv=2026-02-06&spr=https&st=2026-11-06T21%3A38%3A08Z&se=2026-11-06T22%3A38%3A08Z&sr=c&sp=r&sig=FfccaeUknfJ1H3dmLtplpv5qrxs1C23CSqh3OQoU%2BJo%3D) ### Configure the Button Component Lastly, configure a [Button](/v1/docs/button-component) component to trigger the Data Workflow. 1. Drag and drop a **Button** component onto your canvas, placing it below the **valueOutput** **H****idden** component. 2. In the **Property ID** field, enter `btnTrigger`. 3. In the **Label Text** field, enter `Run DWF Create Table`. 4. Set the **Action Type** to **Event**. 5. From the **On Click** drop-down, enter or select **dwfTable**. 6. Click **Save & Close**. 7. **Save** your module. Your completed module looks like the following: ![](https://cdn.us.document360.io/15548f06-2fba-434c-b0c1-5df88317dbd7/Images/Documentation/moduleCompleteClassic_thumb_0_0.jpg?sv=2026-02-06&spr=https&st=2026-11-06T21%3A38%3A08Z&se=2026-11-06T22%3A38%3A08Z&sr=c&sp=r&sig=FfccaeUknfJ1H3dmLtplpv5qrxs1C23CSqh3OQoU%2BJo%3D) **Preview** your module in Express View and click **Run DWF Create Table**. Then, open the DevTools Console and run the . Expand the **▶** **data:** and **tableOutput** fields to see the empty array containing two rows. ![](https://cdn.us.document360.io/15548f06-2fba-434c-b0c1-5df88317dbd7/Images/Documentation/Dwf_CreateTable_Express_thumb_0_0(1).jpg?sv=2026-02-06&spr=https&st=2026-11-06T21%3A38%3A08Z&se=2026-11-06T22%3A38%3A08Z&sr=c&sp=r&sig=FfccaeUknfJ1H3dmLtplpv5qrxs1C23CSqh3OQoU%2BJo%3D) ## Resources - [Modify the Create Table operator](/v1/docs/modifying-data-workflow-operators). - [Introduction to Data Workflow](/v1/docs/introduction-to-data-workflow) - [Introduction to Data Workflow Operators](/v1/docs/data-workflow-operators) - [Data Workflow component](/v1/docs/data-workflow-component) - [Output operator](/v1/docs/output-operator) An array is a type of object that stores one or more data types. Data types supported in arrays include numbers, strings, and objects. Express View is how your end-user views your application. Express View also lets you preview your applications to test your configuration and view the styling. This is also the view your end-users will see when interacting with your application. After configuring a module, click Preview in the Module Builder to interact with the module in Express View. The DevTools Console helps you securely store, build, test, and deploy your software.