Skip to main content

Workflow Execution

Understanding how workflows execute, monitoring execution, and troubleshooting issues.

Execution Modesโ€‹

Sequential Executionโ€‹

Nodes execute one at a time, in order:

Loading workflow...

Use When:

  • Nodes depend on previous results
  • Order matters
  • Simple workflows

Parallel Executionโ€‹

Independent nodes execute simultaneously:

Loading workflow...

Use When:

  • Nodes are independent
  • Performance is critical
  • Multiple operations can run together

Auto Modeโ€‹

NetPad determines best execution mode:

  • Analyzes node dependencies
  • Chooses sequential or parallel
  • Optimizes automatically

Use When:

  • Unsure of best mode
  • Want automatic optimization
  • Complex workflows

Execution Flowโ€‹

1. Trigger Eventโ€‹

Workflow starts when trigger fires:

  • Form submitted
  • Webhook received
  • Schedule time reached
  • Manual trigger

2. Node Executionโ€‹

Each node executes:

  • Receives input data
  • Processes according to configuration
  • Produces output data
  • Passes to next node(s)

3. Data Flowโ€‹

Data flows between nodes:

  • Output of one node โ†’ Input of next
  • Can be transformed
  • Can be split or merged

4. Completionโ€‹

Workflow completes when:

  • All nodes executed
  • Or error occurs
  • Or timeout reached

Monitoring Executionโ€‹

Real-Time Monitoringโ€‹

Watch workflow execute live:

  • Execution View: See current execution
  • Node Status: Green (success), Yellow (running), Red (error)
  • Data Flow: See data at each node
  • Progress: Percentage complete

Execution Historyโ€‹

View past executions:

  • List View: All executions
  • Filter: By status, date, trigger
  • Search: Find specific executions
  • Details: Click to see full execution

Execution Detailsโ€‹

For each execution, see:

  • Status: Success, Failed, Running, Cancelled
  • Start Time: When execution started
  • End Time: When execution completed
  • Duration: Total execution time
  • Node Logs: Execution log for each node
  • Data Snapshots: Data at each node
  • Errors: Any errors that occurred

Execution Statusโ€‹

Successโ€‹

All nodes completed successfully:

  • Green status indicator
  • All data processed
  • Output available

Failedโ€‹

Error occurred during execution:

  • Red status indicator
  • Error message shown
  • Execution stopped (or continued based on settings)

Runningโ€‹

Execution in progress:

  • Yellow status indicator
  • Current node highlighted
  • Progress shown

Cancelledโ€‹

Execution manually cancelled:

  • Grey status indicator
  • Partial results may be available

Error Handlingโ€‹

Loading workflow...

Node Errorsโ€‹

When a node fails:

  • Error logged
  • Error message captured
  • Execution behavior depends on settings

Retry Policyโ€‹

Configure retries for failed nodes:

  • Max Retries: Number of retry attempts
  • Retry Delay: Time between retries
  • Retry Condition: When to retry

Error Recoveryโ€‹

Options when errors occur:

  • Stop: Halt workflow execution
  • Continue: Skip failed node, continue
  • Rollback: Undo changes made so far

Error Logsโ€‹

View detailed error information:

  • Error message
  • Stack trace
  • Node configuration
  • Input data at time of error

Timeoutsโ€‹

Workflow Timeoutโ€‹

Maximum time for entire workflow:

  • Default: 5 minutes
  • Configurable per workflow
  • Execution cancelled if exceeded

Node Timeoutโ€‹

Maximum time for individual node:

  • Default: 30 seconds
  • Configurable per node
  • Node fails if exceeded

Performance Optimizationโ€‹

Execution Speedโ€‹

Improve execution time:

  • Use parallel execution when possible
  • Minimize data size
  • Optimize node configurations
  • Use efficient queries

Resource Usageโ€‹

Monitor resource consumption:

  • Execution time
  • Memory usage
  • API call counts
  • Database queries

Debuggingโ€‹

Test Executionโ€‹

Test workflows before activating:

  • Use test data
  • Execute manually
  • Verify results
  • Check data flow

Execution Logsโ€‹

Review detailed logs:

  • Node execution order
  • Data at each step
  • Error messages
  • Performance metrics

Common Issuesโ€‹

Workflow Not Triggering:

  • Check trigger configuration
  • Verify trigger conditions
  • Check workflow status (must be Active)

Node Failing:

  • Review node configuration
  • Check input data
  • Verify connections/permissions
  • Review error logs

Slow Execution:

  • Check for bottlenecks
  • Optimize slow nodes
  • Use parallel execution
  • Reduce data size

Data Not Flowing:

  • Verify node connections
  • Check data mapping
  • Review data structure
  • Test individual nodes

Best Practicesโ€‹

  1. Test Before Activating: Always test workflows
  2. Monitor First Runs: Watch initial executions closely
  3. Set Appropriate Timeouts: Prevent hanging workflows
  4. Handle Errors Gracefully: Configure error handling
  5. Log Important Events: Use logging for debugging
  6. Optimize Performance: Improve slow workflows
  7. Document Workflows: Add comments and descriptions

Next Stepsโ€‹