--- title: "Create Value Operator" slug: "create-valueoperator" updated: 2025-09-26T01:36:55Z published: 2025-09-26T01:36:55Z canonical: "docs.unqork.io/create-valueoperator" --- > ## 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 Value Operator UDesignerClassic Designer ## Overview The **Create Value operator** generates a new data value in a [Data Workflow](/v1/docs/data-workflow-component) component in the form of the following data types: ![](https://cdn.us.document360.io/15548f06-2fba-434c-b0c1-5df88317dbd7/Images/Documentation/createValueOperator_thumb_0_0.jpg?sv=2026-02-06&spr=https&st=2026-11-07T17%3A57%3A37Z&se=2026-11-07T18%3A57%3A37Z&sr=c&sp=r&sig=opJXtzTT1i7GVNZMrT0ZLzmueWcKp0N4TXLrBe7Imtc%3D) - Strings - Booleans - Numbers Most often, you'll use this operator in tandem with a logic component. For example, to create a value of GO to trigger a [Plug-In](/v1/docs/plug-in-component) or [Calculator](/v1/docs/calculator-component) component. The Create Value operator serves as the start of your Data Workflow and does not have an input port. It also includes an argument for determining the value it creates. Connect another operator to the Create Value 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/data-workflow-component) canvas. ## About the Info Window Learn more about each setting in the Create Value 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. | | Expression/Value | Sets the value to create and pass to another operator. You can create a number, string, or Boolean value. To create a number, enter the number here. To create a string, enter the string here, surrounded by single quotes. To create a Boolean, enter either `TRUE` or `FALSE`. | ## Adding a Create Value Operator To demonstrate a Create Value operator, configure a Data Workflow to create a value of 2 and send it to a [Hidden](/v1/docs/hidden-component) component. > [!NOTE] > These instructions assume that you have a new module open, saved, and with a title. ### Configure the Hidden Component Before you can add your Data Workflow, you'll configure a [Hidden](/v1/docs/hidden-component) component to store its output. 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 `valueOutput`. 3. Click **Save Component**. ### Configure the Data Workflow Component Configure a Data Workflow component to create and send a numerical value to the Hidden component. 1. Drag and drop a **D****ata Workflow** component onto your canvas, placing it above the **valueOutput** **H****idden** component. 2. In the **Property ID** field, enter `dwfCreateValue`. 3. In the **Canvas** **Label Text**, enter `dwfCreateValue`. #### Configure the Create Value Operator Configure a Create Value operator to create a value of 2. 1. Drag and drop a **C****reate Value** operator onto your **D****ata Workflow** canvas. 2. Configure the operator's **Info** window as follows: | Info | | --- | | Category | Create Value | | Label | createNumber | | Preserve Argument Type | ☐ (**unchecked**) | | Expression/Value | 2 | #### Configure the Output Operator Configure an Output operator to send the new value to the Hidden component. 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 | valueOutput | | Action | Value | 3. Connect the output port (right) of the **C****reate Value** 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/dwfCreateValue_thumb_0_0.jpg?sv=2026-02-06&spr=https&st=2026-11-07T17%3A57%3A37Z&se=2026-11-07T18%3A57%3A37Z&sr=c&sp=r&sig=opJXtzTT1i7GVNZMrT0ZLzmueWcKp0N4TXLrBe7Imtc%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 Value`. 4. Set the **Action Type** to **Event**. 5. In the **On Click** field, enter or select **dwfCreateValue**. 6. Click **Save Component**. 7. **Save** your module. Here's how the completed example looks in the Module Builder: ![](https://cdn.us.document360.io/15548f06-2fba-434c-b0c1-5df88317dbd7/Images/Documentation/exampleComplete_thumb_0_0(1).jpg?sv=2026-02-06&spr=https&st=2026-11-07T17%3A57%3A37Z&se=2026-11-07T18%3A57%3A37Z&sr=c&sp=r&sig=opJXtzTT1i7GVNZMrT0ZLzmueWcKp0N4TXLrBe7Imtc%3D) **Preview** your module in Express View and click **Trigger Data Workflow**. Then, open the DevTools Console and run the Angular command. You'll see the **valueOutput** **H****idden** populates with a value of 2. ![](https://cdn.us.document360.io/15548f06-2fba-434c-b0c1-5df88317dbd7/Images/Documentation/Dwf_CreateValue_Express_thumb_0_0.jpg?sv=2026-02-06&spr=https&st=2026-11-07T17%3A57%3A37Z&se=2026-11-07T18%3A57%3A37Z&sr=c&sp=r&sig=opJXtzTT1i7GVNZMrT0ZLzmueWcKp0N4TXLrBe7Imtc%3D) ## Overview The **Create Value operator** generates a new data value in a [Data Workflow](/v1/docs/data-workflow-component) component in the form of the following data types: ![](https://cdn.us.document360.io/15548f06-2fba-434c-b0c1-5df88317dbd7/Images/Documentation/createValueOperatorClassic_thumb_0_0.jpg?sv=2026-02-06&spr=https&st=2026-11-07T17%3A57%3A37Z&se=2026-11-07T18%3A57%3A37Z&sr=c&sp=r&sig=opJXtzTT1i7GVNZMrT0ZLzmueWcKp0N4TXLrBe7Imtc%3D) - Strings - Booleans - Numbers Most often, you'll use this operator in tandem with a logic component. For example, to create a value of GO to trigger a [Plug-In](/v1/docs/plug-in-component) or [Calculator](/v1/docs/calculator-component) component. The Create Value operator serves as the start of your Data Workflow and does not have an input port. It also includes an argument for determining the value it creates. Connect another operator to the Create Value 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/data-workflow-component) canvas. ## About the Info Window Learn more about each setting in the Create Value 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. | | Expression/Value | Sets the value to create and pass to another operator. You can create a number, a string, or a Boolean value. To create a number, enter the number here. To create a string, enter the string here, surrounded by single quotes. To create a Boolean, enter either `TRUE` or `FALSE`. | ## Adding a Create Value Operator To demonstrate a Create Value operator, configure a Data Workflow to create a value of `2` and send it to a [Hidden](/v1/docs/hidden-component) component. > [!NOTE] > These instructions assume that you have a new module open, saved, and with a title. ### Configure the Hidden Component Before you can add your Data Workflow, you'll configure a [Hidden](/v1/docs/hidden-component) component to store its output. 1. Drag and drop a **H****idden** component onto your canvas. 2. In the **Property ID** and **Label Text** fields, enter `valueOutput`. 3. Click **Save & Close**. ### Configure the Data Workflow Component Configure a Data Workflow component to create and send a numerical value to the Hidden component. 1. Drag and drop a **D****ata Workflow** component onto your canvas, placing above the **valueOutput** **H****idden** component. 2. In the **Property ID** and **Canvas Label Text** fields, enter `dwfCreateValue`. #### Configure the Create Value Operator Configure a Create Value operator to create a value of 2. 1. Drag and drop a **C****reate Value** operator onto your **D****ata Workflow** canvas. 2. Configure the operator's **Info** window as follows: | Setting | Value | | --- | --- | | Category | Create Value | | Label | createNumber | | Preserve Argument Type | ☐ (**unchecked**) | | Expression/Value | 2 | #### Configure the Output Operator Configure an Output operator to send the new value to the Hidden component. 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 | valueOutput | | Action | Value | 3. Connect the output port (right) of the **C****reate Value** 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/dwfCreateValueClassic_thumb_0_0.jpg?sv=2026-02-06&spr=https&st=2026-11-07T17%3A57%3A37Z&se=2026-11-07T18%3A57%3A37Z&sr=c&sp=r&sig=opJXtzTT1i7GVNZMrT0ZLzmueWcKp0N4TXLrBe7Imtc%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 Value`. 4. Set the **Action Type** to **Event**. 5. In the **On Click** field, enter or select **dwfCreateValue**. 6. Click **Save & Close**. 7. **Save** your module. Here's how the completed example looks in the Module Builder: ![](https://cdn.us.document360.io/15548f06-2fba-434c-b0c1-5df88317dbd7/Images/Documentation/exampleCompleteClassic_thumb_0_0.jpg?sv=2026-02-06&spr=https&st=2026-11-07T17%3A57%3A37Z&se=2026-11-07T18%3A57%3A37Z&sr=c&sp=r&sig=opJXtzTT1i7GVNZMrT0ZLzmueWcKp0N4TXLrBe7Imtc%3D) **Preview** your module in Express View and click **Trigger Data Workflow**. Then, open the DevTools Console and run the Angular command. You'll see the **valueOutput** **H****idden** populates with a value of 2. ![](https://cdn.us.document360.io/15548f06-2fba-434c-b0c1-5df88317dbd7/Images/Documentation/Dwf_CreateValue_Express_thumb_0_0(1).jpg?sv=2026-02-06&spr=https&st=2026-11-07T17%3A57%3A37Z&se=2026-11-07T18%3A57%3A37Z&sr=c&sp=r&sig=opJXtzTT1i7GVNZMrT0ZLzmueWcKp0N4TXLrBe7Imtc%3D) ## Resources - [Modify the Create Value operator in the Data Workflow's configuration window](/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) A string is an object that represents a sequence of characters. Strings typically hold data represented in text form. The Boolean data type accepts one of two values: true, or, false. The Number data type accepts integer or floating point values. The number data type does not use quotes around numerical values. The Number data type accepts integer or floating point values. The number data type does not use quotes around numerical values. A string is an object that represents a sequence of characters. Strings typically hold data represented in text form. The Boolean data type accepts one of two values: true, or, false. 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. The Angular command, or data command, is a tool that displays submission data in a browser's developer console. In Express View, enter the following command in the devtool console: angular.element('.unqorkio-form').scope().submission