๐ฅ๏ธ Creating Routines and Jobflows via GUI โ
This guide explains how to define and run routines and jobflows using the platformโs visual interface. This GUI-based approach complements the code-driven method by offering an intuitive, form-based experience for designing, configuring, and launching complex workflows.
๐ Routine Creation in the GUI โ
Instead of writing wkube.py, the GUI provides a form to define a routine as a reusable routine entity.
๐งพ Metadata Form โ
When creating a new routine:
- You fill out a structured form that mirrors all the required
WKubeTaskfields:name,base_stack,command, etc.
- These fields are one-to-one mapped with the programmatic API.
๐ ๏ธ conf Configuration via JSON Schema โ
- A separate section of the form is generated dynamically using a JSON Schema.
- This allows you to define any number of additional configuration parameters.
- When the form is filled, values are converted into a
confdictionary โ just like in code โ and passed as * environment variables* to the container.
๐ Explicit Data Mappings โ
The GUI provides explicit input fields for:
input_mappingsoutput_mappings
These support semicolon-separated mapping syntax and help users wire up storage paths easily.
๐ธ Routine Creation Form โ

๐ Launching a Routine in the GUI โ
Once a routine entity is saved, you can launch it in multiple ways:
Option 1: From the Routine List โ
- Navigate to the Routines section.
- Click the โRunโ button on any saved routine.
- A dispatch form appears:
- Fields from the metadata and
confare editable. - You can override mappings and configuration at launch time.
- Fields from the metadata and
Option 2: From the File Explorer โ
- Select one or more files or folders.
- Right-click and choose โRun with Routineโ.
- This injects special mapping keys:
selected_filesselected_folders
- These are resolved into full mappings automatically when the job runs.
๐ธ Routine Launch Form โ

๐งฉ Visual Jobflow Builder โ
The platform provides a graphical interface for designing and launching Jobflows.
๐๏ธ Jobflow Construction โ
- Drag and drop previously saved routine entities into a visual canvas.
- Connect them with:
- Child relationships
- Callback relationships
This builds an acyclic execution graph where tasks can be executed in sequence, in parallel, or conditionally.
๐งฑ Aggregator (Spanner) Nodes โ
- You can add a dummy aggregator node to group child routines.
- These spanners donโt run code โ they are used for structuring or parallelizing flows.
๐ Parallel Execution with Multipliers โ
- Parallelism is controlled by a multiplier parameter (typically a CSV file).
- This file can be:
- Mapped manually in the flow configuration
- Or more conveniently: selected in the file explorer at launch time
When launching from the file explorer, the selected file is automatically used as the multiplier source for spanner/aggregator nodes.
๐ธ Jobflow Creation View โ

โ Summary โ
| Feature | Code-Based | GUI-Based |
|---|---|---|
| Define Routine | wkube.py and WKubeTask | Form-based entity creation |
Configure conf | Python dict | JSON schemaโdriven form |
| Data Mappings | input_mappings, output_mappings | Explicit fields in form |
| Launch Routine | accli dispatch | Run from Routine list or File Explorer |
| Build Jobflow | Define via task graph in code | Drag-and-drop interface |
| Control Parallelism | Manual mapping | File-based multiplier at launch |
| Spanner/Aggregator Support | Holder WKubeTask() | Dummy node in Jobflow builder |
GUI workflows provide a user-friendly, modular, and reusable way to define and orchestrate jobs, especially helpful for less code-heavy users or collaborative teams.