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
| Prerequisite | Why it matters |
|---|---|
| Completed ERP6 | Understands subledger-to-GL, reconciliation, controls |
| Completed ERP2 | Understands master data governance (dual control) |
| Basic workflow awareness | Knows what an approval chain, escalation, and SLA are |
Lesson roadmap
By the end of this lesson you will:
- Identify when to automate (policy clear) vs. when not to (judgement-heavy, changing).
- Apply five design rules for approval workflows (accountable approver, timeouts, mobile, reject reason, visible status).
- Measure workflow health with three metrics (median time, % escalated, % rejected with reason).
- Diagnose and fix three anti-patterns (serial approvers, email approval, auto-approve everything).
- Design a PO approval workflow with thresholds, exceptions, timeout, delegation, audit evidence, and segregation of duties.
- Trace an interface failure from detection through correction and reconciliation.
- Identify a segregation-of-duties violation and design the compensating control.
Automate when policy is clear
Good candidates (policy is clear, stable, high volume):
- PO approval by amount band
- Journal entry approval by amount/type
- Discount approval by percentage band
- Master data dual control (create/change/block)
- Credit limit breach alerts
- Budget availability check
Poor candidates (policy unclear, changing, judgement-heavy):
- Exception handling with no written criteria
- Processes still changing weekly (stabilise the map first — see Process Mapping)
- Judgement-heavy exceptions with no decision tree
- "Manager discretion" without decision criteria
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
| # | Rule | Why it matters | Implementation |
|---|---|---|---|
| 1 | One Accountable Approver per step (backup named) | No diffusion of responsibility; audit trail shows who decided | Single approver per step; named backup in role config |
| 2 | Timeouts + Escalation — no infinite inboxes | Prevents stalled documents; SLA compliance | Timeout per step (e.g., 24h); auto-escalate to backup → manager |
| 3 | Mobile-capable for managers on the road | Approvals happen where work happens | Responsive UI / mobile app; push notifications |
| 4 | Comment required on Reject | Improves learning; audit trail shows why | Reject button requires comment field (mandatory) |
| 5 | Visible Status on the document | Requester sees where it is; no "where is my PO?" emails | Status 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
| Metric | Why it matters | Target |
|---|---|---|
| Median time in each inbox | Find bottlenecks; identify overloaded approvers | < 24 hours per step |
| % Escalated | Overloaded roles; broken timeouts | < 10% |
| % Rejected with reason | Training / policy gaps; reject without reason = learning lost | 100% (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-pattern | Symptom | Fix |
|---|---|---|
| 7 serial approvers | PO takes 2 weeks; everyone rubber-stamps | Parallel where risk allows; raise thresholds; remove redundant steps |
| Approve in email, type in ERP later | No audit trail on document; status invisible | In-system approve only; email = notification only |
| Auto-approve everything "to go live" | No control; audit finds zero approvals | Temporary with expiry date; post-go-live review mandatory |
| No timeout / escalation | Documents sit for weeks | Mandatory timeout (e.g., 24h) + escalation to backup → manager |
| Reject without comment | Requester doesn't know why; repeats mistake | Reject button requires comment (mandatory field) |
| No mobile access | Travelling managers block workflow | Mobile app / responsive UI; push notifications |
Teacher demonstration: Design a PO approval workflow
Scenario: Design a PO approval workflow for a manufacturer with these requirements:
- Up to ₹50k: Manager approves
- ₹50k–5L: Director approves
- >₹5L: CFO + Procurement Head (dual control)
- Emergency purchases <₹10k: auto-approve with post-facto review
- All approvals in-system; mobile capable; 24h timeout + escalation
Step 1 — Define amount bands and roles
| Band | Primary Approver | Backup | Delegation | Dual Control |
|---|---|---|---|---|
| < ₹50k | Dept Manager | Senior Manager | Yes (to backup) | No |
| ₹50k–5L | Division Director | VP | Yes (to VP) | No |
| > ₹5L | CFO + Procurement Head | CEO (rare) | No | Yes (both must approve) |
| Emergency <₹10k | Auto-approve (flagged) | Procurement Head (post-review) | N/A | No |
Step 2 — Configure in ERP (conceptual)
Workflow steps:
- Submit: Requestor creates PR → system routes to workflow.
- Route: System evaluates PO value → routes to correct band.
- Approve/Reject: Approver acts in-system (mobile/web). Reject requires comment.
- Timeout: 24 hours per step. If no action → auto-escalate to backup.
- Escalation: Backup → Manager → VP → CFO (configurable chain).
- Complete: All approvals done → PO status = "Approved" → PO released.
Exception handling:
- Value changes after submission: Re-evaluate band; re-route if band changes.
- Approver unavailable: Delegation to backup (pre-configured).
- Policy exception: Requires CFO approval + audit log entry.
Step 3 — Audit evidence captured automatically
Every approval captures:
- Who: User ID + name
- When: Timestamp (server time)
- What: Document ID, value, band
- Action: Approve / Reject / Delegate
- Comment: Required on reject; optional on approve
- Delegation: If delegated, who delegated to whom
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 UpdateStep 1 — Detection
- Alert: Payment run completion job finds 47 payments with status "Interface Error" (expected 0).
- Monitoring: Interface monitoring dashboard shows "ERP-Bank Gateway: 47 errors, 0 success since 02:15 AM."
Step 2 — Triage
| Check | Result |
|---|---|
| Bank gateway status page | Operational (green) |
| SFTP connectivity | Connected |
| File format validation | 3 files rejected: "Invalid IBAN format" |
| Error log | "Field 12 (IBAN): Length mismatch for 3 vendors" |
Step 3 — Root cause
- Three vendor masters created yesterday with IBAN length 20 (should be 22 for this country).
- Master data governance gap: IBAN validation not enforced on vendor create.
Step 4 — Correction
- Immediate: Fix 3 vendor IBANs (correct length + checksum).
- Reprocess: Re-run payment file generation for 47 payments.
- Verify: All 47 move to "Sent to Bank" → Bank ACK received → Status "Paid".
Step 5 — Prevention
- Master data: Add IBAN validation (length + checksum + country code) on vendor create/change.
- Interface: Pre-flight validation — reject file before send if any IBAN invalid.
- 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:
- Create Vendor Master (FK01)
- Create Purchase Order (ME21N)
- Post Goods Receipt (MIGO)
- Post vendor invoice
- Execute Payment Run (F110)
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):
| Function | Create Vendor | Create PO | Post GR | Post Invoice | Approve 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:
- Immediate: Remove AP Supervisor role from JOHN.DOE. Assign to separate user.
- Remediate: Run SoD report (standard ERP report) for all users. Fix all violations.
- Prevent: Implement SoD check on role assignment (system blocks conflicting roles).
- Monitor: Quarterly SoD audit; alert on new violations.
Compensating control (if separation impossible due to headcount):
- Dual approval for all payments >₹1L (two signatories).
- Monthly review of all vendor master changes by independent reviewer.
- Quarterly sample of PTP cycles for fake vendor detection.
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:
- Count: ERP customers = 3,450. CRM customers = 4,650. Delta = 1,200.
- Sample: 50 extra CRM customers checked — all created manually in CRM by Sales (no ERP sync).
- Root cause: Sales created "prospects" in CRM before they became customers. No process to convert prospect → customer in ERP first.
- Interface design flaw: Interface only syncs ERP → CRM (one way). No CRM → ERP for prospect conversion.
Correction:
- 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.
- Interface: Add CRM → ERP for "Lead Converted to Customer" event.
- 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:
| Flaw | Current State |
|---|---|
| Approvers | 5 serial approvers for all POs |
| Timeout | None |
| Escalation | None |
| Reject comment | Optional |
| Mobile | Not supported |
| Approval | Email reply accepted; typed in ERP later |
| Delegation | Not configured |
Task: Redesign the workflow applying the five design rules.
Step-by-step hints:
- Reduce serial approvers: Define amount bands (3 max). Parallel where possible.
- Add timeout: 24h per step. Escalation to backup → manager.
- Reject comment: Make mandatory in workflow config.
- Mobile: Enable mobile approval in workflow settings.
- In-system only: Disable email approval; in-system only.
- Delegation: Configure named backup per role.
Expected redesign:
- 3 bands: <₹50k (Mgr), ₹50k–5L (Dir), >₹5L (CFO+Proc Head dual)
- 24h timeout, escalate to backup → manager
- Reject comment mandatory
- Mobile app enabled
- Email approval disabled; in-system only
- Named backup per role (configured in role maintenance)
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)
| Role | Create Vendor | Create PO | Post GR | Post Invoice | Approve Payment | Create Journal | Approve Journal |
|---|---|---|---|---|---|---|---|
| Procurement Clerk | |||||||
| Warehouse Clerk | |||||||
| AP Clerk | |||||||
| AR Clerk | |||||||
| GL Accountant | |||||||
| Finance Controller | |||||||
| IT Admin |
Rules:
- No single role has Create Vendor + Approve Payment
- No single role has Post Invoice + Approve Payment
- GL Accountant posts journals but does not approve
- IT Admin has no business transaction roles
B. Interface-Control Sheet
| Interface | Direction | Frequency | Owner (ERP) | Owner (External) | Monitoring | Reconciliation | Error Handling |
|---|---|---|---|---|---|---|---|
| ERP → CRM | Outbound | Nightly | |||||
| CRM → ERP (Lead→Cust) | Inbound | Event | |||||
| ERP → Bank | Outbound | Per payment run | |||||
| Bank → ERP | Inbound | Daily | |||||
| ERP → WMS | Outbound | Real-time | |||||
| WMS → ERP | Inbound | Real-time | |||||
| ERP → Tax Portal | Outbound | Monthly |
Acceptance criteria:
- Role matrix: No SoD violations (no single role has conflicting permissions).
- Interface sheet: All 7 interfaces have named owners on both sides, monitoring, reconciliation, error handling.
- No blank cells in either matrix.
Common mistakes
| # | Mistake | Cause | Consequence | Correction | Preventive control |
|---|---|---|---|---|---|
| 1 | 7 serial approvers | "Everyone must see it" | PO takes 2 weeks; rubber-stamping | Parallel where risk allows; raise thresholds | Max 3 serial; parallel for independent checks |
| 2 | Approve in email, type in ERP later | "Convenience" | No audit trail on document | In-system approve only; email = notification | Disable email approve; in-system only |
| 3 | Auto-approve everything "to go live" | "We'll fix later" | Zero control; audit fails | Temporary with expiry date; post-review mandatory | Expiry date mandatory; post-go-live review gate |
| 4 | No timeout / escalation | "They'll get to it" | Documents stall for weeks | Mandatory 24h timeout + escalation chain | Config: timeout mandatory; escalation mandatory |
| 5 | Reject without comment | "Obvious" | Requester repeats mistake; no audit | Comment mandatory on reject | Workflow config: reject comment = mandatory |
| 6 | No mobile access | "Desktop only" | Travelling managers block workflow | Mobile app / responsive UI + push | Mobile enablement = requirement, not option |
| 7 | No interface monitoring | "It usually works" | 47 payments stuck for days | Dashboard + alert on error count > 0 | Alert: error count > 0 within 15 min of run |
| 8 | No SoD check on role assignment | "Trust the team" | Fraud risk (fake vendor → payment) | SoD matrix + system-enforced role conflicts | Role assignment: system blocks conflicting roles |
Assessment: Quick check
- Name two good workflow candidates.
- Why require reject comments?
- What is wrong with email-only approval?
- What is the maximum recommended serial approvers?
- Name the five design rules for approval workflows.
Answers
- e.g. amount-based PO approval, dual control on master data, credit limit breaches.
- Improves learning and audit trail.
- No reliable audit trail / status on the document.
- 3 (max).
- One Accountable Approver, Timeouts+Escalation, Mobile-capable, Comment required on Reject, Visible Status.
Closure
What you can now do:
- Identify when to automate (policy clear) vs. when not to (judgement-heavy, changing).
- Apply five design rules for approval workflows.
- Measure workflow health with three metrics.
- Diagnose and fix anti-patterns (serial approvers, email approval, auto-approve).
- Design a PO approval workflow with thresholds, exceptions, timeout, delegation, audit evidence, and SoD.
- Trace an interface failure from detection through correction and reconciliation.
- Identify a segregation-of-duties violation and design compensating controls.
Essential ideas:
- Automate the rule; escalate the exception. If you cannot write the rule in one sentence, you are not ready to automate.
- Five design rules: One Accountable Approver, Timeouts+Escalation, Mobile, Comment-on-Reject, Visible Status.
- Three metrics: Median time, % Escalated, % Rejected-with-reason.
- Anti-patterns (serial approvers, email approval, auto-approve) have direct fixes.
- Interface failures need detection → triage → root cause → correction → prevention.
- SoD is not optional — it is the foundation of fraud prevention. System-enforced role conflicts.
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.