Rana Maninder Singh
Lesson 7 of 8ERP Systems & Digital Transformation

Workflows, Access, Integrations, and Controls

Lesson opener

In one line: Workflow automation routes approvals and tasks in ERP with audit trails — it should encode policy, not create invisible parking lots.

Why it matters: "Email me for approval" does not scale and fails audits. Bad workflows create delays worse than paper. Workflow automation is not about moving buttons around — it is about encoding policy into the system so the right person approves the right thing at the right time with an audit trail.

Before this lesson: Finance Integration and Reconciliation

Prerequisites

PrerequisiteWhy it matters
Completed ERP6Understands subledger-to-GL, reconciliation, controls
Completed ERP2Understands master data governance (dual control)
Basic workflow awarenessKnows what an approval chain, escalation, and SLA are

Lesson roadmap

By the end of this lesson you will:

  1. Identify when to automate (policy clear) vs. when not to (judgement-heavy, changing).
  2. Apply five design rules for approval workflows (accountable approver, timeouts, mobile, reject reason, visible status).
  3. Measure workflow health with three metrics (median time, % escalated, % rejected with reason).
  4. Diagnose and fix three anti-patterns (serial approvers, email approval, auto-approve everything).
  5. Design a PO approval workflow with thresholds, exceptions, timeout, delegation, audit evidence, and segregation of duties.
  6. Trace an interface failure from detection through correction and reconciliation.
  7. Identify a segregation-of-duties violation and design the compensating control.

Automate when policy is clear

Good candidates (policy is clear, stable, high volume):

Poor candidates (policy unclear, changing, judgement-heavy):

Rule: Automate the rule; escalate the exception. If you cannot write the rule in one sentence, you are not ready to automate.


Five design rules for approval workflows

#RuleWhy it mattersImplementation
1One Accountable Approver per step (backup named)No diffusion of responsibility; audit trail shows who decidedSingle approver per step; named backup in role config
2Timeouts + Escalation — no infinite inboxesPrevents stalled documents; SLA complianceTimeout per step (e.g., 24h); auto-escalate to backup → manager
3Mobile-capable for managers on the roadApprovals happen where work happensResponsive UI / mobile app; push notifications
4Comment required on RejectImproves learning; audit trail shows whyReject button requires comment field (mandatory)
5Visible Status on the documentRequester sees where it is; no "where is my PO?" emailsStatus field on document header; clickable workflow log

Teacher note: These are not IT preferences — they are control requirements. If your workflow violates any of these, it will fail an audit.


Measure the workflow: Three metrics that matter

MetricWhy it mattersTarget
Median time in each inboxFind bottlenecks; identify overloaded approvers< 24 hours per step
% EscalatedOverloaded roles; broken timeouts< 10%
% Rejected with reasonTraining / policy gaps; reject without reason = learning lost100% (reject without reason = blocked)

Teacher demonstration: A PO approval workflow with 4 serial approvers shows median 3.2 days. Analysis: Step 3 (Director) takes 2.1 days median. Fix: raise threshold so Director only approves >₹5L; delegate <₹5L to Manager. Result: median drops to 1.1 days.


Anti-patterns and their fixes

Anti-patternSymptomFix
7 serial approversPO takes 2 weeks; everyone rubber-stampsParallel where risk allows; raise thresholds; remove redundant steps
Approve in email, type in ERP laterNo audit trail on document; status invisibleIn-system approve only; email = notification only
Auto-approve everything "to go live"No control; audit finds zero approvalsTemporary with expiry date; post-go-live review mandatory
No timeout / escalationDocuments sit for weeksMandatory timeout (e.g., 24h) + escalation to backup → manager
Reject without commentRequester doesn't know why; repeats mistakeReject button requires comment (mandatory field)
No mobile accessTravelling managers block workflowMobile app / responsive UI; push notifications

Teacher demonstration: Design a PO approval workflow

Scenario: Design a PO approval workflow for a manufacturer with these requirements:

Step 1 — Define amount bands and roles

BandPrimary ApproverBackupDelegationDual Control
< ₹50kDept ManagerSenior ManagerYes (to backup)No
₹50k–5LDivision DirectorVPYes (to VP)No
> ₹5LCFO + Procurement HeadCEO (rare)NoYes (both must approve)
Emergency <₹10kAuto-approve (flagged)Procurement Head (post-review)N/ANo

Step 2 — Configure in ERP (conceptual)

Workflow steps:

  1. Submit: Requestor creates PR → system routes to workflow.
  2. Route: System evaluates PO value → routes to correct band.
  3. Approve/Reject: Approver acts in-system (mobile/web). Reject requires comment.
  4. Timeout: 24 hours per step. If no action → auto-escalate to backup.
  5. Escalation: Backup → Manager → VP → CFO (configurable chain).
  6. Complete: All approvals done → PO status = "Approved" → PO released.

Exception handling:

Step 3 — Audit evidence captured automatically

Every approval captures:

Audit report: "Show all POs >₹5L approved in March with approver, timestamp, delegation chain."


Teacher demonstration: Trace an interface failure from detection through correction

Scenario: ERP-to-Bank payment interface fails. 47 payments stuck in "Interface Error" status.

Interface flow:

ERP Payment Run → Payment File (XML/CSV) → Bank Gateway (SFTP/API) → Bank Acknowledgment → ERP Status Update

Step 1 — Detection

Step 2 — Triage

CheckResult
Bank gateway status pageOperational (green)
SFTP connectivityConnected
File format validation3 files rejected: "Invalid IBAN format"
Error log"Field 12 (IBAN): Length mismatch for 3 vendors"

Step 3 — Root cause

Step 4 — Correction

  1. Immediate: Fix 3 vendor IBANs (correct length + checksum).
  2. Reprocess: Re-run payment file generation for 47 payments.
  3. Verify: All 47 move to "Sent to Bank" → Bank ACK received → Status "Paid".

Step 5 — Prevention

  1. Master data: Add IBAN validation (length + checksum + country code) on vendor create/change.
  2. Interface: Pre-flight validation — reject file before send if any IBAN invalid.
  3. Monitoring: Alert on "interface error count > 0" within 15 min of payment run.

Teacher demonstration: Segregation of Duties (SoD) violation

Scenario: User "JOHN.DOE" has roles that allow:

Violation: Same user can create a fake vendor, create a PO for that vendor, post GR, post invoice, and pay it — full PTP cycle with zero oversight.

Risk: Fraud (fake vendor → fake PO → fake GR → fake invoice → real payment).

SoD Matrix (illustrative):

FunctionCreate VendorCreate POPost GRPost InvoiceApprove Payment
Procurement Clerk✓✓
Warehouse Clerk✓
AP Clerk✓
AP Supervisor✓ (dual)
Finance Controller✓ (dual)

Violation found: JOHN.DOE has Procurement Clerk + Warehouse Clerk + AP Clerk + AP Supervisor roles.

Remediation:

  1. Immediate: Remove AP Supervisor role from JOHN.DOE. Assign to separate user.
  2. Remediate: Run SoD report (standard ERP report) for all users. Fix all violations.
  3. Prevent: Implement SoD check on role assignment (system blocks conflicting roles).
  4. Monitor: Quarterly SoD audit; alert on new violations.

Compensating control (if separation impossible due to headcount):


Pause and think

Q1. Why require "Comment required on Reject"?

Improves learning and audit trail. A reject without reason teaches nothing and leaves no audit trail.

Q2. What is wrong with "email approval, type in ERP later"?

No reliable audit trail / status on the document. The email can be deleted, forged, or lost. In-system approve only.

Q3. Why is "auto-approve everything to go live" dangerous?

It disables the control you just built. Use temporary auto-approve with expiry date and mandatory post-go-live review.

Q4. A user can create a vendor, create a PO, post GR, post invoice, and run payment. What is missing?

Segregation of duties. No single user should control the full PTP cycle.


Second workplace example: The ERP-to-CRM interface that drifted

Scenario: ERP creates customer in CRM via nightly interface. Six months later, Sales reports "CRM has 1,200 more customers than ERP."

Investigation:

  1. Count: ERP customers = 3,450. CRM customers = 4,650. Delta = 1,200.
  2. Sample: 50 extra CRM customers checked — all created manually in CRM by Sales (no ERP sync).
  3. Root cause: Sales created "prospects" in CRM before they became customers. No process to convert prospect → customer in ERP first.
  4. Interface design flaw: Interface only syncs ERP → CRM (one way). No CRM → ERP for prospect conversion.

Correction:

  1. Process: New rule — "No customer in CRM without ERP customer number." Prospects stay in CRM "Lead" module; only converted leads create ERP customer → sync to CRM.
  2. Interface: Add CRM → ERP for "Lead Converted to Customer" event.
  3. Cleanup: Identify 1,200 orphans; match to ERP or archive.

Lesson: Interfaces need two-way governance. Every field mapped must have an owner on both sides. Orphan detection must be automated.


Guided practice: Review a flawed access and workflow design

Scenario: A company's PO approval workflow has these flaws:

FlawCurrent State
Approvers5 serial approvers for all POs
TimeoutNone
EscalationNone
Reject commentOptional
MobileNot supported
ApprovalEmail reply accepted; typed in ERP later
DelegationNot configured

Task: Redesign the workflow applying the five design rules.

Step-by-step hints:

  1. Reduce serial approvers: Define amount bands (3 max). Parallel where possible.
  2. Add timeout: 24h per step. Escalation to backup → manager.
  3. Reject comment: Make mandatory in workflow config.
  4. Mobile: Enable mobile approval in workflow settings.
  5. In-system only: Disable email approval; in-system only.
  6. Delegation: Configure named backup per role.

Expected redesign:


Independent practice: Create a role-and-control matrix plus an interface-control sheet

Task: For a mid-sized manufacturer with ERP, CRM, WMS, and Bank integration, create:

A. Role-and-Control Matrix (SoD)

RoleCreate VendorCreate POPost GRPost InvoiceApprove PaymentCreate JournalApprove Journal
Procurement Clerk
Warehouse Clerk
AP Clerk
AR Clerk
GL Accountant
Finance Controller
IT Admin

Rules:

B. Interface-Control Sheet

InterfaceDirectionFrequencyOwner (ERP)Owner (External)MonitoringReconciliationError Handling
ERP → CRMOutboundNightly
CRM → ERP (Lead→Cust)InboundEvent
ERP → BankOutboundPer payment run
Bank → ERPInboundDaily
ERP → WMSOutboundReal-time
WMS → ERPInboundReal-time
ERP → Tax PortalOutboundMonthly

Acceptance criteria:


Common mistakes

#MistakeCauseConsequenceCorrectionPreventive control
17 serial approvers"Everyone must see it"PO takes 2 weeks; rubber-stampingParallel where risk allows; raise thresholdsMax 3 serial; parallel for independent checks
2Approve in email, type in ERP later"Convenience"No audit trail on documentIn-system approve only; email = notificationDisable email approve; in-system only
3Auto-approve everything "to go live""We'll fix later"Zero control; audit failsTemporary with expiry date; post-review mandatoryExpiry date mandatory; post-go-live review gate
4No timeout / escalation"They'll get to it"Documents stall for weeksMandatory 24h timeout + escalation chainConfig: timeout mandatory; escalation mandatory
5Reject without comment"Obvious"Requester repeats mistake; no auditComment mandatory on rejectWorkflow config: reject comment = mandatory
6No mobile access"Desktop only"Travelling managers block workflowMobile app / responsive UI + pushMobile enablement = requirement, not option
7No interface monitoring"It usually works"47 payments stuck for daysDashboard + alert on error count > 0Alert: error count > 0 within 15 min of run
8No SoD check on role assignment"Trust the team"Fraud risk (fake vendor → payment)SoD matrix + system-enforced role conflictsRole assignment: system blocks conflicting roles

Assessment: Quick check

  1. Name two good workflow candidates.
  2. Why require reject comments?
  3. What is wrong with email-only approval?
  4. What is the maximum recommended serial approvers?
  5. Name the five design rules for approval workflows.

Answers

  1. e.g. amount-based PO approval, dual control on master data, credit limit breaches.
  2. Improves learning and audit trail.
  3. No reliable audit trail / status on the document.
  4. 3 (max).
  5. One Accountable Approver, Timeouts+Escalation, Mobile-capable, Comment required on Reject, Visible Status.

Closure

What you can now do:

Essential ideas:

One workplace action:

Pick one approval chain; count serial steps. Add an escalation rule (hours) you want IT to configure. Measure last month's median approval time if data exists.

Bridge to next lesson:

What's next: ERP Implementation and Digital Transformation Capstone — a phase model, testing types, cutover checklist, and hypercare.