Skip to content

Finally Execute Block

The Finally Execute block guarantees that specified tasks run at the end of a workflow — even if an earlier node fails. Use it for cleanup operations, data exports, or logging that must happen no matter what.

Example

In a wallet creation workflow, you want to export the collected data after the Press Key node.

Normally, if the Press Key node runs successfully, the Insert Data and Export Data nodes will be executed, and the data will be exported to the machine.

If the Press Key node fails, the Insert Data and Export Data nodes will not run, as the workflow stops at the point of failure.

finally

To address this issue, you can use the Finally Execute node to ensure that the data is exported regardless of whether the process runs successfully or encounters an error. As seen in both cases, whether the process fails or succeeds, the data is still exported.

finally

finally