What if the connection drops while the automation is working

It stops halfway, and the real question is what it finds when it starts again

A network cable unplugged in front of a router with its lights on

It stops, and that isn't the problem

If the connection drops while an automation is working, the automation breaks off, exactly the way the person filling in that screen would have broken off, and so far nothing serious has happened

The trouble comes afterwards, when the line comes back and the work has to start again, because at that point there is only one question, how far had it got before it went down

If nobody knows exactly, there are two roads and both are bad. Either you redo it from the start, and some entries end up in there twice, or you pick up further along to be safe, and something doesn't get recorded at all

The duplicate is the real nightmare, because it makes no noise. An invoice recorded twice throws no error on screen, you find it when the books don't add up, and by then a payment may already have gone out

A memory of what has already been done

The answer isn't to make the automation immune to the line going down, no program is. The answer is that the system keeps track of every case as it closes it

It works like this. Before recording an invoice the system notes that it is about to, and once it has recorded it, it notes that the job is done. So when it starts again it finds the cases in three states, the closed ones, which it skips, the ones never started, which it works through, and the ones left halfway, which are the only ones that deserve attention

The halfway ones get the most cautious rule there is. Before writing them again it goes and looks in your business software to see whether the document is already there, and if that check isn't possible or comes back unclear the system doesn't guess, it stops and leaves the case on a list for a person

This is the same reasoning that holds up the checks and stops in an automation in general. Stopping costs a few minutes of somebody's time, guessing costs a great deal more

You avoid duplicates by design, not by hand

There is a wrong way to settle this, and it's saying that somebody will check afterwards anyway. That somebody checks for the first month and then stops, and manual checks for duplicates are exactly the kind of dull work people skip when they're in a hurry

The right road is for the duplicate to be impossible because of the way the system is built, not unlikely thanks to the goodwill of whoever is watching. You get there by deciding up front what makes a case unique, usually the document number and date together with the supplier, and by running that check before every write, always, even when the line never went down

The duplicate check earns its keep even when the internet is working perfectly, because the same invoice can arrive twice in the post, and one person can record something a colleague had already recorded that morning

Not every automation needs the network in the same way. One that works on a program installed in the office suffers far less than one that has to log into a web portal, and that feeds into the choice of where to run the system

When you're weighing up an automation, ask what happens if it goes down halfway through the work, the answer tells you a lot about how it's built

What people usually ask us

No, what the automation has already written into your business software stays written, because each case is closed one at a time, the delicate point is only the case that was in progress the moment the line went down, and that one gets checked before it is redone
The automation keeps track of every case while it works on it, noting when it starts one and when it closes it, so when it starts again it skips the ones already done, picks up the ones never started, and handles separately the ones left halfway
Not if the duplicate check is planned in from the start, you decide up front what makes a case unique, usually the document number and date together with the supplier, and that check runs before every write, not only after an interruption
No, a check like that left to a person works for the first month and then gets skipped when there is a rush, so it has to be built into the system, what is left to you are the cases the system flags because it cannot decide
It depends on what the work involves, an automation that drives business software installed in the office depends on the internal network far more than on the line, while one that has to log into a web portal goes nowhere without a connection
It depends on what we decide together, a volume job with no decisions in it can pick up on its own as soon as the line comes back, while in other cases you would rather it started again with a confirmation, the choice is agreed when we write down how the system has to behave

Show us what you still do by hand

Describe the process or send a short screen recording and we'll tell you what can be automated

WA