Try/Catch

Flowgear Workflows can group steps into branches that handle normal execution, error handling, and guaranteed follow-up processing. This makes it easier to keep failure logic separate from the main path.

The Try/Catch Node creates that control-flow structure inside a Workflow. You use it when a Workflow should keep working through a controlled Catch path after a known failure, with optional cleanup in Finally.

Revision History

0.0.0.14 - Current release.

Setup Notes

This Node does not require a Connection or external setup.

When you place the Node on a Workflow, Flowgear exposes Try, Catch, and Finally branches for the steps that belong in each path.

Methods

The Try/Catch Node exposes one control-flow method.

TryCatch

Wraps child steps in Try, Catch, and Finally branches that are handled by the Workflow runtime.

When you place this Node in a Workflow, the designer shows a section for each branch so that you can add the relevant Steps.

This method does not accept Parameters or return a value.

Usage Notes

  • Put the Steps you want to run normally in the Try branch.
  • Put your error-handling Steps in the Catch branch.
  • Use the Finally branch for follow-up logic that belongs after the main processing and error-handling structure.