Skip to content

Finally Execute

This node is designed to contain nodes that are executed last when the process ends, regardless of whether the process encounters an error during execution.

Example

For instance, in a wallet creation process, I will perform the action of exporting the created data after using 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.

addlast

However, if the Press Key node encounters an error, the Insert Data and Export Data nodes will not be executed because the process will stop at the node with the error.

addlast

To address this issue, I 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.

addlast

addlast