Skip to main content

Task Management

The Tasks module in the console is used to manage and execute workflow tasks. This article covers how to use the task list page and the task editor (TaskStudio).

Access

Click Tasks in the console sidebar to navigate to the task management page (/tasks).

Task List

The task list page provides three tabs:

TabDescription
All TasksDisplays all tasks within the team
My TasksDisplays only tasks created by or assigned to the current user
Execution HistoryDisplays execution records for all tasks

Search and Filtering

A search box is available at the top of the task list. Enter keywords and press Enter to search.

Expand the filter panel to filter by the following criteria:

FilterOptions
TypeAll Types / Scheduled Task / Event-Triggered / Manual Task
StatusAll Statuses / Active / Inactive
PriorityAll Priorities / High / Medium / Low
TagsSearch by tag name
Start DateDate picker
End DateDate picker

Sorting and Views

Sort by Name or Creation Time, with ascending/descending toggle support.

View modes support List View and Grid View, with preferences saved automatically.

Task Information

Each task in list view displays the following information:

  • Task name (with description and tags)
  • Type (Scheduled Task / Event-Triggered / Manual Task)
  • Status (Active / Inactive)
  • Assignee
  • Creation time
  • Last run time
  • Next run time

Actions

Each task provides the following actions:

ActionDescription
Run NowRun the task (opens the run page in a new window)
View DetailsOpen the task details drawer on the right
ConfigureNavigate to the task editor

Creating a Task

Click the "Create Task" button in the upper-right corner of the page to open the creation dialog. You can also open it directly via the URL parameter ?create=true.

Basic Information

  • Task Name (required)
  • Task Description
  • Task Type — Select one of the following:
    • Scheduled Task — Executes on a schedule defined by a Cron expression
    • Event-Triggered — Executes via Webhook triggers
    • Manual Task — Executes via manual trigger
  • Priority — High / Medium / Low
  • Status — Active / Inactive
  • Tags — Comma-separated

Schedule Configuration (Scheduled Tasks only)

  • Cron Expression — Supports a visual builder for assisted configuration
  • Start Date (required)
  • End Date (optional)

Webhook Configuration (Event-Triggered only)

  • Webhook URL — Automatically generated by the system, read-only
  • Secret Token — Optional security verification token

Advanced Configuration

  • Execution Configuration — Timeout (seconds), CPU limit, memory limit
  • Error Handling — Max retries, retry interval, retry strategy (fixed / exponential backoff), failure action (retry / notify only), enable failure notifications
  • Monitoring Configuration — Enable detailed logging

Task Editor (TaskStudio)

Click "Configure" in the task list, or enter the task editor after creating a task (/tasks/edit/:taskId).

The task editor is a visual workflow design tool that uses a flowchart approach to design task execution flows.

Interface Layout

Top Toolbar

The following features are available from left to right:

ButtonDescription
BackReturn to the task list
Task NameDisplays the current task name
DeleteDelete the current task
Select WorkflowLoad a saved workflow
ExportExport the workflow as a JSON file
ImportImport a workflow from a JSON file
Environment VariablesManage task environment variables and ConfigMap bindings
ConfigureEdit task properties (opens the create/edit dialog)
Run NowRun the current task (must be saved first)
Save ChangesSave the current design

Canvas Area

The canvas is the core area for flow design:

  • Grid Background — Provides alignment reference lines
  • Zoom and Pan — Supports zooming and drag-to-pan on the canvas
  • Drag and Drop — Drag components from the left node library onto the canvas
  • Connections — Drag from node ports to create connection lines, with type compatibility validation
  • Empty Canvas Prompt — Displays an "Add your first step..." guide button when blank

Left Node Library

Click the left panel or use the shortcut Ctrl + K to open the node library, organized by the following categories:

CategoryDescription
AgentsTask-type agents
ComponentsActive tool components
DatasetsDataset operations
Data SourcesActive data sources
Control FlowConditional, loop, and other control nodes

The node library supports search (by name, description, category). Use the / key to quickly focus the search box.

Right Configuration Panel

Click a node on the canvas, or use the shortcut Ctrl + I to open the configuration panel. Configure node input/output ports, default input values, data path mappings, and merge strategies here.

Bottom Debug Panel

The bottom toolbar displays statistics for nodes and connections, as well as connection line style toggles.

Expand the debug panel to view:

  • Real-time output of run logs (via SSE connection)
  • Task execution replay

Node Types

Node TypeDescription
Agent NodeInvokes a task-type agent
Tool NodeInvokes a tool component
Control Flow NodeConditional, loop, and other flow control
Dataset NodeOperates on datasets
Data Source NodeQueries data sources

Connection Line Styles

The canvas supports four connection line styles, switchable from the bottom toolbar:

  • Default (Bezier curve)
  • Straight
  • Step
  • Smooth step

Connection line colors change based on state: gray for normal connections, blue for selected/hovered, yellow dashed for control flow connections, and red for type mismatches.

Running a Task

Running from the Editor

  1. Click "Run Now" in the top toolbar
  2. If there are unsaved changes, the system will prompt you to save first
  3. A parameter input dialog appears — fill in the required input parameters
  4. Click "Submit Task" to start execution
  5. The currently executing node is highlighted on the canvas
  6. The bottom debug panel displays real-time execution logs

Running from the List

Click the "Run" button on a task in the task list to open the run page in a new window.

Execution History

View execution records for all tasks in the "Execution History" tab of the task list.

Filter Criteria

  • Task name (dropdown selection)
  • Status (Pending / Running / Completed / Failed / Cancelled)
  • Start time range
  • End time range

Execution Statuses

StatusDescription
PendingTask has been submitted and is awaiting execution
RunningTask is currently running
CompletedTask completed successfully
FailedTask execution failed
CancelledTask was cancelled
RetryingTask is being retried after a failure

Actions

Different actions are available depending on the execution status:

Execution StatusAvailable Actions
PendingCancel execution, Re-execute
RunningTerminate execution
Completed / Failed / CancelledRe-execute

For all statuses, you can click "View Details" to see basic execution information, log file contents, and error messages.