LooT Manuals
Deutsch

Workflows

The workflow editor shows data sources, nodes, components and dashboards as boxes on a canvas and links them by dragging from port to port.

Overview#

A workflow is a named graphical canvas of your tenant. Data flows from left to right: data sources (their data points are ports), nodes, components and scripts, and dashboards. You place objects as boxes on the canvas and drag from port to port to link them.

A workflow is only a view: boxes, positions, notes and groups. The links (edges) are the existing objects that also exist without a workflow and that you can edit on the pages of the workbench and from the command line:

EdgeLinksMeaning
AssignmentData point → nodeThe data point of a data source writes into the node
ConnectionNode → nodeThe values of the source node flow into the target node, see Connections
BindingNode ↔ port of a componentAn input reads the node, an output writes into it, see Components

An object has at most one box in a workflow but may appear in several workflows. If you remove a box, only the display disappears; the object stays. If you delete a node or a component, its box disappears.

The Workflows view#

Switch the Workflows view on in the rail. It lists the workflows of the tenant (name, time of the last change) and below it, if available, the Scripts section with all scripts of the tenant and their language.

  • The ⋮ menu of the view offers New workflow (asks for the name and opens the new workflow pinned), sorting by "name" or "last changed" and "Refresh".
  • The search field filters workflows by name and description and scripts by name.
  • A click opens a workflow as a preview tab; a double-click or Enter pins it.
  • The context menu of a row (right-click or ⋮): Open, Rename … (F2), Description … and Delete … (Del). Deleting removes only the view; data sources, nodes, components and their links stay.

Names are unique within the tenant, ignoring case. Renaming and deleting need the Manage permission, the description the Write permission; if it is missing, the entries are greyed out and the tooltip names the permission.

Placing boxes on the canvas#

Drag objects from the views onto the canvas:

SourceResult
Nodes view or Object Browsera node box
Data Sources viewa data source box with its data points as ports
Components view, group In operationa box for the existing component
Components view, group Library (catalog entry or script)a new component from the latest version, as a box named like the entry (if the name is taken: "Name 2", "Name 3" …)
Scripts section of the Workflows viewlike a script from the library: a new component right away
Dashboards viewa dashboard box with ports and up to six operable controls

If an object is already on the canvas, the workbench selects the existing box instead of creating a second one. Setting up a component needs the "Create components" permission; without it, dragging is blocked and the pointer names the reason.

The toolbar offers:

ButtonEffect
Note, Groupcreate a note or a frame, which you resize with the handle at the bottom right
New …the wizard from Components (only with a component server)
Alignarranges the boxes by data flow from left to right: data sources, nodes, components, dashboards; notes and groups stay. A notice with Undo appears
Show alladjusts the view so that all boxes are visible
Reloadreloads the workflow
?help with the legend of the edges
⋮Rename … and Delete …

Zoom with the mouse wheel, pan by dragging the canvas, and reset with Ctrl+0.

Linking#

Drag from one port to another. The workbench creates the edge that the pair determines:

  • data point → node: an assignment,
  • node → node: a connection,
  • node ↔ port of a component: a binding,
  • data point → input of a component: a chain via an existing node (the binding first, undone if the assignment fails).

While you drag, the server checks the target in advance. Reasons for a rejection (type, cycle, missing permissions) appear at the pointer, and a rejected drop creates nothing. If the types differ, the workbench asks about a conversion. Several writers on one node are allowed, but a notice points it out: the workbench cannot detect manual writing and data ingest.

Move a box by dragging it. Changes to the workflow are saved immediately; there is no save button.

Relationships without a box#

If a port has relationships to an object that has no box on the canvas, a dashed stub with direction and count points there. A click on it lists the neighbors; you can fetch one or all at once onto the canvas, next to the box they come from. In the Properties of a box, Relationships lists all links, and Also in workflow … names the other readable workflows containing this object. Hide neighbors (n) removes the boxes that hang on the canvas only through this box.

Editing boxes and edges#

If you select a box or an edge, the Properties view shows it (a double-click on a box shows the view).

  • Node and data source boxes: kind, name, facts and Open node or Open data source.
  • Component boxes: the same building blocks as the Component tab (settings, bindings, version) with Open, Rename …, start, stop and log. A double-click opens the component's tab.
  • Script boxes: like component boxes, with a code icon, language and version; a double-click opens the script beside the workflow, see Scripts. If a newer version exists, the box shows "x.y.z available"; you switch the version in the Properties.
  • Edges: kind, ends and problems. You change a connection by its conversion; for an assignment, Change target node … lets you choose another node. Redraw … (connection and binding) lets you drag the edge anew from port to port to move its ends.

Remove from workflow (Del on the box) removes only the box from the canvas. Delete edge (Del or context menu), by contrast, deletes the object itself: in all workflows, all pages and the command line. The confirmation names the other workflows in which the edge is visible.

Permissions#

A workflow has the permissions Read, Write and Manage.

PermissionAllows
Readopening the workflow
Writechanging boxes, notes and groups, the description, creating edges
Managerenaming, deleting, granting permissions

Every member of the tenant may create workflows. Whoever creates a workflow has all permissions; so do tenant admins and system admins. Without the Write permission the canvas shows "view only". A workflow grants no permissions on the objects it shows: boxes of objects you may not read stay invisible and untouched. Changing, redrawing or deleting edges additionally needs Write on the workflow and, for assignments, Manage on the data source, or, for bindings, Manage on the component. For permissions in general see Permissions.

Typical traps#

A product of Rheinwert Datentechnik · rheinwert.deVersion: LooT 0.9.10