Definition and Usage
This command adds a new column to an existing data table. It allows you to extend the structure of your data table by creating an additional column with a specified name.
Parameter Values
Input parameters
Parameter | Description | Possible Values | Required | Options / Notes |
Data table | Select an existing data table or create a new one | Any valid data table | Yes | You can select an existing data table or create a new one by clicking "Add New Sheet" |
Column name | Specify the name for the new column | Any valid column name | Yes | The column name should be unique within the data table |
Error handling
Parameter Name | Description |
Throw error & stop | When an error occurs, the action will trigger an error and stop the execution of the entire app. |
Retry command | If an error occurs, the action will retry the command in an attempt to resolve the issue and continue the process. |
Ignore error & continue | When an error occurs, the action will be ignored, and the workflow will continue without interruption. |
Variables produced
This action doesn't produce any variables.
Using Variables in Conditions
You can use variables in the "Column name" parameter by clicking the {x} icon. This allows you to dynamically name your columns based on previously defined variables or expressions. Ensure that the variable you use contains a valid string value that can be used as a column name.
Notes
The data table must exist before adding a column to it.
Column names must be unique within the data table. If you try to add a column with a name that already exists, an error will occur.
After adding a column, all rows in the data table will have an empty value for this new column.
Consider using meaningful column names that reflect the data they will contain to maintain clarity in your data structure.