--- title: "Task Node" slug: "task-node" description: "Learn how to configure Task nodes in workflows, including user, script, and service tasks, to enhance automation and user interaction." updated: 2025-12-08T19:41:53Z published: 2025-12-09T16:46:27Z canonical: "docs.unqork.io/task-node" --- > ## 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. # Task Node ![A static image displaying the task node labeled 'task-1' with a user icon displayed above it.](https://cdn.us.document360.io/15548f06-2fba-434c-b0c1-5df88317dbd7/Images/Documentation/TASKNODE.png?sv=2026-02-06&spr=https&st=2026-11-07T17%3A57%3A35Z&se=2026-11-07T18%3A57%3A35Z&sr=c&sp=r&sig=F4xCBkjQRqi9vNzJWTzZN8HI6J5jJ0ltv7pnfKKFfN0%3D)The **Task node**, previously known as the Screen/Task node, represents a task in a [workflow](/v1/docs/introduction-to-workflow). The functionality of the Task node varies based on the [swimlane](/v1/docs/swimlane-management) it’s placed in. The Task node primarily serves three functions: - **User**: For a user-type task, add the Task node to the Authenticated swimlane, which is accessed by end-users. You can have multiple user-type tasks in a workflow, such as entering contact information, selecting reservation dates, or providing credit card details. - **Script**: For a script-type task, add the Task node to the Automated swimlane. A script-type task runs automatically on the server and does not involve end-user interaction. If successful, the workflow moves to the next node. Script-type tasks execute the underlying module using server-side execution. > [!NOTE] > If there's no Error node in the workflow and a script-type task runs into an error in execution, the workflow displays an error. - **Service**: For a service-type task, add the Task node to the Automated swimlane. Click **Edit** and select a service from the drop-down. This task pauses the workflow and requires an API call to resume. It’s important to note that it does not involve end-user interaction and runs using server-side execution. You'll find the Task node in the list of nodes to the left of the [Workflow Builder](/v1/docs/introduction-to-workflow). ## Settings Menu Description Let's explore the node's **Settings Menu**. This menu displays as a blue menu bar, either above or below the node, when you select the node itself. This node has these Settings Menu options: ![A static image displaying the task node menu options including Edit, Open, and Delete actions for user management.](https://cdn.us.document360.io/15548f06-2fba-434c-b0c1-5df88317dbd7/Images/Documentation/TASKNODE_SETTINGS.png?sv=2026-02-06&spr=https&st=2026-11-07T17%3A57%3A35Z&se=2026-11-07T18%3A57%3A35Z&sr=c&sp=r&sig=F4xCBkjQRqi9vNzJWTzZN8HI6J5jJ0ltv7pnfKKFfN0%3D) | **Setting** | Description | | --- | --- | | **Edit** | Depending on which swimlane you place your Task node, you'll see the following: - **Authenticated swimlane**: Clicking Edit opens the Edit User Task drawer. From there, you can configure a range of settings. - **Automated swimlane**: Clicking Edit opens the Edit Script Task or Edit Service Task drawer, depending on your selection. From there, you can configure a range of settings. | | **Open** | Opens the connected module. This button becomes active and available once you connect a module to the Task node. | | **Delete** | Removes the node from the workflow. | > Different task windows display based on the swimlane. Editing a user-type task displays the Edit User Task settings drawer, a script-type task displays the Edit Script Task settings drawer, and a service-type task displays the Edit Service Task settings drawer. ### Edit User Task Window Description Click the **Edit** button to display the **Edit User Task** settings window. ![A static image displaying the User task editing interface showing options for label, path, and navigation buttons.](https://cdn.us.document360.io/15548f06-2fba-434c-b0c1-5df88317dbd7/Images/Documentation/TASKNODE_EDITUSERTASK.png?sv=2026-02-06&spr=https&st=2026-11-07T17%3A57%3A35Z&se=2026-11-07T18%3A57%3A35Z&sr=c&sp=r&sig=F4xCBkjQRqi9vNzJWTzZN8HI6J5jJ0ltv7pnfKKFfN0%3D) | **Setting** | Description | | --- | --- | | **Label** | Sets the name of your node. By default, the Label displays as `task-1`. The label you enter here shows in the navigation bar in Express View. Task node labels should clearly define what to expect on this node's page of the workflow. > [!NOTE] > For Task nodes in the Automated lane, the label does not display in the top navigation in Express View. | | **Path** | The path of the node. By default, the Path displays as `task-1`. A path is a unique identifier that other components can reference. As a best practice, name your path with a structure that fits your application. | | **Screen Type** | Select whether to display a static or dynamically-defined module when the workflow proceeds to the Task node. Options include: - ![](https://cdn.us.document360.io/15548f06-2fba-434c-b0c1-5df88317dbd7/Images/Documentation/workflow_node_radio_on(1).jpg?sv=2026-02-06&spr=https&st=2026-11-07T17%3A57%3A35Z&se=2026-11-07T18%3A57%3A35Z&sr=c&sp=r&sig=F4xCBkjQRqi9vNzJWTzZN8HI6J5jJ0ltv7pnfKKFfN0%3D) **Static**: The Task node always displays the same module. - ![](https://cdn.us.document360.io/15548f06-2fba-434c-b0c1-5df88317dbd7/Images/Documentation/workflow_node_radio_on(1).jpg?sv=2026-02-06&spr=https&st=2026-11-07T17%3A57%3A35Z&se=2026-11-07T18%3A57%3A35Z&sr=c&sp=r&sig=F4xCBkjQRqi9vNzJWTzZN8HI6J5jJ0ltv7pnfKKFfN0%3D) **Dynamic**: The Task node displays one of several modules, based on data from the submission. | | **Module** | Displays when **Screen Type** is set to ![](https://cdn.us.document360.io/15548f06-2fba-434c-b0c1-5df88317dbd7/Images/Documentation/workflow_node_radio_on(1).jpg?sv=2026-02-06&spr=https&st=2026-11-07T17%3A57%3A35Z&se=2026-11-07T18%3A57%3A35Z&sr=c&sp=r&sig=F4xCBkjQRqi9vNzJWTzZN8HI6J5jJ0ltv7pnfKKFfN0%3D) **Static**. Select an existing module to associate with the Task node. The drop-down displays any of the following modules: - Part of the application where the workflow exists. - Connected to the application where the workflow exists. - Shared across the workspace where the workflow exists. - Shared across the entire environment. | | **Create New** **Module** | Displays when **Screen Type** is set to ![](https://cdn.us.document360.io/15548f06-2fba-434c-b0c1-5df88317dbd7/Images/Documentation/workflow_node_radio_on(1).jpg?sv=2026-02-06&spr=https&st=2026-11-07T17%3A57%3A35Z&se=2026-11-07T18%3A57%3A35Z&sr=c&sp=r&sig=F4xCBkjQRqi9vNzJWTzZN8HI6J5jJ0ltv7pnfKKFfN0%3D) **Static**. Lets you create a new module to associate with the Task node. | | **Module** **Title*** | Displays when clicking **Create New** **Module**. Enter a title for the new module. The default Module Title references your workflow's name and the Task node's label. | | **Module** **Path*** | Displays when clicking **Create New** **Module**. Enter a path for the new module. The default Module Path references your workflow's name and the Task node's Label. | | **Module** **Type*** | When creating a module, you can now determine its module type. Depending on the selected module type, it’ll include preconfigured components and settings: - **API**: An API module includes preconfigured components that meet Unqork API specifications for server-side/remote execution. An **API** tag is also added by default to ensure your module displays in the [API Docs Dashboard](/v1/docs/api-docs-dashboard-tool) tool. When creating an API module, the **Server-Side Execution** setting is set to ![A toggle switch indicating an on/off state for a user interface element.](https://cdn.us.document360.io/15548f06-2fba-434c-b0c1-5df88317dbd7/Images/Documentation/Group 1.png?sv=2026-02-06&spr=https&st=2026-11-07T17%3A57%3A35Z&se=2026-11-07T18%3A57%3A35Z&sr=c&sp=r&sig=F4xCBkjQRqi9vNzJWTzZN8HI6J5jJ0ltv7pnfKKFfN0%3D) **(ON)** by default. - **Front-End**: A Front-End module is a module element built for user interfaces. When creating a Front-End module, the **Server-Side Execution** setting is set to![A toggle switch in the 'on' position, indicating an active setting or feature.](https://cdn.us.document360.io/15548f06-2fba-434c-b0c1-5df88317dbd7/Images/Documentation/Group 2(1).png?sv=2026-02-06&spr=https&st=2026-11-07T17%3A57%3A35Z&se=2026-11-07T18%3A57%3A35Z&sr=c&sp=r&sig=F4xCBkjQRqi9vNzJWTzZN8HI6J5jJ0ltv7pnfKKFfN0%3D) **(OFF)** by default, and disabled. Disabling this setting ensures this module type is always accessible in Express View. - **Other**: An Other-type module represents module elements that are not considered Front-End or API modules. This module type includes modules used for storing data, rerouting data, and so on. When creating an Other-type module, the **Server-Side Execution** setting is set to ![A toggle switch in the 'on' position, indicating an active setting or feature.](https://cdn.us.document360.io/15548f06-2fba-434c-b0c1-5df88317dbd7/Images/Documentation/Group 2(1).png?sv=2026-02-06&spr=https&st=2026-11-07T17%3A57%3A35Z&se=2026-11-07T18%3A57%3A35Z&sr=c&sp=r&sig=F4xCBkjQRqi9vNzJWTzZN8HI6J5jJ0ltv7pnfKKFfN0%3D) **(OFF)** by default. With Other-type modules, you can choose to set the **Server-Side Execution** setting to ![A toggle switch indicating an on/off state for a user interface element.](https://cdn.us.document360.io/15548f06-2fba-434c-b0c1-5df88317dbd7/Images/Documentation/Group 1.png?sv=2026-02-06&spr=https&st=2026-11-07T17%3A57%3A35Z&se=2026-11-07T18%3A57%3A35Z&sr=c&sp=r&sig=F4xCBkjQRqi9vNzJWTzZN8HI6J5jJ0ltv7pnfKKFfN0%3D) **(ON)****.** | | **Cancel** | Cancels the creation of the module and returns your focus to the Edit User Task drawer. | | **Create** | Creates the module and returns your focus to the Edit User Task drawer. | | **Edit** **Module** | Displays when **Screen Type** is set to ![](https://cdn.us.document360.io/15548f06-2fba-434c-b0c1-5df88317dbd7/Images/Documentation/workflow_node_radio_on(1).jpg?sv=2026-02-06&spr=https&st=2026-11-07T17%3A57%3A35Z&se=2026-11-07T18%3A57%3A35Z&sr=c&sp=r&sig=F4xCBkjQRqi9vNzJWTzZN8HI6J5jJ0ltv7pnfKKFfN0%3D) **Static**, after adding or creating a module to associate with the Task node. Opens the module associated with the Task node in a new tab. | | **X (Close)** | Closes the Edit drawer, returning your focus to the pool. | #### Edit Script/Service Task The Edit Script or Service task settings display when a Task node is placed in the Automated swimlane. Task nodes acting as a Script or Service Task have the same settings as Edit User Tasks. The only difference **is** the Action Settings. ![A static image displaying the editing window of a script task with fields for label, path, and module selection.](https://cdn.us.document360.io/15548f06-2fba-434c-b0c1-5df88317dbd7/Images/Documentation/TASKNODE_EDITSCRIPT%20TASK.png?sv=2026-02-06&spr=https&st=2026-11-07T17%3A57%3A35Z&se=2026-11-07T18%3A57%3A35Z&sr=c&sp=r&sig=F4xCBkjQRqi9vNzJWTzZN8HI6J5jJ0ltv7pnfKKFfN0%3D) | **Setting** | Description | | --- | --- | | **Select Task Type** | Displays on adding a Task node to the Automated swimlane. Using this drop-down, you can set the task type as Script or Service. - **Script**: Used for script-type tasks. A script-type task runs automatically on the server in the background. It's important to note that script-type tasks don't involve end-user interaction. If the task succeeds, your workflow automatically moves to the next node. If no Error node exists in the workflow and the task is unsuccessful, the workflow displays an error. - **Service**: Used for service-type tasks. A service-type task is an automated process that pauses the workflow. To resume, your workflow needs an API call for the service-type task to continue running on the server. It's important to note that service-type tasks don't involve end-user interaction. | #### Actions (User Tasks Only) | Setting | Description | | --- | --- | | **Hide Express Navigation Buttons** | Displays on adding a Task node to the Authenticated swimlane. When set to ![A toggle switch indicating an on/off state for a user interface element.](https://cdn.us.document360.io/15548f06-2fba-434c-b0c1-5df88317dbd7/Images/Documentation/Group 1.png?sv=2026-02-06&spr=https&st=2026-11-07T17%3A57%3A35Z&se=2026-11-07T18%3A57%3A35Z&sr=c&sp=r&sig=F4xCBkjQRqi9vNzJWTzZN8HI6J5jJ0ltv7pnfKKFfN0%3D) **(ON)**, the node's default navigation buttons (Back, Next) do not display in Express View. > [!TIP] > Use this setting when creating custom navigation buttons using the [Button](/v1/docs/use-case-custom-navigation-buttons) component. For example, when using the Button component to create a custom Next or Back button. Set this setting to (ON) to avoid seeing two sets of buttons. > [!NOTE] > This setting also overrides the workflow-level Enable Save and Exit Button setting. When Hide Express Navigation Buttons is set to (ON), the Save and Exit buttons do not appear for this node. By default, this toggle is set to ![A toggle switch in the 'on' position, indicating an active setting or feature.](https://cdn.us.document360.io/15548f06-2fba-434c-b0c1-5df88317dbd7/Images/Documentation/Group 2(1).png?sv=2026-02-06&spr=https&st=2026-11-07T17%3A57%3A35Z&se=2026-11-07T18%3A57%3A35Z&sr=c&sp=r&sig=F4xCBkjQRqi9vNzJWTzZN8HI6J5jJ0ltv7pnfKKFfN0%3D) **(OFF)****.** | | **Back Button Label** | Displays when adding a Task node to the Authenticated swimlane. The label is applied to the Back button. By default, the Back button label shows as **Previous****.** | | **Next Button Label** | Displays when adding a Task node to the Authenticated swimlane. The label is applied to the Next button. By default, the Next button label shows as **Next**. | #### Validation | Setting | Description | | --- | --- | | **Save Data on Navigation** | Displays when adding a Task node to the Authenticated swimlane. When set to ![A toggle switch indicating an on/off state for a user interface element.](https://cdn.us.document360.io/15548f06-2fba-434c-b0c1-5df88317dbd7/Images/Documentation/Group 1.png?sv=2026-02-06&spr=https&st=2026-11-07T17%3A57%3A35Z&se=2026-11-07T18%3A57%3A35Z&sr=c&sp=r&sig=F4xCBkjQRqi9vNzJWTzZN8HI6J5jJ0ltv7pnfKKFfN0%3D) **(ON)**, data saves to the submission when navigating from the node. When set to ![A toggle switch in the 'on' position, indicating an active setting or feature.](https://cdn.us.document360.io/15548f06-2fba-434c-b0c1-5df88317dbd7/Images/Documentation/Group 2(1).png?sv=2026-02-06&spr=https&st=2026-11-07T17%3A57%3A35Z&se=2026-11-07T18%3A57%3A35Z&sr=c&sp=r&sig=F4xCBkjQRqi9vNzJWTzZN8HI6J5jJ0ltv7pnfKKFfN0%3D) **(OFF)**, the submission data does not save when navigating from the node. The submission is updated, but the `submission.data` object does not change. By default, Save Data on Navigation is set to ![A toggle switch indicating an on/off state for a user interface element.](https://cdn.us.document360.io/15548f06-2fba-434c-b0c1-5df88317dbd7/Images/Documentation/Group 1.png?sv=2026-02-06&spr=https&st=2026-11-07T17%3A57%3A35Z&se=2026-11-07T18%3A57%3A35Z&sr=c&sp=r&sig=F4xCBkjQRqi9vNzJWTzZN8HI6J5jJ0ltv7pnfKKFfN0%3D) **(ON)**. | | **Allow Navigation with Validation Errors** | Displays when adding a Task node to the Authenticated swimlane. When set to ![A toggle switch indicating an on/off state for a user interface element.](https://cdn.us.document360.io/15548f06-2fba-434c-b0c1-5df88317dbd7/Images/Documentation/Group 1.png?sv=2026-02-06&spr=https&st=2026-11-07T17%3A57%3A35Z&se=2026-11-07T18%3A57%3A35Z&sr=c&sp=r&sig=F4xCBkjQRqi9vNzJWTzZN8HI6J5jJ0ltv7pnfKKFfN0%3D) **(ON)**, your end-user can navigate away from a page that contains validation errors. Your end-user can also save the submission without completing all required fields. By default, Allow Navigation with Validation Errors is set to ![A toggle switch in the 'on' position, indicating an active setting or feature.](https://cdn.us.document360.io/15548f06-2fba-434c-b0c1-5df88317dbd7/Images/Documentation/Group 2(1).png?sv=2026-02-06&spr=https&st=2026-11-07T17%3A57%3A35Z&se=2026-11-07T18%3A57%3A35Z&sr=c&sp=r&sig=F4xCBkjQRqi9vNzJWTzZN8HI6J5jJ0ltv7pnfKKFfN0%3D) **(OFF)**. > [!NOTE] > This setting is disabled when the Task node is added to a Sub-Process node. | ## Adding a Task Node This example outlines a workflow using Task nodes that direct the end-user to a specific Task node based on their response, indicating whether they wish to create a new account or skip the process. > This demonstration is for illustrative purposes only and cannot be replicated in the [Training](https://training.unqork.io/) environment due to module RBAC limitations. ### Configure the Task Nodes Begin by adding three Task nodes to your workflow. These nodes all act as user-type tasks. 1. Drag and drop three **Task** nodes into the **Authenticated** swimlane. 2. Select the first **Task** node and click **Edit****.** 3. In the **Label** field, enter `New Account`. The Path field updates with a new path based on the Label field value. 4. From the **Module** drop-down, enter or select `Enablement Lab Task: New Account`. 5. Click **X** (Close). 6. Repeat this process for the other **Task** nodes using the following information: | # | Label | Module | | --- | --- | --- | | 1 | Create Account | Enablement Lab Task: Create Account | | 2 | No Account | Enablement Lab Task: No Account | 7. Connect the output port (right) of the **Start** node to the input port (left) of the `New Account` **Task** node. > [!NOTE] > You'll connect the remaining Task nodes at a later stage. ### Configure the Exclusive Gateway Node 1. Drag and drop an **Exclusive Gateway** node into the **Automated** swimlane. 2. Connect the output port (right) of the `New Account` **Task** node to the input port (left) of the `exclusive-gateway-1` **Exclusive Gateway** node. ### Configure the First Exclusive Gateway Link Next, set up the logic that decides which path your end-user follows. In the Logic field, you'll enter `radioAccount='yes'`. This tells the workflow that if the value stored under the `radioAccount` key is **yes**, the workflow should follow the **Yes** path. 1. Connect the output port (right) of the `exclusive-gateway-1` **Exclusive Gateway** node to the input port (left) of the `Create Account` **Task** node. 2. Select the **Exclusive Gateway Link** and click **Edit**. 3. In the **Label** field, enter `Yes`. 4. In the **Logic** field, enter `radioAccount='yes'`. ![A static image displaying the form fields for editing an exclusive gateway link with logic and status options.](https://cdn.us.document360.io/15548f06-2fba-434c-b0c1-5df88317dbd7/Images/Documentation/TASKNODE_EDITGATEWAYLINK.png?sv=2026-02-06&spr=https&st=2026-11-07T17%3A57%3A35Z&se=2026-11-07T18%3A57%3A35Z&sr=c&sp=r&sig=F4xCBkjQRqi9vNzJWTzZN8HI6J5jJ0ltv7pnfKKFfN0%3D) 5. Click **X** (Close). ### Configure the Second Exclusive Gateway Link Next, set up the logic to check if the value under the `radioAccount` key is **No**. 1. Connect the output port (right) of the `exclusive-gateway-1` **Exclusive Gateway** node to the input port (left) of the `No Account` **Task** node. 2. Select the **Exclusive Gateway Link** and click **Edit**. 3. In the **Label** field, enter `No`. 4. In the **Logic** field, enter `radioAccount='no'`. ![A static image displaying the form fields for editing an exclusive gateway link with logic and status options.](https://cdn.us.document360.io/15548f06-2fba-434c-b0c1-5df88317dbd7/Images/Documentation/TASKNODE_EDITGATEWAYLINK2.png?sv=2026-02-06&spr=https&st=2026-11-07T17%3A57%3A35Z&se=2026-11-07T18%3A57%3A35Z&sr=c&sp=r&sig=F4xCBkjQRqi9vNzJWTzZN8HI6J5jJ0ltv7pnfKKFfN0%3D) 5. Click **X** (Close). ### Configure the First End Node 1. Drag and drop an **End** node into the **Authenticated** swimlane. 2. Click **Edit****.** 3. In the **Label** field, enter `End-1`. 4. Click **X** (Close). 5. Connect the output port (right) of the `Create Account` **Task** node to the input port (left) of the `End-1` **End** node. ### Configure the Second End Node 1. Drag and drop a second **End** node into the **Authenticated** swimlane. 2. Click **Edit****.** 3. In the **Label** field, enter `End-2`. 4. Click **X** (Close). 5. Connect the output port (right) of the `No Account` **Task** node to the input port (left) of the `End-2` **End** node. 6. Click **Save…**. 7. Click **Save**. This is how the workflow looks when completed: ![A static image displaying the workflow illustrating account creation process with decision points and end outcomes.](https://cdn.us.document360.io/15548f06-2fba-434c-b0c1-5df88317dbd7/Images/Documentation/TASKNODEWORKFLOW.png?sv=2026-02-06&spr=https&st=2026-11-07T17%3A57%3A35Z&se=2026-11-07T18%3A57%3A35Z&sr=c&sp=r&sig=F4xCBkjQRqi9vNzJWTzZN8HI6J5jJ0ltv7pnfKKFfN0%3D) End-users, also known as Express Users, are the individuals accessing an application through Express View. In most cases, end-users are the customers using the product. Includes the Short Answer component, Long Answer component, Select Boxes, Radio component, Dropdown, Number component and Single Checkbox. APIs (application programming interfaces) are a set of protocols and definitions developers use to build and integrate application software. APIs act as the connective tissue between products and services. 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. An object is a type of data structure that represents a single, self-contained entity that acts as a container for the characteristics of that entity. RBAC (Role-Based Access Control) is a method to control system access for authorized users. The role in RBAC refers to the levels of access employees have to a network. End-users, also known as Express Users, are the individuals accessing an application through Express View. In most cases, end-users are the customers using the product.