Take a look at the ReFramework model. While it’s missing some important components and is not very streamlined in my opinion, it can give you an idea on how you can take advantage of State Machines, Invokes, and Try/Catches to perform a robust process flow.
If you don’t like State Machines, you can perform the same model using a flowchart also.
Regards.