Logic Builder Overview
The Visual Logic Builder is a canvas-based editor for creating complex business rules by connecting nodes.
Node Categories
Section titled “Node Categories”Input Nodes
Section titled “Input Nodes”- Read Field — Read a value from a P21 field
- Read Constant — Define a constant value
Logic Nodes
Section titled “Logic Nodes”- If / Else — Branch logic based on conditions
- Compare — Compare two values
Transform Nodes
Section titled “Transform Nodes”- Calculate — Perform mathematical operations
- Format Text — String manipulation and formatting
Output Nodes
Section titled “Output Nodes”- Write Field — Write a value to a P21 field
- Set Message — Display a message to the user
- End Rule — Terminate rule execution
Building a Workflow
Section titled “Building a Workflow”- Open the Logic Builder from your dashboard
- Click the + Add button to open the node catalog
- Select a node to add it to the canvas
- Double-click a node to configure its properties
- Drag from a node’s output handle to another node’s input handle to create a connection
- Use the toolbar to zoom, fit view, or toggle the minimap
Keyboard Shortcuts
Section titled “Keyboard Shortcuts”| Shortcut | Action |
|---|---|
Delete | Remove selected node |
Ctrl+S | Save draft |
Ctrl+Z | Undo |
Ctrl+Shift+Z | Redo |