TOGAF worked example: a digital lending journey
This page follows one pass through the ADM at a fictional company, showing what each deliverable looks like when it is filled in rather than blank. It uses the tailoring in minimum viable TOGAF®: ten deliverables, business to technology in one document, and decision records for governance.
The company
Section titled “The company”Example Lending is a mid-size US consumer lender with about 600 staff. It offers personal loans through its website and a network of partner branches.
Today, a loan takes about five days from application to money in the customer’s account. Applications are keyed into an aging loan origination system, credit decisions run in a nightly batch, every file is checked by an underwriter, contracts are signed on paper, and the funding team uploads payment files to the bank’s portal by hand. Competitors decide in minutes and fund the next day, and Example Lending’s application volumes are falling.
The COO asks the architecture team for a plan to fix it within nine months.
Preliminary: setting up the practice
Section titled “Preliminary: setting up the practice”Example Lending had two solution architects but no shared way of working. In two weeks they agreed the basics.
Tailoring. All ADM phases, with business, data, application and technology architecture in a single document. Decision records in each team’s repository instead of formal contracts for internal teams; a formal contract only for external vendors. Content lives in the wiki, with diagrams as code.
Decision rights. The CTO sponsors the practice. A fortnightly design review, chaired by the lead architect with security and operations present, approves anything that departs from a principle.
Architecture principles (from the principles template):
| # | Principle | Rationale | Implications |
|---|---|---|---|
| P1 | Every credit decision is explainable | US lenders must give applicants the specific principal reasons (opens in a new tab) for a denial | Every decision records its reason codes; no model is used that cannot produce them |
| P2 | One system of record for each kind of data | Copies that drift caused last year’s reconciliation problems | Other systems subscribe to events or call an API; they do not keep their own master copy |
| P3 | Buy commodity, build what differentiates | Example Lending competes on decision quality and speed, not on identity checks | Buy identity verification and e-signature; build the decision strategy and the customer journey |
| P4 | Integrate through APIs and events, never a shared database | Shared tables made every change a coordinated release | Each service owns its data; integration contracts are versioned |
| P5 | Automate the common path, route exceptions to people | Underwriters should spend time on hard cases | Straightforward applications complete without a person; others go to a review queue with context |
| P6 | Security and compliance are designed in | Lending data is sensitive and heavily regulated | Personal data encrypted everywhere; every decision and access is auditable |
| P7 | Prefer managed services | The team is small | Use the cloud provider’s managed databases, queues and identity before running our own |
| P8 | Changes are reversible | A failed cut-over would stop lending | Feature flags, parallel runs and a tested rollback for every stage |
Phase A: architecture vision
Section titled “Phase A: architecture vision”Vision statement. A customer can apply online in ten minutes, get a decision straight away in most cases, sign electronically and receive the money the next business day, while every decision stays explainable and auditable.
Stakeholder map (from the stakeholder template):
| Stakeholder | Main concern | Influence | How we engage |
|---|---|---|---|
| COO (sponsor) | Volume growth, cost per loan | Decides | Monthly steering, signs off scope |
| Chief credit officer | Credit losses, decision policy | Can block | Co-owns the decision strategy; approves every rule change |
| Compliance | Fair lending, adverse action notices, record keeping | Can block | Reviews the vision and each stage; joins the design review for decisioning |
| Funding operations | Payment errors, cut-off times | High | Designs the automated funding flow with us |
| Underwriters | Workload, losing judgment calls | Medium | Shape the review workbench; pilot users |
| Information security | Personal data, vendor risk | Can block | Threat model per stage; vendor assessments |
| Partner branches | Keeping their referral flow | Medium | Briefing each quarter; branch flow kept until stage 3 |
| IT operations | Support load, on-call | Medium | Operational readiness review before each go-live |
Measurable outcomes.
| Measure | Today | Target in 12 months |
|---|---|---|
| Time from application to decision | About 2 days | Under 10 minutes for 70% of applications |
| Time from application to funding | About 5 days | Next business day |
| Applications needing manual review | 100% | Under 30% |
| Cost per funded loan | Baseline | 25% lower |
Statement of architecture work (one page, from the template): personal loans only; auto refinancing and loan servicing are out of scope. Nine months, three stages. Deliverables: architecture definition, roadmap, decision records. Main risks: decision model approval by credit and compliance, and the dependency on the bank’s payment API. Signed by the COO, chief credit officer and CTO in week 2.
Phase B: business architecture
Section titled “Phase B: business architecture”The team mapped the capabilities involved and rated how much each must change.
| Capability | Today | Target | Change |
|---|---|---|---|
| Application intake | Web form and paper at branches, rekeyed by staff | Self-service digital application; branches use the same flow | High |
| Identity verification | Staff check uploaded documents | Automated check through a specialist vendor | High |
| Credit decisioning | Nightly batch rules, every file reviewed | Real-time decision with reason codes; exceptions reviewed | High |
| Pricing | Rate sheets in spreadsheets | Pricing rules inside the decision service | Medium |
| Loan agreement | Paper signature, couriered | Electronic signature | High |
| Funding | Manual payment file upload | Automated payment through the bank’s API | High |
| Loan servicing | Core servicing system | Unchanged; receives new loans automatically | Low |
- The customer applies online, or a branch applies on their behalf.
- Identity is verified automatically.
- Applications outside the automated policy go to an underwriter with full context.
- The rest are approved or declined in seconds, with reasons recorded.
- Once the agreement is signed, the loan is funded the next business day.
Phase C: data and applications
Section titled “Phase C: data and applications”Baseline. Everything flows through the loan origination system, with people moving data between steps.
- Staff rekey applications from the web form or paper into the origination system.
- Credit rules run once a night.
- An underwriter reviews every file, including clear approvals.
- Contracts are printed, signed and couriered back.
- The funding team uploads a payment file to the bank's portal.
- Funded loans are keyed into the servicing system again.
Target. A small set of services owns each step, connected by APIs and events, with the decision service at the center.
- The application service is the single system of record for applications.
- Identity is checked through a bought vendor service.
- The decision service combines the credit report, rules and model.
- Every decision and its reasons are written to an append-only log.
- Exceptions go to underwriters in the review workbench.
- Approved applicants sign electronically.
- The signed agreement triggers funding through the bank's payment API.
- A "loan funded" event updates the servicing system and the data platform.
Data. The key change is that every kind of data gets one owner.
| Data | System of record today | Target system of record | Notes |
|---|---|---|---|
| Application | Origination system, rekeyed | Application service | Branches use the same service |
| Credit report | Stored in the origination system | Decision service, referenced by the decision | Access limited to credit and compliance |
| Decision and reasons | Batch output files | Decision log | Kept for at least the 25 months (opens in a new tab) Regulation B requires for consumer applications |
| Loan agreement | Paper, scanned | E-signature vendor, copy in document store | |
| Disbursement | Bank portal | Funding service | Reconciled daily with the bank |
Application gaps.
| Application | Decision |
|---|---|
| Origination system: application records | Replace with the application service |
| Origination system: rules batch | Retire after the decision service has run in parallel |
| Underwriting queue | Replace with the review workbench |
| Identity checks, e-signature | Buy (principle P3) |
| Funding | Build a small funding service on the bank’s payment API |
| Servicing system | Keep; integrate through events |
Phase D: technology
Section titled “Phase D: technology”Example Lending’s websites already run on a major public cloud, so the target uses the same provider’s managed services (principle P7). The cloud service map lists the equivalents on each provider.
| Technology need | Today | Target | Gap |
|---|---|---|---|
| Hosting for new services | Virtual machines | Managed containers | New platform standard |
| Integration | Point-to-point file transfers | API gateway and managed event stream | New |
| Data stores | One shared relational database | A managed relational database per service; append-only storage for the decision log | New |
| Identity and secrets | Shared service accounts | Workload identity and a secrets manager | New |
| Observability | Server logs | Tracing, metrics and alerting across services | New |
Non-functional requirements added to the register: decision API answers in under two seconds for 95% of requests; 99.9% availability during business hours; no more than five minutes of data loss in a regional failure; personal data encrypted at rest and in transit.
Phase E: opportunities and solutions
Section titled “Phase E: opportunities and solutions”The gaps from phases B to D were grouped into seven work packages and three stages. Each stage is stable on its own and delivers something customers or staff notice.
| Stage | Month | What changes | Value delivered |
|---|---|---|---|
| 1. Digital front door | 3 | New application journey and identity checks; decisions still come from the nightly batch | No rekeying; fewer abandoned applications |
| 2. Real-time decisions | 6 | Decision service live for straightforward applications, compared against the batch for four weeks first; e-signature | Decisions in minutes for most customers |
| 3. Automated funding | 9 | Funding service on the bank’s API; rules batch retired; branches moved to the new flow | Next-business-day funding |
Phase F: migration planning
Section titled “Phase F: migration planning”| Work package | Depends on | Team | Size | Months | Benefit measured by |
|---|---|---|---|---|---|
| WP1 Application service and journey | None | Journey team | Large | 1 to 3 | Completion rate |
| WP2 Identity verification | WP1 | Journey team | Small | 2 to 3 | Manual identity checks avoided |
| WP3 Decision service | WP1 | Decisioning team | Large | 2 to 6 | Share of instant decisions |
| WP4 Review workbench | WP3 | Decisioning team | Medium | 4 to 6 | Underwriter time per case |
| WP5 E-signature | WP3 | Journey team | Small | 5 to 6 | Time to signed agreement |
| WP6 Funding service | WP5, bank API access | Payments team | Medium | 6 to 9 | Time to funding, payment errors |
| WP7 Retire rules batch, move branches | WP3, WP6 | All | Medium | 8 to 9 | Systems retired |
The bank’s payment API was the riskiest dependency, so the payments team requested access in month 1, three months before it needed it.
Phase G: implementation governance
Section titled “Phase G: implementation governance”The internal teams recorded their decisions as ADRs in their repositories. The design review looked only at decisions that touched a principle. The identity and e-signature vendors signed formal architecture contracts covering data handling, availability and exit terms.
A compliance review that changed the design. In month 5, the decisioning team proposed adding the applicant’s postcode area to the credit model because it improved accuracy. The compliance review flagged that location can act as a stand-in for protected characteristics, which raises fair-lending risk. The exception was refused, the feature was removed, and principle P1 gained an implication: every model feature is reviewed by compliance before use.
| Review | Stage | Result |
|---|---|---|
| Decision service design | 2 | Approved with one change: reason codes stored with every decision, not generated later |
| Postcode feature in credit model | 2 | Exception refused; feature removed |
| Funding service design | 3 | Approved; daily reconciliation with the bank added |
Phase H: change management
Section titled “Phase H: change management”Two changes arrived during and after delivery, logged with the change request template:
| Change | Classified as | Outcome |
|---|---|---|
| The bank announced support for instant payments | Incremental | Added as a new work package after stage 3; the funding service was designed to support another payment method |
| Instant decisions reached 62% after three months, against a 70% target | Incremental | Credit team relaxed two rules after reviewing outcomes; reached 71% two months later |
Neither change needed a new pass through the whole cycle. The next cycle, a year later, took on auto refinancing.
Requirements management
Section titled “Requirements management”A requirements register linked each requirement (the full register has twelve) to the decisions it drove, so that when a requirement changed the team knew what to revisit.
| ID | Requirement | Source | Satisfied by |
|---|---|---|---|
| R-01 | Give specific principal reasons for every denial | Regulation, phase A | Principle P1; reason codes in the decision service; ADR-004 |
| R-02 | Keep application and decision records for at least 25 months | Regulation, phase C | Decision log retention policy; ADR-007 |
| R-03 | Decision in under 10 minutes for 70% of applications | Vision, phase A | WP3; automated policy; non-functional requirement for the decision API |
| R-04 | No changes to the servicing system in this cycle | Constraint, phase A | Event integration; ADR-009 |
| R-05 | Funding the next business day | Vision, phase A | WP6; bank payment API |
What Example Lending kept light
Section titled “What Example Lending kept light”- One architecture definition instead of four domain documents, about 25 pages.
- Decision records instead of formal contracts for internal teams.
- No architecture modeling tool; diagrams lived in the wiki as code.
- Migration planning merged into the quarterly planning the company already ran.
Lessons
Section titled “Lessons”- Phase A decided most of the outcome. Getting the chief credit officer and compliance to co-own the vision avoided the late objections that usually sink lending projects.
- Principles earned their keep. The postcode debate took one meeting because P1 already existed.
- Stages beat a big bang. Stage 1 went live with decisions still coming from the batch, so the riskiest change happened later, on a working platform.
Templates used on this page
Section titled “Templates used on this page”All are free on the downloads page: principles, stakeholder map, vision, statement of work, architecture definition, requirements register, roadmap, contract, compliance review and change request.
Related pages
Section titled “Related pages”TOGAF and ArchiMate are registered trademarks of The Open Group in the United States and other countries. ArchitectureCompass is not affiliated with or endorsed by The Open Group. See legal notices.
Written and edited by Abhinav Taduka, enterprise software architect.
New pages are added regularly. Follow Abhinav on LinkedIn to see them first.