How would you implement a process checklist?

I'm automating processes for work, and I have an idea that eventually I'll have some processes automated end to end.

However, there are many steps and if something goes wrong halfway through I would need to intervene and then resume from that step.

How would you implement that? Just having one long script wouldn't work because it would start from the beginning. The two things I have thought of so far are:

  1. Each step is a separate script and calls the next upon successful completion, or

  2. Some kind of checklist file that is read before each step and updated after - is there an existing library that handles this sort of thing?

Thanks for reading! tl;dr: process flow?

Posted Sep 3, 2016, 2:13 PM UTC

15
Loading comments…