If you want to find the integrations in a company, do not look at the diagram. Go and find a man called something like Ray. (He is not always called Ray. But there is always one.) Ray has been in IT for twenty years and somewhere on a server he looks after there is a scheduled job, written by him in a language no longer taught, that wakes at ten past two every morning, picks up a file from the payroll bureau, changes the date format, and drops it where the ledger can find it.
It is not on the diagram. It was never a project. It has run without fault for fourteen years, which is exactly why nobody knows about it.
Now the company replaces its ERP. The integration workstream draws up a list of interfaces, and the list has twelve things on it: the bank, the web shop, the warehouse system, the tax engine, the obvious ones. A budget is set for twelve. Then somebody finally talks to Ray, and by the end of the afternoon the list has forty-three.
I have seen that afternoon several times and the numbers vary, but the direction never does. It is the most reliable surprise in the business. An ERP is the middle of a web, and an old one has had decades to collect threads: the spreadsheet a planner uploads on Mondays, the label printer that reads a table directly, the customer who is sent a file of invoices in a layout agreed in 2006 and written into their contract.
So the first reason integrations are under-budgeted is simple. Nobody knows how many there are. But there is a second reason, and I think it is the deeper one. Even the known ones are imagined wrongly. They are imagined as plumbing.
Plumbing is a good metaphor in one way. It is hidden, unglamorous, and noticed only when it leaks. But a pipe carries water, and water is the same at both ends. Data is not. When the web shop says "customer" it means a login with an email address. When the ERP says "customer" it means a legal entity with a credit limit and a tax registration. When the warehouse says "customer" it means a place a lorry goes. These three ideas overlap, mostly. An integration lives in the part where they do not.
That is why the technical connection, the bit that looks hard, is usually done in a week, and the interface is still not working two months later. The hard part was never moving the message. It was deciding what the message means. Does an order with two delivery addresses become one order or two? If the shop allows a discount the ERP has never heard of, who wins? Somebody has to rule on each of these, and that somebody is not a programmer.
And then there is the question nobody asks at all until the first night it matters, which is what happens when the thing fails. Because it will. The other system will be down, or a file will arrive empty, or arrive twice. A great many interfaces are built for the sunny day only. On the sunny day they are a marvel. On the other kind, the message simply vanishes, and three weeks later a customer rings to ask where his order is, and nobody can say whether it was ever received.
An interface worth having answers three dull questions. If a message fails, where does it wait? Who is told? And how do they send it again without sending it twice? If the design document for an integration has no page on this, it isn't finished, whatever the status report says.
What can be done? Begin with the inventory, and do it by archaeology, not by interview. Look at what actually touches the old database: scheduled jobs, file shares, accounts that log in at night. Ask Ray. Then for each thread, before estimating anything, ask whether it should exist. A fair number were built to work around something the new system does properly, and can be allowed to die. Retiring an interface is the cheapest integration work there is.
For the ones that remain, write down the mapping field by field, with the meaning beside it, and keep it somewhere that outlives the project. We got tired enough of redoing this that one of the tools in ARTEMIS, the one called SYNAPSE, is nothing but a central registry of integration patterns and field mappings. It is not exciting. Neither is a stopcock, and you want to know where that is too.
Budget, finally, as if each interface were a small system of its own, with a design, a test and an owner. Because it is one.
Somewhere in your company, tonight at ten past two, something will run that nobody has thought about in years. It would be worth finding out what, before you switch off the machine it runs on.