glyphox
Reference · 6 of 9Action nodes

Documentation / Reference

Action nodes

Every node in the action editor's toolbox and what it does.

Applies to Glyphox 1.0.10

An action is a graph of nodes that starts at Start and finishes at End. Drag a node from the toolbox onto the canvas and connect it. Each line ends in an arrowhead at its target and leaves a node on the side that faces where it goes. A node has one line out for each of its branches. The article Logic flows and actions, in this section, describes the canvas's right-click menu and how to select several nodes.

The triageticket action in the action editor: the toolbox, the action from Start to End, and the selected node's properties
The action editor: the toolbox, the canvas and the selected node's properties.

Flow

NodeWhat it does
AssignSets variable values. For a variable whose type is a structure, Set a structure lists its fields.
IfBranches on a condition.
SwitchTakes one of several branches by a value.
LoopIterates over a list.

Data

NodeWhat it does
QueryQueries records: list, filter and join.
Get RecordGets one record by ID.
Create RecordCreates a record.
Update RecordChanges a record by ID.
Delete RecordDeletes a record by ID.
Bulk CreateCreates a record for each item of a list, in one statement. Server actions only.
Bulk UpdateChanges many records at once, by a filter or for each item of a list. Server actions only.
Bulk DeleteDeletes many records at once, by a filter or by a list of keys. Server actions only.
SQLRuns a stored procedure or a raw query.

Calls

NodeWhat it does
CallCalls an action, an agent, a package function or a URL.
NavigateGoes to a page.
MessageDisplays a message.
Publish EventPublishes a declared event, or an event by key.
Trigger EventRaises one of a component's events to whatever placed it. Component actions only.

Errors

NodeWhat it does
Raise ErrorThrows an exception of the type you select: UserException, SystemException, SecurityException or a custom name.
Catch ErrorHandles exceptions of one type, or of every type.

More

NodeWhat it does
To Excel, From ExcelWrite rows to an .xlsx file, or read rows from one. Server actions only.
To PDFWrites a PDF report. Server actions only.
Send EmailSends an email. Server actions only.
Save File, Read File, Delete FileStore, read or delete a file. Server actions only.
Complete TaskCompletes a workflow task with an outcome. Server actions only.
CommentAdds a note to the action.

Scope and debugging

Each node declares its inputs and its output variable, so the editor knows what is in scope later in the action and reports any problem before you run it.

A breakpoint on a node pauses a live request in the VS Code debugger, with the call stack and the variables available for inspection.

Logic flows and actions, in this section, explains where actions run and how they are called. Workflow nodes lists the nodes of the workflow editor.

If a step fails, see Troubleshoot the first run or contact support.