process mapping
4
总安装量
0
周安装量
#50901
全站排名
安装命令
npx skills add https://github.com/danhvb/my-ba-skills --skill 'Process Mapping'
Skill 文档
Process Mapping Skill
Purpose
Create clear, professional business process diagrams that visualize workflows, identify inefficiencies, and communicate processes to stakeholders and development teams.
When to Use
- Documenting current state (As-Is) processes
- Designing future state (To-Be) processes
- Identifying process gaps and inefficiencies
- Communicating workflows to stakeholders
- System design and integration planning
Process Mapping Types
1. Flowcharts
Best for: Simple, linear processes Symbols:
- ⬠Oval: Start/End
- â Rectangle: Process/Activity
- â Diamond: Decision
- â± Parallelogram: Input/Output
- â Arrow: Flow direction
Example – Order Processing:
Start â Receive Order â Validate Order â [Valid?]
âââ Yes â Process Payment â [Paid?]
â âââ Yes â Ship Order â End
â âââ No â Notify Customer â End
âââ No â Reject Order â End
2. BPMN 2.0 (Business Process Model and Notation)
Best for: Complex processes with multiple participants Key Elements:
- Events: Start (â), Intermediate (â), End (â)
- Activities: Tasks (â), Sub-processes (â+)
- Gateways: Exclusive (âÃ), Parallel (â+), Inclusive (ââ)
- Swimlanes: Pools and lanes for different actors
Example – Invoice Approval BPMN:
Pool: Invoice Approval Process
âââ Lane: Requester
â âââ Start Event
â âââ Task: Submit Invoice
â âââ Task: Revise Invoice (if rejected)
âââ Lane: Manager
â âââ Task: Review Invoice
â âââ Gateway: Approve? (Yes/No)
âââ Lane: Finance
â âââ Task: Process Payment
â âââ End Event: Invoice Paid
3. Swimlane Diagrams
Best for: Cross-functional processes showing responsibilities Structure: Horizontal or vertical lanes for each role/department
Example – Customer Support:
| Customer | Support Agent | Technical Team | Manager |
|-----------------|------------------|------------------|-----------------|
| Submit Ticket | | | |
| â | | | |
| | Receive & Triage | | |
| | â | | |
| | [Can Resolve?] | | |
| | Yes: Resolve | | |
| | No: âââââââââââââ| Investigate | |
| | | â | |
| | | [Need Escalation?] |
| | | No: Fix & Return | |
| | | Yes: ââââââââââââ| Approve Fix |
| | Update Customer |ââââââââââââââââââ| |
| Receive Update |ââââââââââââââââââ| | |
4. Value Stream Mapping
Best for: Lean process improvement, identifying waste Elements: Process steps, wait times, value-add vs. non-value-add
Process Levels
L0: Context Diagram
- High-level view of the entire system
- Shows external entities and interactions
- One page, executive summary level
L1: Process Area View
- Major process areas/modules
- Shows key inputs/outputs between areas
- 5-10 major processes
L2: Detailed Process Flow
- Step-by-step activities within a process
- Includes decisions and branches
- Shows roles responsible
L3: Procedural Steps
- Detailed procedures/work instructions
- Screen-by-screen guidance
- Used for training/SOPs
Mermaid Diagrams (Code-based)
Flowchart Example
flowchart TD
A[Start: Customer Order] --> B{Inventory Available?}
B -->|Yes| C[Reserve Inventory]
B -->|No| D[Backorder]
C --> E[Process Payment]
E --> F{Payment Successful?}
F -->|Yes| G[Create Shipment]
F -->|No| H[Notify Customer]
G --> I[Ship Order]
I --> J[End: Order Delivered]
D --> K[Notify Customer of Delay]
H --> L[End: Order Cancelled]
Sequence Diagram Example
sequenceDiagram
participant Customer
participant WebApp
participant PaymentAPI
participant OrderService
Customer->>WebApp: Submit Order
WebApp->>OrderService: Create Order
OrderService-->>WebApp: Order ID
WebApp->>PaymentAPI: Process Payment
PaymentAPI-->>WebApp: Payment Confirmed
WebApp->>OrderService: Confirm Order
OrderService-->>WebApp: Order Confirmed
WebApp-->>Customer: Order Confirmation
State Diagram Example (Order Status)
stateDiagram-v2
[*] --> Pending: Order Created
Pending --> Processing: Payment Confirmed
Pending --> Cancelled: Payment Failed
Processing --> Shipped: Shipment Created
Processing --> Cancelled: Customer Request
Shipped --> Delivered: Delivery Confirmed
Delivered --> Returned: Return Requested
Returned --> Refunded: Refund Processed
Delivered --> [*]
Refunded --> [*]
Cancelled --> [*]
Domain-Specific Process Examples
E-commerce: Checkout Flow
Start â View Cart â Enter Shipping â Select Shipping Method â
Enter Payment â Review Order â Place Order â
[Payment OK?] â Yes: Confirmation â End
â No: Payment Error â Retry/Cancel
ERP: Purchase-to-Pay (P2P)
Requisition â Approval Workflow â Purchase Order â
Goods Receipt â Invoice Receipt â 3-Way Match â
[Match OK?] â Yes: Payment â End
â No: Exception Handling
CRM: Lead-to-Close
Lead Capture â Lead Scoring â [Qualified?] â
Yes: Create Opportunity â Discovery â Proposal â
Negotiation â [Won?] â Yes: Close â Account Created
â No: Lost Analysis
CDP: Data Activation Flow
Data Collection â Identity Resolution â Profile Unification â
Segmentation â Audience Building â Channel Activation â
Campaign Execution â Response Tracking â Analytics
Best Practices
Design Principles
â Do:
- Keep it simple and readable
- Use consistent notation throughout
- Include clear start and end points
- Show decision points clearly
- Document exceptions and error paths
- Use swimlanes for multi-role processes
- Add annotations for complex steps
- Version control diagrams
â Don’t:
- Overcomplicate with too many details
- Mix notation styles
- Forget exception/error flows
- Skip validation with stakeholders
- Create without understanding the process first
Validation
- Walk through with process owners
- Verify with actual users
- Test with real scenarios
- Document assumptions
- Get stakeholder sign-off
Tools
Figma
- Design custom process diagrams
- Use component libraries for BPMN symbols
- Share for collaboration
Mermaid (Code-based)
- Embed in markdown documentation
- Version control friendly
- Quick diagrams in Lark/Notion
Lucidchart/Miro
- Professional BPMN diagrams
- Real-time collaboration
- Template libraries
Process Analysis Tips
- Identify bottlenecks: Where do things slow down?
- Find redundancies: What’s duplicated?
- Spot handoff issues: Where do things fall between cracks?
- Question value: Does this step add value?
- Consider automation: What can be automated?
Next Steps
After process mapping:
- Gap analysis (see
gap-analysisskill) - Process optimization recommendations
- Requirements for system changes
- UAT scenarios based on process flows
References
- BPMN 2.0 Specification (OMG)
- Value Stream Mapping (Lean)
- Business Process Mapping best practices