Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Map Dependencies Before Replacing Legacy Systems

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Replacing a legacy business system often fails not because the new software is bad, but because the old system's hidden connections were never mapped. Every report, integration, manual workaround, and data feed that touches the legacy system must be identified before you switch it off. This guide walks you through creating a complete dependency map, so you can plan the migration, avoid costly surprises, and keep the business running during the transition.

What You'll Need

  • Access to the legacy system (read-only is fine)
  • List of known users and administrators
  • Network or architecture diagrams (if available)
  • Database credentials (read-only) or a DBA to help
  • Documentation of current business processes (even rough notes)
  • A spreadsheet or diagramming tool (e.g., Visio, draw.io, or even a whiteboard)
  • Permission to interview department heads and key staff

Step-by-Step

  1. Inventory the legacy system's core functions. List every module, screen, and automated job the system performs. For each, note what business process it supports (e.g., invoicing, inventory, payroll). This becomes your master checklist.
  2. Identify all users and their roles. Export the user list from the system. Group users by department and ask each department head to confirm who actually uses the system and for what. Don't rely on stale accounts—focus on active users.
  3. Trace data flows out of the system. Look for scheduled exports, real-time APIs, file drops (FTP/SFTP), and direct database reads by other applications. Check the system's job scheduler or cron tables. Interview the IT team about known integrations.
  4. Trace data flows into the system. Find every source that feeds data in: manual entry, imports from spreadsheets, other systems pushing data, or third-party services. These inputs are often forgotten and can break the new system if not replicated.
  5. Map report dependencies. List every report generated by the legacy system. For each report, note who receives it, how often, and in what format (PDF, Excel, printed). Some reports may be required by regulators or auditors.
  6. Document manual workarounds. Interview power users and ask, "What do you do that the system doesn't?" Common workarounds include exporting to Excel for further processing, copying data between systems, or maintaining shadow spreadsheets. These are de facto dependencies.
  7. Identify downstream consumers. For each data flow, trace where the data goes next. For example, an export might feed a data warehouse, a billing system, or a customer portal. Use a diagram to show these connections.
  8. Check for hidden dependencies. Look for hardcoded IP addresses, database links, or shared files on network drives. Search code repositories and configuration files for references to the legacy system's hostname or database name.
  9. Create the dependency map. Draw a diagram with the legacy system at the center. Add nodes for every input, output, user group, report, and downstream system. Label each connection with the data format, frequency, and owner. Use a spreadsheet to list each dependency with details.
  10. Validate the map with stakeholders. Present the draft map to department heads, IT, and power users. Ask them to challenge it: "Is anything missing?" Update the map based on their feedback. This step is critical—the map is only as good as the validation.
  11. Prioritize dependencies for the migration. Mark each dependency as critical (must be replaced before cutover), important (can be temporarily down), or nice-to-have (can be dropped). This helps you sequence the replacement project.

Common Mistakes

  • Relying only on IT interviews. IT often knows about technical integrations but not about the Excel macros a finance analyst runs every morning. Always talk to end users.
  • Ignoring manual workarounds. If the new system doesn't support the workaround, users will either suffer or create new shadow systems.
  • Forgetting about data exports. A nightly export to a regulatory agency might be invisible in the UI but critical for compliance.
  • Not checking for hardcoded references. A legacy system might be referenced by IP address in a dozen scripts. If you change the IP, those scripts break silently.
  • Stopping at the first draft. Dependency maps are rarely complete on the first pass. Without validation, you'll miss something.

Tips

  • Use a standard notation. Whether you use UML, BPMN, or simple boxes and arrows, keep it consistent so others can read it.
  • Interview in pairs. Have one person ask questions and another take notes. This speeds up the process and captures more detail.
  • Ask about "what if" scenarios. "What happens if this system is down for a day?" often reveals dependencies you hadn't considered.
  • Keep a log of assumptions. Write down why you believe a dependency exists and who told you. This helps when you revisit the map months later.
  • Update the map regularly. As the replacement project progresses, new dependencies may surface. Treat the map as a living document.

Troubleshooting

If the map seems incomplete or you're missing dependencies, try these approaches:

  • Review system logs. Look at the legacy system's logs for connections from other servers or unusual access patterns. This can reveal integrations you didn't know about.
  • Monitor network traffic. Use a network monitoring tool to see which systems are communicating with the legacy host. This is especially useful for real-time integrations.
  • Check database audit logs. If the database has auditing enabled, see which applications are querying it. This can uncover read-only consumers.
  • Run a survey. Send a short questionnaire to all employees asking, "Do you use the legacy system? If so, how?" This can catch users who weren't on the initial list.
  • If you still find gaps after validation, schedule follow-up interviews. Sometimes people don't remember until they see the new system in action. Plan for a second round of discovery.

Frequently Asked Questions

What exactly counts as a dependency?

Anything that would break or change if the legacy system were switched off: data feeds, reports, user access, integrations, and even manual processes that rely on the system's output.

How long does dependency mapping take?

It varies. A small system with a few users might take a week; a large enterprise system with dozens of integrations can take a month or more. The key is to be thorough, not fast.

Should I map dependencies for every legacy system or just the one being replaced?

Focus on the system being replaced, but note that other legacy systems may be dependencies of it. If System A feeds System B, and you're replacing A, you must map that link.

What if we don't have documentation for the legacy system?

That's common. Use the system itself, interviews, and network monitoring to build the map from scratch. The lack of documentation is a reason to be extra diligent.

How do we handle dependencies that are hard to replace?

Flag them as high-risk early. You may need to build temporary bridges, maintain the legacy system in parallel, or negotiate with the vendor for support. The map helps you identify these before cutover.

Can we skip mapping if we're replacing with a similar system?

No. Even similar systems have different interfaces, data formats, and capabilities. The map is essential to plan the data migration and integration work.