What are best practices for error handling in AutomationEdge workflows?
In AutomationEdge, robust error handling relies on choosing the right mechanism across three distinct structural levels:
-
Step-Level Error Handling Hops: Configured directly on individual steps to redirect failing rows down an error path without terminating execution. It captures specific error variables like
Number of Errors,Error Description,Error Code,Error Field, andError Step Name. This pattern is ideal for fine-grained row validation or API retries, but applying it to every step creates canvas clutter. -
Block-Level Try-Catch Steps:
TryandCatchsteps are placed in pairs to handle errors across an entire block of steps simultaneously. TheCatchstep captures error metadata and routes failed rows to designated target steps. This keeps complex business transactions readable, though it requires adherence to strict pairing and loop-alignment rules. -
workflow / Process Level: High-level processes (
.psp) and specialized steps (such asAbortfrom the Flow plugin,Write to Log, orAudit Log) manage overarching execution state, retries, logging, and failure notifications.