Task Node Classes
Last updated
Last updated
In Open Logic, a Task Node is a special class that helps create and control the flow of logic in a graph.
Each Task Node provides properties that allow you to modify how it looks and behaves. These properties let you customize and create unique task easily.
Right-click in the Content Drawer.
Navigate to Open Logic.
Select Open Logic Task.
Task Name
Name shown in the node widget.
Custom Description
A short explanation of the task's purpose.
Node Palette Category
The category under which the task is listed in the node palette. This helps organize tasks for easier selection.
Include in Libraries
A list of libraries that this task is part of.
Type
Specification if the task is a function or an event.
Node Widget
The node widget representing the task in the graph editor.
Is Event Multi Implementable
A boolean value indicating if the task can be implemented multiple times in the graph.
Input Pins
The input connectors for the task.
Output Pins
The output connectors for the task.
Displayable Widgets
A list of UserWidget that will be displayed in the task node.
Show Payload Editor
A boolean value indicating whether a payload editor should be shown for the task. This editor allows users to read and edit the variables of the task class.
Show in Node Palette
A boolean value indicating whether the task should be visible in the node palette.
Recall Node
If true, the node logic will be reexecuted each time it is processed by a node. This is useful for dynamic nodes whose data may change and need to be recalculated before use.
Name
Name shown in the pin widget.
Description
A brief explanation of the pin's purpose.
Role
Indicates whether the pin is used for flow control or for handling data. Flow Control pins manage the execution flow, while data property pins handle data.
Property Class
Specifies the class of data that the pin handles. This is only relevant for data property pins.
This event triggers at every tick while the task is active.
This event triggers when the task has finished running, usually when CompleteTask
is called.
This event triggers when a node widget that uses this task class is initialized.
This event triggers when a node widget that uses this task class is saved.
Marks this task as completed and executes the specified output pin.
Triggers a specific output pin to execute sequences of tasks.
Returns the context object passed in the owning runtime worker.
Returns the node's input pin count. The return value includes dynamic pins.
Returns the node's output pin count. The return value includes dynamic pins.
Returns the runtime unique identifier of the task.
This event triggers when the runtime instance (runtime worker) starts. It serves as the entry point for the task, where the main logic should be implemented. The of the runtime worker is passed in.
Marks this task as completed. Calling this function triggers the event.
This function simply calls and .