- Created comprehensive documentation for the Process Builder, detailing its features, usage, and components. - Included a user-friendly overview, quick start guide, and best practices for designing workflows. - Developed a technical appendix outlining the architecture, technology stack, project structure, and component architecture. - Documented state management and connection handling within the Process Builder for developers. - Enhanced troubleshooting and error handling sections to assist users in resolving common issues.
5.2 KiB
Process Builder Documentation
Overview
The Process Builder is a visual workflow designer that allows you to create, edit, and manage business processes using the BPMN (Business Process Model and Notation) standard. With an intuitive drag-and-drop interface, you can design complex workflows that model your organization's business processes.
Getting Started
Accessing the Process Builder
- Navigate to
/process-builder
in your browser - You'll see a three-panel interface:
- Left: Component Palette
- Middle: Process Canvas
- Right: Properties Panel
Quick Start Guide
-
Create a New Process
- Click "New Process" in the header
- Enter a process name and description
- Start adding components
-
Add Process Elements
- Drag components from the left panel onto the canvas
- Components include Start/End events, Tasks, Gateways, etc.
- Connect elements by dragging from one node's handle to another
- Handles appear when hovering over nodes:
- Top handle: Input connection point
- Bottom handle: Output connection point
-
Configure Elements
- Click any element in the canvas to select it
- Use the right panel to configure its properties
- Changes are previewed in real-time
-
Save and Deploy
- Click "Save Process" to store your changes
- Once ready, you can deploy the process for execution
Process Components
Events
Events represent something that happens during the course of a process:
-
Start Event (Green Icon)
- Indicates where a process begins
- Only has output handle (bottom)
- Properties: Description, triggers
-
End Event (Red Icon)
- Indicates where a process path ends
- Only has input handle (top)
- Properties: Description, result types
Activities
Activities represent work performed in a process:
-
Task (Blue Icon)
- A simple atomic activity within the process
- Has both input and output handles
- Properties: Assignee, description
-
Form Task (Purple Icon)
- A task that requires form data
- Has both input and output handles
- Properties: Form name, description
-
Script Task (Grey Icon)
- Automated task that executes code
- Has both input and output handles
- Properties: Language, description
Gateways
Gateways control flow divergence and convergence:
- Gateway (Orange Icon)
- Creates alternative paths based on conditions
- Has both input and output handles
- Properties: Conditions, description
Working with the Process Canvas
Navigation
- Pan: Click and drag the canvas background or use middle mouse button
- Zoom: Use mouse wheel or zoom controls in top-right
- Reset View: Use the fit-view button in controls
Element Manipulation
- Select: Click on an element
- Multi-select: Hold Shift while clicking elements
- Move: Drag selected elements
- Delete: Press Delete key or double-click element
- Connect: Drag from one node's handle to another's
Keyboard Shortcuts
- Delete: Remove selected elements
- Shift: Enable node selection
- Control: Multi-select nodes
Connection Points
- Input Handle: Located at the top of nodes (except Start)
- Output Handle: Located at the bottom of nodes (except End)
- Creating Connections:
- Hover over a node to see handles
- Click and drag from a handle
- Drop on another node's handle
- Connection automatically styles based on type
Process Properties
Basic Settings
- Process name and description
- Version information
- Start conditions
- Process timeouts
Variables
- Process data variables
- Input and output parameters
- Data types and validation
Participants
- User assignments
- Role-based assignments
- Group assignments
Best Practices
Process Design
- Start with a Start event and end with End event(s)
- Use clear, descriptive labels for all elements
- Connect nodes in a logical flow
- Use gateways to manage decision points
- Keep the process layout organized and clear
Flow Control
- Ensure all paths lead to an End event
- Validate connections make logical sense
- Use appropriate node types for each step
- Consider the process flow direction (typically top to bottom)
Visual Organization
- Maintain consistent spacing between nodes
- Align nodes for better readability
- Use the auto-arrange feature when available
- Keep related elements grouped together
Troubleshooting
Common Issues
-
Can't Create Connection
- Verify you're dragging from a handle
- Check that source and target are compatible
- Ensure you're connecting to a handle, not the node body
-
Node Won't Delete
- Make sure the node is selected
- Try using the Delete key
- Alternative: double-click the node
-
Connection Looks Wrong
- Try repositioning nodes for better flow
- Check that connections are made to correct handles
- Consider using different connection types
Getting Help
- Use the control panel hints in top-right
- Review this documentation
- Contact support team for additional assistance
For technical details about implementation and integration, please refer to the Process Builder Technical Documentation.
Last updated: May 15, 2024