{
  "title": "Order Fulfillment Workflow",
  "description": "End-to-end order processing workflow from order placement to delivery",
  "type": "business-process",
  "data": {
    "nodes": [
      {
        "id": "actor-customer",
        "type": "actor",
        "position": {
          "x": 12,
          "y": 531
        },
        "data": {
          "name": "Customer",
          "summary": "Person placing and receiving orders",
          "mode": "full",
          "editor": {
            "title": "Actor",
            "subtitle": "Edit the details of the actor",
            "schema": {
              "type": "object",
              "required": ["name"],
              "properties": {
                "name": {
                  "type": "string",
                  "title": "Name",
                  "default": "New Actor",
                  "description": "The name of the actor (person/user)"
                },
                "summary": {
                  "type": "string",
                  "title": "Description",
                  "default": "",
                  "description": "A brief description of the actor"
                }
              }
            }
          }
        },
        "measured": {
          "width": 262,
          "height": 100
        }
      },
      {
        "id": "actor-warehouse-staff",
        "type": "actor",
        "position": {
          "x": 1540,
          "y": 352
        },
        "data": {
          "name": "Warehouse Staff",
          "summary": "Personnel responsible for picking, packing, and shipping",
          "mode": "full",
          "editor": {
            "title": "Actor",
            "subtitle": "Edit the details of the actor",
            "schema": {
              "type": "object",
              "required": ["name"],
              "properties": {
                "name": {
                  "type": "string",
                  "title": "Name",
                  "default": "New Actor",
                  "description": "The name of the actor (person/user)"
                },
                "summary": {
                  "type": "string",
                  "title": "Description",
                  "default": "",
                  "description": "A brief description of the actor"
                }
              }
            }
          }
        },
        "measured": {
          "width": 262,
          "height": 100
        }
      },
      {
        "id": "command-place-order",
        "type": "command",
        "position": {
          "x": 394,
          "y": 532
        },
        "data": {
          "mode": "full",
          "message": {
            "id": "place-order-cmd",
            "name": "Place Order",
            "version": "1.0.0",
            "summary": "Customer submits order with items and delivery details"
          }
        },
        "measured": {
          "width": 262,
          "height": 98
        }
      },
      {
        "id": "event-order-received",
        "type": "event",
        "position": {
          "x": 776,
          "y": 532
        },
        "data": {
          "mode": "full",
          "message": {
            "id": "order-received",
            "name": "Order Received",
            "version": "1.0.0",
            "summary": "Order successfully submitted and validated"
          }
        },
        "measured": {
          "width": 262,
          "height": 98
        }
      },
      {
        "id": "command-allocate-inventory",
        "type": "command",
        "position": {
          "x": 1158,
          "y": 532
        },
        "data": {
          "mode": "full",
          "message": {
            "id": "allocate-inventory-cmd",
            "name": "Allocate Inventory",
            "version": "1.0.0",
            "summary": "Reserve items from warehouse stock for this order"
          }
        },
        "measured": {
          "width": 262,
          "height": 98
        }
      },
      {
        "id": "event-inventory-allocated",
        "type": "event",
        "position": {
          "x": 1540,
          "y": 532
        },
        "data": {
          "mode": "full",
          "message": {
            "id": "inventory-allocated",
            "name": "Inventory Allocated",
            "version": "1.0.0",
            "summary": "Items successfully reserved for order fulfillment"
          }
        },
        "measured": {
          "width": 262,
          "height": 98
        }
      },
      {
        "id": "command-pick-items",
        "type": "command",
        "position": {
          "x": 1922,
          "y": 369.3333333333333
        },
        "data": {
          "mode": "full",
          "message": {
            "id": "pick-items-cmd",
            "name": "Pick Items",
            "version": "1.0.0",
            "summary": "Warehouse staff collect items from storage locations"
          }
        },
        "measured": {
          "width": 262,
          "height": 98
        }
      },
      {
        "id": "event-items-picked",
        "type": "event",
        "position": {
          "x": 2304,
          "y": 369.3333333333333
        },
        "data": {
          "mode": "full",
          "message": {
            "id": "items-picked",
            "name": "Items Picked",
            "version": "1.0.0",
            "summary": "All order items collected from warehouse shelves"
          }
        },
        "measured": {
          "width": 262,
          "height": 98
        }
      },
      {
        "id": "command-pack-order",
        "type": "command",
        "position": {
          "x": 2686,
          "y": 369.3333333333333
        },
        "data": {
          "mode": "full",
          "message": {
            "id": "pack-order-cmd",
            "name": "Pack Order",
            "version": "1.0.0",
            "summary": "Items packaged securely with shipping label"
          }
        },
        "measured": {
          "width": 262,
          "height": 98
        }
      },
      {
        "id": "event-order-packed",
        "type": "event",
        "position": {
          "x": 3068,
          "y": 369.3333333333333
        },
        "data": {
          "mode": "full",
          "message": {
            "id": "order-packed",
            "name": "Order Packed",
            "version": "1.0.0",
            "summary": "Order ready for shipment with all items packaged"
          }
        },
        "measured": {
          "width": 262,
          "height": 98
        }
      },
      {
        "id": "command-ship-order",
        "type": "command",
        "position": {
          "x": 3450,
          "y": 369.3333333333333
        },
        "data": {
          "mode": "full",
          "message": {
            "id": "ship-order-cmd",
            "name": "Ship Order",
            "version": "1.0.0",
            "summary": "Package handed to carrier for delivery"
          }
        },
        "measured": {
          "width": 262,
          "height": 98
        }
      },
      {
        "id": "event-order-shipped",
        "type": "event",
        "position": {
          "x": 3832,
          "y": 369.3333333333333
        },
        "data": {
          "mode": "full",
          "message": {
            "id": "order-shipped",
            "name": "Order Shipped",
            "version": "1.0.0",
            "summary": "Package in transit with tracking information available"
          }
        },
        "measured": {
          "width": 262,
          "height": 98
        }
      },
      {
        "id": "event-order-delivered",
        "type": "event",
        "position": {
          "x": 4596,
          "y": 369.3333333333333
        },
        "data": {
          "mode": "full",
          "message": {
            "id": "order-delivered",
            "name": "Order Delivered",
            "version": "1.0.0",
            "summary": "Package successfully delivered to customer"
          }
        },
        "measured": {
          "width": 262,
          "height": 98
        }
      },
      {
        "id": "external-shipping-carrier",
        "type": "external-system",
        "position": {
          "x": 4214,
          "y": 352
        },
        "data": {
          "mode": "full",
          "externalSystem": {
            "id": "ups-shipping",
            "name": "UPS Shipping Service",
            "version": "2023.1",
            "summary": "Package delivery and tracking service"
          }
        },
        "measured": {
          "width": 262,
          "height": 100
        }
      },
      {
        "id": "external-inventory-system",
        "type": "external-system",
        "position": {
          "x": 1922,
          "y": 547.3333333333334
        },
        "data": {
          "mode": "full",
          "externalSystem": {
            "id": "warehouse-management",
            "name": "Warehouse Management System",
            "version": "2023.1",
            "summary": "Inventory tracking and warehouse operations"
          }
        },
        "measured": {
          "width": 262,
          "height": 100
        }
      },
      {
        "id": "note-fulfillment-guide",
        "type": "note",
        "position": {
          "x": 12,
          "y": 12
        },
        "data": {
          "text": "📦 **Order Fulfillment Workflow**\\n\\nComplete order processing from placement to customer delivery:\\n\\n**🛒 Place Order** → **📋 Allocate** → **🏃 Pick** → **📦 Pack** → **🚚 Ship** → **✅ Deliver**\\n\\n**Key Stages:**\\n1. **Order Reception** - Customer order validated and accepted\\n2. **Inventory Allocation** - Items reserved from available stock\\n3. **Picking Process** - Warehouse staff locate and collect items\\n4. **Packing Process** - Items securely packaged for shipment\\n5. **Shipping Process** - Package sent via carrier for delivery\\n6. **Delivery Confirmation** - Customer receives order successfully\\n\\n**Performance Metrics:**\\n• **Order Cycle Time** - Hours from order to shipment\\n• **Pick Accuracy** - % of orders picked correctly\\n• **Fulfillment Rate** - % of orders completed successfully\\n• **Delivery Performance** - On-time delivery percentage\\n\\n**💡 Optimization Areas:**\\n• Automate inventory allocation\\n• Optimize picking routes\\n• Implement quality checks\\n• Real-time tracking updates",
          "color": "orange"
        },
        "measured": {
          "width": 400,
          "height": 320
        },
        "width": 400,
        "height": 320
      }
    ],
    "edges": [
      {
        "source": "actor-customer",
        "target": "command-place-order",
        "label": "Initiates",
        "markerEnd": {
          "type": "arrowclosed",
          "color": "#000000"
        },
        "animated": false,
        "type": "default",
        "id": "xy-edge__actor-customer-command-place-order"
      },
      {
        "source": "command-place-order",
        "target": "event-order-received",
        "label": "Results in",
        "markerEnd": {
          "type": "arrowclosed",
          "color": "#000000"
        },
        "animated": true,
        "type": "animatedMessage",
        "id": "xy-edge__command-place-order-event-order-received"
      },
      {
        "source": "event-order-received",
        "target": "command-allocate-inventory",
        "label": "Triggers",
        "markerEnd": {
          "type": "arrowclosed",
          "color": "#000000"
        },
        "animated": false,
        "type": "default",
        "id": "xy-edge__event-order-received-command-allocate-inventory"
      },
      {
        "source": "command-allocate-inventory",
        "target": "event-inventory-allocated",
        "label": "Results in",
        "markerEnd": {
          "type": "arrowclosed",
          "color": "#000000"
        },
        "animated": true,
        "type": "animatedMessage",
        "id": "xy-edge__command-allocate-inventory-event-inventory-allocated"
      },
      {
        "source": "event-inventory-allocated",
        "target": "command-pick-items",
        "label": "Triggers",
        "markerEnd": {
          "type": "arrowclosed",
          "color": "#000000"
        },
        "animated": false,
        "type": "default",
        "id": "xy-edge__event-inventory-allocated-command-pick-items"
      },
      {
        "source": "actor-warehouse-staff",
        "target": "command-pick-items",
        "label": "Executes",
        "markerEnd": {
          "type": "arrowclosed",
          "color": "#000000"
        },
        "animated": false,
        "type": "default",
        "id": "xy-edge__actor-warehouse-staff-command-pick-items"
      },
      {
        "source": "command-pick-items",
        "target": "event-items-picked",
        "label": "Results in",
        "markerEnd": {
          "type": "arrowclosed",
          "color": "#000000"
        },
        "animated": true,
        "type": "animatedMessage",
        "id": "xy-edge__command-pick-items-event-items-picked"
      },
      {
        "source": "event-items-picked",
        "target": "command-pack-order",
        "label": "Triggers",
        "markerEnd": {
          "type": "arrowclosed",
          "color": "#000000"
        },
        "animated": false,
        "type": "default",
        "id": "xy-edge__event-items-picked-command-pack-order"
      },
      {
        "source": "command-pack-order",
        "target": "event-order-packed",
        "label": "Results in",
        "markerEnd": {
          "type": "arrowclosed",
          "color": "#000000"
        },
        "animated": true,
        "type": "animatedMessage",
        "id": "xy-edge__command-pack-order-event-order-packed"
      },
      {
        "source": "event-order-packed",
        "target": "command-ship-order",
        "label": "Triggers",
        "markerEnd": {
          "type": "arrowclosed",
          "color": "#000000"
        },
        "animated": false,
        "type": "default",
        "id": "xy-edge__event-order-packed-command-ship-order"
      },
      {
        "source": "command-ship-order",
        "target": "event-order-shipped",
        "label": "Results in",
        "markerEnd": {
          "type": "arrowclosed",
          "color": "#000000"
        },
        "animated": true,
        "type": "animatedMessage",
        "id": "xy-edge__command-ship-order-event-order-shipped"
      },
      {
        "source": "event-order-shipped",
        "target": "event-order-delivered",
        "label": "Leads to",
        "markerEnd": {
          "type": "arrowclosed",
          "color": "#000000"
        },
        "animated": true,
        "type": "animatedMessage",
        "id": "xy-edge__event-order-shipped-event-order-delivered"
      },
      {
        "source": "event-inventory-allocated",
        "target": "external-inventory-system",
        "label": "Via",
        "markerEnd": {
          "type": "arrowclosed",
          "color": "#000000"
        },
        "animated": false,
        "type": "default",
        "id": "xy-edge__event-inventory-allocated-external-inventory-system"
      },
      {
        "source": "event-order-shipped",
        "target": "external-shipping-carrier",
        "label": "Via",
        "markerEnd": {
          "type": "arrowclosed",
          "color": "#000000"
        },
        "animated": false,
        "type": "default",
        "id": "xy-edge__event-order-shipped-external-shipping-carrier"
      },
      {
        "source": "external-shipping-carrier",
        "target": "event-order-delivered",
        "label": "Delivers",
        "markerEnd": {
          "type": "arrowclosed",
          "color": "#000000"
        },
        "animated": false,
        "type": "default",
        "id": "xy-edge__external-shipping-carrier-event-order-delivered"
      }
    ],
    "viewport": {
      "x": 102,
      "y": 50,
      "zoom": 0.6
    },
    "creationDate": "2025-08-11T15:35:36.723Z",
    "name": "Order Fulfillment Workflow",
    "version": "1.0",
    "source": "https://app.eventcatalog.dev",
    "appState": {},
    "id": "order-fulfillment-workflow"
  },
  "usecase": "Order Processing Optimization",
  "mermaid": "flowchart TD\n    A[🛒 Place Order] --> B[📋 Allocate Inventory]\n    B --> C[🏃 Pick Items]\n    C --> D[📦 Pack Order]\n    D --> E[🚚 Ship Order]\n    E --> F[✅ Delivered]",
  "tags": ["Business Process"]
}